Skip to main content
GET
/
v1
/
collections
/
{id}
Get collection
curl --request GET \
  --url https://api.oneofnone.io/v1/collections/{id} \
  --header 'x-api-key: <api-key>'
{
  "id": "<string>",
  "name": "<string>",
  "status": "<string>",
  "slug": "<string>",
  "created_at": "<string>",
  "type": "<string>",
  "description": "<string>",
  "quantity": 123,
  "keywords": "<unknown>",
  "redirect_type": "<string>",
  "redirect_url": "<string>",
  "registration_type": "<string>",
  "registration_settings": {},
  "activity_settings": {},
  "image": {
    "url": "<string>"
  },
  "video": {
    "url": "<string>",
    "poster_url": "<string>"
  },
  "share_image": {
    "url": "<string>"
  },
  "gallery": [
    {
      "url": "<string>",
      "file_type": "<string>",
      "poster_url": "<string>",
      "order": 123,
      "tags": "<unknown>",
      "variants": "<unknown>"
    }
  ],
  "product_name_template": "<string>",
  "retail_settings": {},
  "launch_date": "<string>",
  "attributes": "<unknown>",
  "variants": "<unknown>",
  "updated_at": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Query Parameters

type
enum<string>
Available options:
ID,
SLUG
token_id
integer
include_layout
boolean

Response

Successful response

id
string
required
name
string
required
status
string
required
slug
string
required
created_at
string
required
type
string | null
description
string | null
quantity
number | null
keywords
any
redirect_type
string | null
redirect_url
string | null
registration_type
string | null
registration_settings
object
activity_settings
object
image
object
video
object
share_image
object
product_name_template
string | null
retail_settings
object
launch_date
string | null
attributes
any
variants
any
updated_at
string | null
{key}
any