GET
/
v1
/
activities
curl --request GET \
  --url https://api.oneofnone.io/v1/activities \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "content": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "id": 123,
      "image_id": 123,
      "json": {},
      "owner_address": "<string>",
      "title": "<string>",
      "tx_url": "<string>",
      "type": "PRODUCTION",
      "updated_at": "2023-11-07T05:31:56Z",
      "video_id": 123,
      "gallery": [
        {
          "alt": "<string>",
          "created_at": "2023-11-07T05:31:56Z",
          "description": "<string>",
          "file_type": "<string>",
          "id": 123,
          "poster_url": "<string>",
          "size": 123,
          "tags": [
            "<string>"
          ],
          "thumbnail_url": "<string>",
          "updated_at": "2023-11-07T05:31:56Z",
          "url": "<string>",
          "order": 123,
          "variants": [
            "<string>"
          ],
          "type": "<string>"
        }
      ],
      "image": {
        "alt": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "file_type": "<string>",
        "id": 123,
        "poster_url": "<string>",
        "size": 123,
        "tags": [
          "<string>"
        ],
        "thumbnail_url": "<string>",
        "updated_at": "2023-11-07T05:31:56Z",
        "url": "<string>"
      },
      "video": {
        "alt": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "description": "<string>",
        "file_type": "<string>",
        "id": 123,
        "poster_url": "<string>",
        "size": 123,
        "tags": [
          "<string>"
        ],
        "thumbnail_url": "<string>",
        "updated_at": "2023-11-07T05:31:56Z",
        "url": "<string>"
      }
    }
  ],
  "pagination": {
    "next": "<string>",
    "prev": "<string>",
    "limit": 123,
    "offset": 123
  }
}

Authorizations

x-api-key
string
header
required

The API key required for accessing protected routes. It should be included in the request headers as x-api-key.

Query Parameters

token_id
integer

The ID of the product (token) to fetch activities for.

Required range: x >= 1
collection_slug
string

The slug of the collection to fetch activities for.

min_date
string

The minimum date for filtering activities.

max_date
string

The maximum date for filtering activities.

limit
integer

The maximum number of items to return (1-1000).

Required range: 1 <= x <= 1000
offset
integer

The number of items to skip before starting to collect the result set.

order
enum<string>

The sort order of the results.

Available options:
asc,
desc
order_by
string

The field by which to order the results.

Response

200
application/json
Successfully retrieved activities.
data
object[]
pagination
object