TrieOH
IdentityXAPIProjects

List a project's terms acceptances

Serves the consent ledger to project admins: who agreed to which version, when, with the content hash that pins the exact document (the proof artifact LGPD art. 8 §2 demands). The authenticated actor must be an admin or owner of the project.

GET/projects/{project_id}/terms-of-service/acceptances

Serves the consent ledger to project admins: who agreed to which version, when, with the content hash that pins the exact document (the proof artifact LGPD art. 8 §2 demands). The authenticated actor must be an admin or owner of the project.

Authorization

AuthorizationBearer <token>

JWT issued by IdentityX, signed with Ed25519

In: header

Path Parameters

project_id*string

Project ID.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/terms-of-service/acceptances"
{
  "items": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "actor_id": "04f37679-bfbf-4906-b749-01756515cecf",
      "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
      "tos_version": 0,
      "content_hash": "string",
      "source": "clickwrap",
      "accepted_at": "2019-08-24T14:15:22Z",
      "actor_email": "string"
    }
  ]
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 401,
  "title": "Unauthenticated"
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 403,
  "title": "Insufficient Role"
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 404,
  "title": "Not Found"
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 500,
  "title": "Internal Server Error"
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 503,
  "title": "Identity Unavailable"
}