CueFrame
Api

Get a component's source

Required permission: projects:read

GET
/v1/components/{id}/source

Authorization

AuthorizationBearer <token>

API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/components/string/source"
{  "id": "string",  "name": "string",  "description": "string",  "source": "default",  "tsxSource": "string",  "propSchema": {    "property1": null,    "property2": null  },  "origin": "repo-owned",  "ejectedFrom": "string",  "tokens": {    "property1": null,    "property2": null  },  "examples": [    {      "property1": null,      "property2": null    }  ],  "durationInFrames": 0}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}
{  "error": {    "code": "string",    "message": "string",    "details": {      "property1": null,      "property2": null    }  }}