Skip to main content
Skip table of contents

Basic configurations. VMS Client API

The first request to be made when starting the application is to get the basic settings

GET/api/v1/static/basic
Headers
Authorization
Bearer token
Accept
application/json
X-Client
ios-cctv|android-cctv|thick-legal|web
X-UUID
unique device id
Response
200
Settings
JSON
{
    "branch": "master",
    "available_locales": [
        "ru",
        "en"
    ],
    "is_download_available": true,
    "is_captcha_available": true,
    "is_external_auth_enabled": false
}
401
Authorization token not provided or invalid, see Obtaining a token
Example
JSON
curl -k --location --request GET 'https://vms.local/api/v1/static/basic' \
--header 'Authorization:Bearer token' \
--header 'Accept:application/json' \
--header 'X-Client:ios-cctv|android-cctv|thick-legal|web' \
--header 'X-UUID:unique device id'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.