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.
/projects/{project_id}/terms-of-service/acceptancesServes 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.
JWT issued by IdentityX, signed with Ed25519
In: header
Path Parameters
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"
}Update a project's terms of service (bumps the version) PUT
Replaces the content and bumps the version; the effective date is reset to 30 days out. Every human user of the project is emailed the LGPD art. 9 §6 change notice for the new version. Updating a project without terms is a 404 — use `POST` to introduce them. The authenticated actor must be an admin or owner of the project.
Record the caller's acceptance of the current terms POST
Records the authenticated actor's explicit agreement to the project's current terms version — the clickwrap path for existing users re-affirming after an update. Accepting a version already accepted is idempotent. The caller must be an actor of the project. Returns 404 when the project has no terms.