Body parameters

namestringrequired

The name of the Cassette.

projectstringrequired

The ID of the project this Cassette will belong to.

handlearrayrequired

The unique handle for the Cassette.

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').cassettes.create({
  name: 'Default',
  project: '99bc147e-966c-4dd0-8def-de817c63cf41',
  handle: 'default',
})
Response
{
  "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
}

Was this helpful?