mATRIC API (1.0.0)

mATRIC API for managing users, agents, and third-party apps.

Download OpenAPI description
Overview
License MIT
Languages
Servers
Mock server
https://matric-docs.redocly.app/_mock/openapi/
https://matric-docs.redocly.app/

token

Operations

Login

Request

Query
login_typeany(Login Type)required

Login type: user, agent or third_party_app

Bodyapplication/x-www-form-urlencodedrequired
grant_typeGrant Type (string) or Grant Type (any)(Grant Type)
Any of:
string(Grant Type)password
usernameany(Username)required
passwordany(Password)required
scopeany(Scope)
Default ""
client_idClient Id (any) or Client Id (any)(Client Id)
Any of:
any(Client Id)
client_secretClient Secret (any) or Client Secret (any)(Client Secret)
Any of:
any(Client Secret)
curl -i -X POST \
  https://matric-docs.redocly.app/_mock/openapi/token \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d grant_type=string \
  -d username=null \
  -d password=null \
  -d scope=

Responses

Successful Response

Bodyapplication/json
access_tokenany(Access Token)required
token_typeany(Token Type)required
expires_inany(Expires In)required
Response
application/json
{ "access_token": null, "token_type": null, "expires_in": null }

users

Operations

agents

Operations

third_party_apps

Operations

agent_update

Operations

agent_details

Operations

agent_data

Operations

send_command

Operations

agent_data_callback

Operations

agent_details_callback

Operations