Path parameters

idstringrequired

The ID of the project to retrieve.

Query parameters

limitinteger | default: 10

Limit the number of objects to return, ranging between 1 and 20.

pageinteger | default: 1

The current page used to display the pagination results.

Response

idstring

The unique identifier for this Cassette.

objectstring

This will always contain cassette for this endpoint.

handlestring

The unique handle of the Cassette. The handle is only unique to every Cassette within a project.

namestring

The Cassette name.

projectstring | object

The ID of the project this Cassette belongs to.

parentstring | object | null

The parent Cassette, if this Cassette is duplicated.

created_attimestamp

The Cassette's created at timestamp.

updated_attimestamp

The Cassette's updated at timestamp.

import Blutui from 'blutui'

const blutui = new Blutui('ey....')

blutui.agency('studio').projects.cassettes('9d759f5a-7a1f-443e-a466-6471da1d367b')
Response
{
  "object": "list",
  "data": [
    {
      "id": "9d759f5a-7a1f-443e-a466-6471da1d367b",
      "object": "cassette",
      "handle": "default",
      "name": "Default",
      "project": "9c17d63b-96c0-4315-b4dd-e55373ce4ffd",
      "parent": null,
      "created_at": 1711305486,
      "updated_at": 1711305486
    },
    {...},
    {...}
  ],
  "meta": {
    "has_more": false,
    "current_page": 1,
    "from": 1,
    "to": 3,
    "total": 3,
    "per_page": 10,
    "last_page": 1
  }
}

Was this helpful?