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/json

application/json

application/json

application/json

application/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"  }'
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "pagination": {
    "page": 1,
    "limit": 1,
    "total": 0,
    "has_next": true,
    "has_prev": true,
    "next_page": 0,
    "prev_page": 0
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string",
  "data": {
    "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"
  }
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}
{
  "code": 0,
  "message": "string",
  "error": {
    "code": "BAD_REQUEST",
    "message": "string",
    "fields": [
      {
        "field": "string",
        "message": "string"
      }
    ],
    "meta": {},
    "debug": {
      "raw_error": "string",
      "stack_trace": "string"
    }
  },
  "timestamp": "2019-08-24T14:15:22Z",
  "module": "string"
}