Download OpenAPI specification:Download
Welcome to the Prestatie API documentation.
[- {
- "achievable_until": null,
- "achieved_percentage": 16,
- "category": null,
- "created_at": "2024-03-24T19:46:01.000000Z",
- "description": "ONE respectable person!'.",
- "image": "/var/folders/h6/_hsnvj792wn78rfvqthb2mc00000gn/T/4d5cc443dc789c1a49bb260aff265b3a.png",
- "is_active": 0,
- "name": "The Mouse did not appear.",
- "tags": [ ],
- "type": "DIRECT",
- "updated_at": "2024-03-24T19:46:01.000000Z",
- "uuid": "4a7f7788-5887-4c3e-b90a-7ae51f05caa1"
}, - {
- "achievable_until": null,
- "achieved_percentage": 20,
- "category": null,
- "created_at": "2024-03-24T19:46:01.000000Z",
- "description": "Tortoise because he was.",
- "image": "/var/folders/h6/_hsnvj792wn78rfvqthb2mc00000gn/T/ac31e725499ddc765c598df0ab62818e.png",
- "is_active": 0,
- "name": "And so it was a body to cut.",
- "tags": [ ],
- "type": "DIRECT",
- "updated_at": "2024-03-24T19:46:01.000000Z",
- "uuid": "9136dd41-e573-40df-8801-b60f9943a534"
}, - {
- "achievable_until": null,
- "achieved_percentage": 8,
- "category": null,
- "created_at": "2024-03-24T19:46:01.000000Z",
- "description": "I shall remember it in less.",
- "image": "/var/folders/h6/_hsnvj792wn78rfvqthb2mc00000gn/T/ad860f93ea78a28e78136c2180ca6435.png",
- "is_active": 0,
- "name": "Gryphon, before Alice could.",
- "tags": [ ],
- "type": "DIRECT",
- "updated_at": "2024-03-24T19:46:01.000000Z",
- "uuid": "612998e1-b8b3-4c3d-9d84-01804e1cc159"
}
]
name | string [ 3 .. 50 ] characters The name of the achievement |
description | string or null <= 255 characters A description about the achievement |
is_active | boolean When this option is false the achievement cannot be achieved. |
category | string or null <uuid> The uuid of the category |
type | string (Type) Enum: "DIRECT" "PROGRESSION" Direct achievements can be achieved without any progression. |
image | string or null <url> <= 255 characters Can be an external url, or upload an image in the portal |
achievable_until | string or null <date-time> A date until these achievement can be achieved. |
{- "name": "string",
- "description": "string",
- "is_active": true,
- "category": "86d23d13-9dbb-46f3-82d0-25253c7750c3",
- "type": "DIRECT",
- "image": "string",
- "achievable_until": "2019-08-24T14:15:22Z"
}
{- "achievable_until": "2023-10-10",
- "achieved_percentage": 0,
- "category": null,
- "created_at": "2024-03-20",
- "description": null,
- "is_active": true,
- "name": "My first achievement",
- "tags": [ ],
- "type": "DIRECT",
- "uuid": "e2d3970d-9867-4c30-8633-026a8c2e0622"
}
uuid required | string The uuid of the achievement |
name | string [ 3 .. 50 ] characters The name of the achievement |
description | string or null <= 255 characters A description about the achievement |
is_active | boolean When this option is false the achievement cannot be achieved. |
category | string or null <uuid> The uuid of the category |
type | string (Type) Enum: "DIRECT" "PROGRESSION" Direct achievements can be achieved without any progression. |
image | string or null <url> <= 255 characters Can be an external url, or upload an image in the portal |
achievable_until | string or null <date-time> A date until these achievement can be achieved. |
{- "name": "string",
- "description": "string",
- "is_active": true,
- "category": "86d23d13-9dbb-46f3-82d0-25253c7750c3",
- "type": "DIRECT",
- "image": "string",
- "achievable_until": "2019-08-24T14:15:22Z"
}
{- "uuid": "b6974fa3-356c-428e-9da9-ec5848a284ca",
- "name": "Your first achievement",
- "description": "Achieve your first achievement!",
- "type": "DIRECT",
- "achievable_until": "2024-03-22T00:00:00.000000Z",
- "achieved_percentage": 80,
- "category": null,
- "image": null,
- "is_active": 1,
- "tags": [
- "General",
- "Welcome"
], - "created_at": "2024-03-22T16:14:38.000000Z",
- "updated_at": "2024-03-24T08:34:38.000000Z"
}
Get a single achievement from your group
uuid required | string The uuid of the achievement |
{- "uuid": "b6974fa3-356c-428e-9da9-ec5848a284ca",
- "name": "Your first achievement",
- "description": "Achieve your first achievement!",
- "type": "DIRECT",
- "achievable_until": "2024-03-22T00:00:00.000000Z",
- "achieved_percentage": 80,
- "category": null,
- "image": null,
- "is_active": 1,
- "tags": [
- "General",
- "Welcome"
], - "created_at": "2024-03-22T16:14:38.000000Z",
- "updated_at": "2024-03-24T08:34:38.000000Z"
}
[- {
- "uuid": "0accc1b2-6797-4966-b99d-f3067a9591d5",
- "name": "General",
- "parent": null,
- "created_at": "2024-03-25 20:47:36",
- "updated_at": "2024-03-25 20:47:36"
}, - {
- "uuid": "ca3bff01-56f4-4e17-ad0b-40e76ef0ae38",
- "name": "Sub category",
- "parent": "0accc1b2-6797-4966-b99d-f3067a9591d5",
- "created_at": "2024-03-25 20:47:36",
- "updated_at": "2024-03-25 20:47:36"
}
]
achievement | string <uuid> |
tag | string [ 2 .. 25 ] characters |
{- "achievement": "6cad72bd-5768-4b2f-bed5-1727d10619ca",
- "tag": "string"
}
{- "errors": {
- "external_id": [
- "The external id has already been taken."
], - "external_name": [
- "The external name has already been taken."
]
}, - "message": "The external id has already been taken. (and 1 more error)"
}
achievement | string <uuid> |
tag | string [ 2 .. 25 ] characters |
{- "achievement": "6cad72bd-5768-4b2f-bed5-1727d10619ca",
- "tag": "string"
}
{- "errors": {
- "external_id": [
- "The external id has already been taken."
], - "external_name": [
- "The external name has already been taken."
]
}, - "message": "The external id has already been taken. (and 1 more error)"
}
[- {
- "uuid": "10ba8815-b6ac-474f-96b5-2d2ba2dae09a",
- "external_name": "Raphael Heidenreich",
- "external_id": "e096bb7b-1519-3002-a64d-ffbe6e1880e3",
- "achievements": [
- {
- "uuid": "612998e1-b8b3-4c3d-9d84-01804e1cc159",
- "name": "Gryphon, before Alice could.",
- "description": "I shall remember it in less.",
- "image": "/var/folders/h6/_hsnvj792wn78rfvqthb2mc00000gn/T/ad860f93ea78a28e78136c2180ca6435.png",
- "achievable_until": null,
- "is_active": 0,
- "tags": [ ],
- "type": "DIRECT"
}
]
}, - {
- "uuid": "008cdd40-83a8-4763-b82a-5192694bfb71",
- "external_id": "18596d27-3fe6-35ac-9d9c-968255646a4a",
- "external_name": "Alda Kessler",
- "achievements": [
- {
- "uuid": "9136dd41-e573-40df-8801-b60f9943a534",
- "name": "And so it was a body to cut.",
- "description": "Tortoise because he was.",
- "image": "/var/folders/h6/_hsnvj792wn78rfvqthb2mc00000gn/T/ac31e725499ddc765c598df0ab62818e.png",
- "achievable_until": null,
- "is_active": 0,
- "tags": [ ],
- "type": "DIRECT"
}
]
}, - {
- "uuid": "94ff6e8c-d3eb-4a2a-b265-5dbff20e7b69",
- "external_id": "5c030102-aeb5-3841-b069-a3e065c7ea22",
- "external_name": "Dock Parker",
- "achievements": [ ]
}
]
external_id | string <uuid> |
external_name | string [ 3 .. 50 ] characters |
{- "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
- "external_name": "string"
}
{- "errors": {
- "external_id": [
- "The external id has already been taken."
], - "external_name": [
- "The external name has already been taken."
]
}, - "message": "The external id has already been taken. (and 1 more error)"
}
Create up to 100 members in bulk
object | |
object |
[- {
- "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
- "external_name": "string"
}, - {
- "external_id": "95c35493-41aa-44f8-9154-5a25cbbc1865",
- "external_name": "string"
}
]
[- {
- "external_id": "3642da37-de30-40bf-ab85-a73fe17a7d8e",
- "external_name": "Piet2021"
}, - {
- "external_id": "8d1fc27d-65ff-4752-82e2-95334847c767",
- "external_name": "Henk404"
}, - {
- "external_id": "4ec683bb-6d8d-4a49-9495-de0cd791660c",
- "external_name": "Peter500"
}
]
uuid required | string The uuid of the member |
name | string [ 3 .. 50 ] characters The name of the achievement |
description | string or null <= 255 characters A description about the achievement |
is_active | boolean When this option is false the achievement cannot be achieved. |
category | string or null <uuid> The uuid of the category |
type | string (Type) Enum: "DIRECT" "PROGRESSION" Direct achievements can be achieved without any progression. |
image | string or null <url> <= 255 characters Can be an external url, or upload an image in the portal |
achievable_until | string or null <date-time> A date until these achievement can be achieved. |
{- "name": "string",
- "description": "string",
- "is_active": true,
- "category": "86d23d13-9dbb-46f3-82d0-25253c7750c3",
- "type": "DIRECT",
- "image": "string",
- "achievable_until": "2019-08-24T14:15:22Z"
}
{- "uuid": "0accc1b2-6797-4966-b99d-f3067a9591d5",
- "external_name": "Peter",
- "external_id": "0ee98a32-b312-4b25-9da7-36b26ed734ec",
- "created_at": "2024-03-25T19:47:36.000000Z",
- "updated_at": "2024-03-25T19:47:36.000000Z"
}
uuid required | string The uuid of the member |
{- "achievements": [
- {
- "achievable_until": "2023-10-10T00:00:00.000000Z",
- "description": null,
- "is_active": 0,
- "name": "ddddTekfddksdadddd!",
- "tags": [ ],
- "type": "DIRECT",
- "uuid": "e2d3970d-9867-4c30-8633-026a8c2e0622"
}
], - "external_id": "fdfffd76-4900-454b-8fae-fd0948601c5e",
- "external_name": "Test1234",
- "uuid": "f346b964-37cb-415a-b79e-032daf040da0"
}
[- {
- "uuid": "c6b1e634-dd3d-4664-87ec-571cc79e009d",
- "cursor": 1728119440,
- "event": "ACTION_ACHIEVE_ACHIEVEMENT",
- "data": {
- "achievement": "62a43859-d496-44bb-bd38-953f5c3fbbb0"
}, - "created_at": "2024-10-05T09:10:40.000000Z"
}, - {
- "uuid": "7084229b-5854-4b8b-9c59-51f86fea8041",
- "cursor": 1728119449,
- "event": "ACTION_REMOVE_ACHIEVEMENT",
- "data": {
- "achievement": "62a43859-d496-44bb-bd38-953f5c3fbbb0"
}, - "created_at": "2024-10-05T09:10:49.000000Z"
}
]
searchDirection required | string Show items before or after the cursor. (valid input: after, before) |
cursor required | integer The cursor |
[- {
- "uuid": "c6b1e634-dd3d-4664-87ec-571cc79e009d",
- "cursor": 1728119440,
- "event": "ACTION_ACHIEVE_ACHIEVEMENT",
- "data": {
- "achievement": "62a43859-d496-44bb-bd38-953f5c3fbbb0"
}, - "created_at": "2024-10-05T09:10:40.000000Z"
}, - {
- "uuid": "7084229b-5854-4b8b-9c59-51f86fea8041",
- "cursor": 1728119449,
- "event": "ACTION_REMOVE_ACHIEVEMENT",
- "data": {
- "achievement": "62a43859-d496-44bb-bd38-953f5c3fbbb0"
}, - "created_at": "2024-10-05T09:10:49.000000Z"
}
]