-
Method:
POST
-
URL Params
Required:
login=[string]
-
Data Params
-
Success Response:
- Code: 200
Token:{token}
- Code: 200
-
Error Response:
- Code: 401 UNAUTHORIZED
Content:{ error : "Bad login" }
- Code: 401 UNAUTHORIZED
-
Method:
GET
-
URL Params
-
Data Params
Required:
token=[string]
-
Success Response:
- Code: 200
Token:[{log1],[log2],[log3]]
- Code: 200
-
Error Response:
- Code: 401 UNAUTHORIZED
Content:"Bad token"
- Code: 401 UNAUTHORIZED
-
Method:
GET
-
URL Params
-
Data Params
Required:
token=[string]
-
Success Response:
- Code: 200
Log:{log}
- Code: 200
-
Error Response:
- Code: 401 UNAUTHORIZED
Content:"Bad token"
- Code: 401 UNAUTHORIZED
-
Method:
POST
-
URL Params
-
Data Params
Required:
token=[string]
log_id=[string]
service_and_receiver=[string]
-
Success Response:
- Code: 200, 400
- Code: 200, 400
-
Error Response:
- Code: 401 UNAUTHORIZED
Content:"Bad token|Bad log ID"
- Code: 401 UNAUTHORIZED
-
Method:
GET
-
URL Params
-
Data Params
Required:
token=[string]
-
Success Response:
- Code: 200
Log_id:{log_id}
Log:{log}
- Code: 200
-
Error Response:
- Code: 401 UNAUTHORIZED
Content:"Bad token|Bad log ID"
- Code: 401 UNAUTHORIZED
-
Method:
POST
-
URL Params
-
Data Params
Required:
token=[string]
log_id=[int]
service_name=[string]
-
Success Response:
- Code: 201
GOOD
- Code: 201
-
Error Response:
-
Code: 401 UNAUTHORIZED
Content:"Bad token|Bad log ID"
-
Code: 401 UNAUTHORIZED
Content:"TRY AGAIN|BAD"
-