Authentication
Using the API needs and authentication with an API token.
There are two ways to transmit an token:
Request headerApi-Token
is required
GET parameterapiToken
is required
Tokens are stored in the database table
rest_users
.Column | Value |
name | User name / Token info optional |
api-token | Token required |
api-rights | rw/r required |
While installation user with token
t6PEqwkBpbdsf93osDSF913Bmcsd78pYWLtEgvs
is created.It´s possible to set read/write (default) and only read permissions.
Status | Permission |
rw | GET, PUT, POST, DELETE |
r | GET |
Before production remove test user from
rest_users
table.Last modified 4yr ago