STATUS: Returns actual version information and all permissions granted for API
This operation requires authorization in contrast with VERSION operation.
Response
Successful response
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
accessTokenwas removed from the APIapi-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
accessTokenwas added to the APIapi-security-added
- ○
the endpoint scheme security
jwtokenwas added to the APIapi-security-added
- ○
the endpoint scheme security
apiKeyAuthwas removed from the APIapi-security-removed
- ○
removed
Versionsubschema #2from the response bodyallOflist for the response status200response-body-all-of-removed
- ○
added the media type
application/jsonfor the response with the status401response-media-type-added
- ○
added the media type
application/jsonfor the response with the status403response-media-type-added
- ○
added the optional property
resultto the response with the200statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the200statusresponse-optional-property-added
- ○
- ▲
removed the media type
application/jsonfor the response with the status401response-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the status403response-media-type-removed
- ●
removed the optional property
resultfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
statusfrom the response with the200statusresponse-optional-property-removed
- ○
the endpoint scheme security
apiKeyAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
jwtokenwas removed from the APIapi-security-removed
- ○
added
Versionsubschema #2to the response bodyallOflist for the response status200response-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
- ▲