Authentication
Method
POST
Link
{{host}}/Login
{
"secret": "",
"language": "v",
"username": "",
"password": ""
}Parameter description
Name
(*)
Datatype
Descripsion
secret
string
The secret key string provided by Arito for connecting to the application
language
string
The language used in API function headers (v or e)
username
string
The login account for AritoID
password
string
The MD5 hash of the password used for logging into AritoID
{
"code": 200,
"msg": "Success",
"access_token": "eyJhbGciOiJIUz....",
"expires_in": 60000,
"token_type": "Bearer",
"data": null
}Describe the results
Name
Descripsion
code
When the login is successful, the status code is 200. For other codes, such as 401, 501, 502, it indicates a failed login, accompanied by a descriptive message explaining the result
msg
Description of login results
access_token
Token for use in other APIs
token_type
Token type for use in other APIs
Last updated