Перейти к основному содержанию
GET
/
collections
/
{slug}
Get collection by slug
curl --request GET \
  --url https://api.oquiz.net/collections/{slug}
{
  "name": "<string>",
  "id": "<string>",
  "image": {
    "src": "<string>",
    "color": "<string>"
  },
  "type": "<unknown>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "userId": "<string>",
  "deletedAt": "2023-11-07T05:31:56Z",
  "visibility": "<unknown>",
  "slug": "<string>",
  "icon": "<string>"
}

Параметры пути

slug
string
обязательно

Ответ

200 - application/json
name
string
обязательно
id
string
обязательно
image
object
обязательно
type
обязательно
createdAt
string<date-time>
обязательно
updatedAt
string<date-time>
обязательно
userId
null | string
обязательно
deletedAt
null | string<date-time>
обязательно
visibility
обязательно
slug
string
обязательно
icon
null | string
обязательно