TrieOH
UniventsAPISignatures

Create a signature

Registers a signature (signatory name, title, and signature image URL) for the edition, for use on certificates. The actor must be an owner or admin of the event.

POST/editions/{edition_id}/signatures

Registers a signature (signatory name, title, and signature image URL) for the edition, for use on certificates. The actor must be an owner or admin of the event.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT issued by IdentityX, signed with Ed25519

In: header

Path Parameters

edition_id*string

Edition ID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for signature creation. Mirrors models.AddSignatureRequest.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/editions/497f6eca-6276-4993-bfeb-53cbbbba6f08/signatures" \  -H "Content-Type: application/json" \  -d '{    "signatory_name": "Jane Doe",    "signatory_title": "Head of Education",    "signatory_email": "jane@trieoh.com",    "image_url": "https://cdn.trieoh.com/signatures/jane.png"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "edition_id": "aeda7fca-56fe-426a-8c37-1876faaaf005",
  "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
  "signatory_name": "string",
  "signatory_title": "string",
  "signatory_email": "user@example.com",
  "signatory_user_id": "232888e2-acc5-4f86-809b-e06bf28b18e9",
  "image_url": "http://example.com",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "deleted_at": "2019-08-24T14:15:22Z"
}
{
  "detail": "string",
  "instance": "../dictionary",
  "errors": [
    {
      "field": "string",
      "message": "string"
    }
  ],
  "type": "http://example.com",
  "status": 400,
  "title": "Validation Failed"
}
{
  "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"
}