Integrity
Create server integrity token
Create an integrity token for a user on behalf of a server. Requires challenge authentication.
Authorization<token>
Integrity token authentication (format "Integrity ")
In: header
user_idinteger
The user ID to create integrity for
Response Body
application/json
application/json
application/json
curl -X POST "https://nox.hactazia.fr/api/integrity/make" \ -H "Content-Type: application/json" \ -d '{ "user_id": 0 }'{
"token": "string",
"expires": 0,
"created_at": 0
}{
"error": {
"message": "You are not logged in.",
"code": 7,
"status": 401
},
"data": null
}{
"error": {
"message": "Server not found.",
"code": 11,
"status": 404
}
}