UniventsAPICertifications
Get a certification template
Fetches a single certification template. Public.
GET
/certifications/templates/{template_id}Fetches a single certification template. Public.
Path Parameters
template_id*string
Certification template ID.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/certifications/templates/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"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",
"kind": "edition_attendance",
"name": "string",
"description": "string",
"design_data": {},
"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"
}Create a certification template POST
Creates a certification template for the edition (`edition_attendance` or `program_attendance`; the latter is linked to programs after creation). The actor must be an owner or admin of the event.
Delete a certification template DELETE
Deletes a certification template. The actor must be an owner or admin of the event.