API - Administrator
Successful Operation
{"statusCode":200,"data":{"appVersions":[{"device":"ANDROID","version":"1"}]}}Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while processing the information
GET /admin/device-app-versions HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"statusCode": 200,
"data": {
"appVersions": [
{
"device": "ANDROID",
"version": "1"
}
]
}
}IOSPossible values: 1.0.0IMAGEPossible values: myUrlIconTitle 1loremp ipsummyActionLinktrueSuccessful Operation
The information doesn't meet the validations expected.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while processing the information
POST /admin/device-app-versions HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 167
{
"device": "IOS",
"version": "1.0.0",
"iconType": "IMAGE",
"icon": "myUrlIcon",
"title": "Title 1",
"message": "loremp ipsum",
"actionLink": "myActionLink",
"isMinimumVersion": true
}{
"statusCode": 201
}Successful Operation
{"statusCode":200,"data":{"appVersions":[{"id":"7d484e87-d3ce-4139-ba5d-32c5225f0cc5","device":"ANDROID","version":"1.0.0","createdAt":"2022-12-08 16:13:59.499068"}]}}Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while processing the information
GET /admin/device-app-versions/history HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"statusCode": 200,
"data": {
"appVersions": [
{
"id": "7d484e87-d3ce-4139-ba5d-32c5225f0cc5",
"device": "ANDROID",
"version": "1.0.0",
"createdAt": "2022-12-08 16:13:59.499068"
}
]
}
}Successful Operation
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
The information doesn't meet the validations expected.
An error occurred while processing the information
GET /admin/device-app-versions/{device} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"statusCode": 200,
"data": {
"id": "7d484e87-d3ce-4139-ba5d-32c5225f0cc5",
"device": "ANDROID",
"version": "1.0.0",
"actionLink": "myActionLinkUrl",
"iconType": "IMAGE",
"icon": "myIconUrl",
"title": "Title 1",
"AppMessage": "loremp ipsum",
"createdAt": "2022-12-08 16:13:59.499068"
}
}Successful Operation
{"statusCode":200}The information doesn't meet the validations expected.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while processing the information
DELETE /admin/device-app-versions/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"statusCode": 200
}IOSPossible values: 1.0.0myUrlIconIMAGEPossible values: Title 1loremp ipsummyActionLinktrueSuccessful Operation
{"statusCode":200}The information doesn't meet the validations expected.
Failed because the authentication token is not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
An error occurred while processing the information
PATCH /admin/device-app-versions/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 167
{
"device": "IOS",
"version": "1.0.0",
"icon": "myUrlIcon",
"iconType": "IMAGE",
"title": "Title 1",
"message": "loremp ipsum",
"actionLink": "myActionLink",
"isMinimumVersion": true
}{
"statusCode": 200
}Last updated
Was this helpful?