FruxonDocs
UsersCore

Get what the current user must accept, and whether they have.

Called on sign-in. `accepted: false` is the signal to show the acceptance prompt; nothing else needs to be interpreted. An environment with no published document set configured reports `accepted: true` with no documents, so a missing configuration cannot lock anyone out.

GET
/v1/users/me/terms
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Response Body

curl -X GET "https://api.fruxon.com/v1/users/me/terms"
{
  "version": "string",
  "accepted": false,
  "documents": [
    {
      "name": "string",
      "title": "string",
      "url": "string"
    }
  ]
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty