Applications
Retrieve a specific Application by ID
Unique identifier of the resource
1
GET /api/v1/applications/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"name": "Test Application",
"application_type": "sales-channel",
"config": {
"web_url": "https://application-test.akinon.net/",
"visible_type": "empty",
"client_path": "test/path"
},
"is_active": true,
"remote_object_id": 1234,
"created_by": 5,
"is_visible": false,
"is_proxy_available": true,
"related_application_id": "app-4567",
"created_date": "2024-01-01T12:00:00Z",
"modified_date": "2024-01-02T12:00:00Z"
}
Update a specific Application by ID
Unique identifier of the resource
1
1
Test Application
Enum value for the type of application
sales-channel
Possible values: true
Example: true
1234
ID of the user who created the application
5
Default value is False
. is_visible
determines if the application should be visible on the user interface (Omnitron FE). The application will be visible if this flag is set to True
.
false
Example: false
Specifies whether requests to the api/v1/app_proxy/
endpoint should be forwarded to the related application via proxy. Default value is False
. If set to False
, no proxy forwarding is done, and users receive an HTTP 404. If is_proxy_available=True
, requests are forwarded to the application's web_url
in the config.
false
Example: true
The related_application_id
field stores the associated extension ID from ACC for the Omnitron application. It can be filtered using the related_application_id__iexact
parameter, and it accepts up to 255 characters.
app-4567
The date and time when the application was created
2024-01-01T12:00:00Z
The date and time when the application was last modified
2024-01-02T12:00:00Z
PUT /api/v1/applications/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 392
{
"id": 1,
"name": "Test Application",
"application_type": "sales-channel",
"config": {
"web_url": "https://application-test.akinon.net/",
"visible_type": "empty",
"client_path": "test/path"
},
"is_active": true,
"remote_object_id": 1234,
"created_by": 5,
"is_visible": false,
"is_proxy_available": true,
"related_application_id": "app-4567",
"created_date": "2024-01-01T12:00:00Z",
"modified_date": "2024-01-02T12:00:00Z"
}
No content
Soft delete a specific Application by setting is_active=False instead of removing the record.
Unique identifier of the resource
1
DELETE /api/v1/applications/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Partial update a specific Application by ID
Unique identifier of the resource
1
1
Test Application
Enum value for the type of application
sales-channel
Possible values: true
Example: true
1234
ID of the user who created the application
5
Default value is False
. is_visible
determines if the application should be visible on the user interface (Omnitron FE). The application will be visible if this flag is set to True
.
false
Example: false
Specifies whether requests to the api/v1/app_proxy/
endpoint should be forwarded to the related application via proxy. Default value is False
. If set to False
, no proxy forwarding is done, and users receive an HTTP 404. If is_proxy_available=True
, requests are forwarded to the application's web_url
in the config.
false
Example: true
The related_application_id
field stores the associated extension ID from ACC for the Omnitron application. It can be filtered using the related_application_id__iexact
parameter, and it accepts up to 255 characters.
app-4567
The date and time when the application was created
2024-01-01T12:00:00Z
The date and time when the application was last modified
2024-01-02T12:00:00Z
PATCH /api/v1/applications/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 392
{
"id": 1,
"name": "Test Application",
"application_type": "sales-channel",
"config": {
"web_url": "https://application-test.akinon.net/",
"visible_type": "empty",
"client_path": "test/path"
},
"is_active": true,
"remote_object_id": 1234,
"created_by": 5,
"is_visible": false,
"is_proxy_available": true,
"related_application_id": "app-4567",
"created_date": "2024-01-01T12:00:00Z",
"modified_date": "2024-01-02T12:00:00Z"
}
No content
List all Applications
Specifies the page number of the current dataset
1
Indicates the number of rows on the current page.
10
Filters by name
Filter by application type
commerce
Possible values: Filter by active status (True or False)
Filter by name containing the given string
Filter by name case-insensitive containing the given string
Filter by related application ID (case-insensitive exact match)
GET /api/v1/applications/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": 1,
"name": "Test Application",
"application_type": "sales-channel",
"config": {
"web_url": "https://application-test.akinon.net/",
"visible_type": "empty",
"client_path": "test/path"
},
"is_active": true,
"remote_object_id": 1234,
"created_by": 5,
"is_visible": false,
"is_proxy_available": true,
"related_application_id": "app-4567",
"created_date": "2024-01-01T12:00:00Z",
"modified_date": "2024-01-02T12:00:00Z"
}
]
Creates a new Application object.
1
Test Application
Enum value for the type of application
sales-channel
Possible values: true
Example: true
1234
ID of the user who created the application
5
Default value is False
. is_visible
determines if the application should be visible on the user interface (Omnitron FE). The application will be visible if this flag is set to True
.
false
Example: false
Specifies whether requests to the api/v1/app_proxy/
endpoint should be forwarded to the related application via proxy. Default value is False
. If set to False
, no proxy forwarding is done, and users receive an HTTP 404. If is_proxy_available=True
, requests are forwarded to the application's web_url
in the config.
false
Example: true
The related_application_id
field stores the associated extension ID from ACC for the Omnitron application. It can be filtered using the related_application_id__iexact
parameter, and it accepts up to 255 characters.
app-4567
The date and time when the application was created
2024-01-01T12:00:00Z
The date and time when the application was last modified
2024-01-02T12:00:00Z
POST /api/v1/applications/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 392
{
"id": 1,
"name": "Test Application",
"application_type": "sales-channel",
"config": {
"web_url": "https://application-test.akinon.net/",
"visible_type": "empty",
"client_path": "test/path"
},
"is_active": true,
"remote_object_id": 1234,
"created_by": 5,
"is_visible": false,
"is_proxy_available": true,
"related_application_id": "app-4567",
"created_date": "2024-01-01T12:00:00Z",
"modified_date": "2024-01-02T12:00:00Z"
}
{
"id": 1,
"name": "Test Application",
"application_type": "sales-channel",
"config": {
"web_url": "https://application-test.akinon.net/",
"visible_type": "empty",
"client_path": "test/path"
},
"is_active": true,
"remote_object_id": 1234,
"created_by": 5,
"is_visible": false,
"is_proxy_available": true,
"related_application_id": "app-4567",
"created_date": "2024-01-01T12:00:00Z",
"modified_date": "2024-01-02T12:00:00Z"
}
Was this helpful?