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

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.

Параметры запроса

type

Filter by collection type

userId
string

Filter by creator user id

cursor
string

Cursor for pagination (last item id)

cursorOrder
string

Cursor order value for pagination

take
number

Number of collections to take

Ответ

200 - application/json
user
object
обязательно
avgRating
null | string
обязательно
pkgCount
number
обязательно
id
string
обязательно

Collection id

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

Collection name

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

Collection slug

type
обязательно

Collection type

visibility
обязательно

Collection visibility

image
object
обязательно

Collection image

icon
null | string
обязательно

Collection icon, emoji or lucide-icon name

userId
null | string
обязательно

Owner user id

createdAt
string<date-time>
обязательно

Collection creation date

updatedAt
string<date-time>
обязательно

Collection update date

deletedAt
null | string<date-time>
обязательно

Collection deletion date