Get versions
curl --request GET \
--url https://api.oquiz.net/pkgs/{pkgId}/versions \
--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 versions
Get all versions for a package.
GET
/
pkgs
/
{pkgId}
/
versions
Get versions
curl --request GET \
--url https://api.oquiz.net/pkgs/{pkgId}/versions \
--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
}
}
]Авторизации
Параметры пути
Ответ
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