Get version
curl --request GET \
--url https://api.oquiz.net/pkgs/{pkgId}/versions/{versionId} \
--header 'Authorization: <api-key>'{
"rounds": [
{
"name": "<string>",
"id": "<string>",
"type": "<unknown>",
"position": 123
}
],
"themes": [
{
"name": "<string>",
"id": "<string>",
"description": "<string>",
"position": 123,
"roundId": "<string>"
}
],
"questions": [
{
"id": "<string>",
"type": "<unknown>",
"position": 123,
"price": 123,
"source": "<string>",
"themeId": "<string>"
}
],
"steps": [
{
"duration": 123,
"id": "<string>",
"type": "<unknown>",
"position": 123,
"payload": {
"media": {
"type": "<unknown>",
"src": "<string>",
"color": "<string>"
},
"backgroundMedia": {
"type": "<unknown>",
"src": "<string>",
"duration": 123
},
"text": "<string>",
"caption": "<string>",
"variants": [
"<string>"
]
},
"questionId": "<string>"
}
],
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"packageId": "<string>",
"published": true,
"changes": {
"categories": [
{
"categoryId": "<string>"
}
],
"id": "<string>",
"i18n": {
"name": "<string>",
"description": "<string>",
"image": {
"src": "<string>",
"color": "<string>"
}
},
"name": "<string>",
"description": "<string>",
"image": {
"src": "<string>",
"color": "<string>"
},
"type": "<unknown>",
"settings": {
"multipliers": {},
"timers": {}
},
"difficulty": "<unknown>",
"rating": 123,
"explicit": true,
"verified": true,
"userId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"validation": {
"results": [
{
"level": "<unknown>",
"entity": "<unknown>",
"id": "<string>",
"message": "<string>"
}
],
"timestamp": 123
}
}Get version
Get a version by id.
GET
/
pkgs
/
{pkgId}
/
versions
/
{versionId}
Get version
curl --request GET \
--url https://api.oquiz.net/pkgs/{pkgId}/versions/{versionId} \
--header 'Authorization: <api-key>'{
"rounds": [
{
"name": "<string>",
"id": "<string>",
"type": "<unknown>",
"position": 123
}
],
"themes": [
{
"name": "<string>",
"id": "<string>",
"description": "<string>",
"position": 123,
"roundId": "<string>"
}
],
"questions": [
{
"id": "<string>",
"type": "<unknown>",
"position": 123,
"price": 123,
"source": "<string>",
"themeId": "<string>"
}
],
"steps": [
{
"duration": 123,
"id": "<string>",
"type": "<unknown>",
"position": 123,
"payload": {
"media": {
"type": "<unknown>",
"src": "<string>",
"color": "<string>"
},
"backgroundMedia": {
"type": "<unknown>",
"src": "<string>",
"duration": 123
},
"text": "<string>",
"caption": "<string>",
"variants": [
"<string>"
]
},
"questionId": "<string>"
}
],
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"packageId": "<string>",
"published": true,
"changes": {
"categories": [
{
"categoryId": "<string>"
}
],
"id": "<string>",
"i18n": {
"name": "<string>",
"description": "<string>",
"image": {
"src": "<string>",
"color": "<string>"
}
},
"name": "<string>",
"description": "<string>",
"image": {
"src": "<string>",
"color": "<string>"
},
"type": "<unknown>",
"settings": {
"multipliers": {},
"timers": {}
},
"difficulty": "<unknown>",
"rating": 123,
"explicit": true,
"verified": true,
"userId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
},
"validation": {
"results": [
{
"level": "<unknown>",
"entity": "<unknown>",
"id": "<string>",
"message": "<string>"
}
],
"timestamp": 123
}
}Documentation Index
Fetch the complete documentation index at: https://wiki.oquiz.net/llms.txt
Use this file to discover all available pages before exploring further.
Авторизации
Ответ
200 - application/json
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Была ли эта страница полезной?
⌘I