Method
POST
Link
{{host}}/Login
{ "secret": "", "language": "v", "username": "", "password": "" }
secret
string
The secret key string provided by Arito for connecting to the application
language
The language used in API function headers (v or e)
username
The login account for AritoID
password
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 }
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 2 years ago