other

STATUS: Returns actual version information and all permissions granted for API

This operation requires authorization in contrast with VERSION operation.

get/status

Response

Successful response

statusinteger

HTTP response status code. The status appears also in response body's field for those clients that are unable to process standard HTTP status code.

Example response

{
  "status": 200,
  "result": {
    "version": "0.10.2-release-20171201",
    "apiVersion": "3.0.0",
    "srvDate": 1532936118000,
    "storage": {
      "type": "mongodb",
      "version": "4.0.6"
    },
    "apiPermissions": {
      "devicestatus": "crud",
      "entries": "r",
      "food": "crud",
      "profile": "r",
      "treatments": "crud"
    }
  }
}

Changes

Changed in 3 of the 6 revisions of this API.2212

    • the endpoint scheme security accessToken was removed from the API

      api-security-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security accessToken was added to the API

      api-security-added

    • the endpoint scheme security jwtoken was added to the API

      api-security-added

    • the endpoint scheme security apiKeyAuth was removed from the API

      api-security-removed

    • removed Version subschema #2 from the response body allOf list for the response status 200

      response-body-all-of-removed

    • added the media type application/json for the response with the status 401

      response-media-type-added

    • added the media type application/json for the response with the status 403

      response-media-type-added

    • added the optional property result to the response with the 200 status

      response-optional-property-added

    • added the optional property status to the response with the 200 status

      response-optional-property-added

  • e3a793475629223See the full diff
    • removed the media type application/json for the response with the status 401

      response-media-type-removed

    • removed the media type application/json for the response with the status 403

      response-media-type-removed

    • removed the optional property result from the response with the 200 status

      response-optional-property-removed

    • removed the optional property status from the response with the 200 status

      response-optional-property-removed

    • the endpoint scheme security apiKeyAuth was added to the API

      api-security-added

    • the endpoint scheme security jwtoken was removed from the API

      api-security-removed

    • added Version subschema #2 to the response body allOf list for the response status 200

      response-body-all-of-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog