API - Administrator

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful Operation

application/json
ResponseanyExample: {"statusCode":200,"data":{"appVersions":[{"device":"ANDROID","version":"1"}]}}
get
/admin/device-app-versions
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
devicestring Β· enumRequiredExample: IOSPossible values:
versionstring Β· 0.0.0RequiredExample: 1.0.0
iconTypestring Β· enumRequiredExample: IMAGEPossible values:
iconstringRequiredExample: myUrlIcon
titlestringRequiredExample: Title 1
messagestringRequiredExample: loremp ipsum
actionLinkstringRequiredExample: myActionLink
isMinimumVersionbooleanRequiredExample: true
Responses
post
/admin/device-app-versions
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful Operation

application/json
ResponseanyExample: {"statusCode":200,"data":{"appVersions":[{"id":"7d484e87-d3ce-4139-ba5d-32c5225f0cc5","device":"ANDROID","version":"1.0.0","createdAt":"2022-12-08 16:13:59.499068"}]}}
get
/admin/device-app-versions/history
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
devicestring Β· enumRequiredPossible values:
Responses
200

Successful Operation

application/json
get
/admin/device-app-versions/{device}
delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

Successful Operation

application/json
ResponseanyExample: {"statusCode":200}
delete
/admin/device-app-versions/{id}
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
devicestring Β· enumOptionalExample: IOSPossible values:
versionstring Β· 0.0.0OptionalExample: 1.0.0
iconstringOptionalExample: myUrlIcon
iconTypestring Β· enumOptionalExample: IMAGEPossible values:
titlestringOptionalExample: Title 1
messagestringOptionalExample: loremp ipsum
actionLinkstringOptionalExample: myActionLink
isMinimumVersionbooleanOptionalExample: true
Responses
200

Successful Operation

application/json
ResponseanyExample: {"statusCode":200}
patch
/admin/device-app-versions/{id}

Last updated

Was this helpful?