Docs

Start here

Get a project

GET/v1/studio/projects/{project}on https://api.auray.ai/v1

A project, its cover signed afresh.

A project, its cover signed afresh. One you are not a member of is not_found, exactly as one that does not exist. Takes a key holding studio:read (or studio:write, which reads too) — Account offers both unticked — or the desktop's own session key. Spends nothing.

#Authentication

Authorization: Bearer auray_sk_… — studio:read, or studio:write, which reads too — Account offers both unticked; the desktop's session key holds both.

#Request

#Path parameters

NameTypeRequiredDescription
projectstringyes

#Example request

curl https://api.auray.ai/v1/studio/projects/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d \
  -H "Authorization: Bearer $AURAY_API_KEY"

#Responses

#200 OK

OK.

FieldTypeRequiredDefaultDescription
objectstringyes—One of "project".
idstringyes—
namestringyes—0 to 80 characters.
slugstringyes—The address segment its links carry; unique among the owner's projects. 3 to 60 characters.
descriptionstringyes—0 to 140 characters. May be null.
coverobject or nullyes—
cover_item_idstringyes—May be null.
accessstringyes—private is the only access in this release. One of "private", "team".
rolestringyes—Your own role in the project. One of "owner", "admin", "collaborator", "viewer".
canstring[]yes—What your role lets you do here; anything else is refused role_forbidden.
countsobjectyes—
counts.itemsintegeryes—Every item not in the Trash.
counts.generationsintegeryes—
counts.uploadsintegeryes—
counts.elementsintegeryes—
counts.foldersintegeryes—
counts.trashedintegeryes—
limitsobjectyes—What it may hold: the figures in force of its OWNER's plan (studio.max_items, studio.max_canvases, studio.max_members), whoever reads it — each told only to a role that can add against it, null to every other reader. A figure moved lower refuses the next one past it (studio_limit_reached, whose max is the same number) and takes nothing away, so a count above it is a project that held more before.
limits.itemsintegeryes—Items it may hold, the Trash counted. Null unless your role may generate, upload or edit items. 1 to …. May be null.
limits.canvasesintegeryes—Canvases it may hold. Null unless your role may edit canvases. 1 to …. May be null.
limits.membersintegeryes—People it may seat, its owner counted. Null unless your role manages members. 1 to …. May be null.
planobjectyes—What its OWNER's plan lets happen in it, whoever reads it — each bit told only to a reader it binds, null to every other, as limits is. open false is a read-only project: its owner's plan does not include Cinema Studio, so nothing can be added or changed in it, and every such write answers studio_not_in_plan; opening and downloading everything, removing things and handing the project over still work, and can stays your role's list.
plan.openbooleanyes—Whether anything can be added or changed here: false in a read-only project. Null only to a reader who is no member. May be null.
plan.callsbooleanyes—Whether a call can be held here: its owner's plan includes Cinema Studio and calls, and seats a team. False, a join answers studio_not_in_plan. Null unless your role may join calls. May be null.
plan.publishbooleanyes—Whether the project may be published, or its publication updated: its owner's plan includes Cinema Studio and publishing. Withdrawing a publication never asks. Null unless you own it. May be null.
bytesintegeryes—What its kept files take, the Trash included — what deleting it frees.
created_atstringyes—
updated_atstringyes—
request_idstringno—Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

#401 Unauthorized

#403 Forbidden

#404 Not Found

#429 Too Many Requests

#500 Internal Server Error

#503 Service Unavailable

#Status codes

StatusMeaning
200OK.
401Unauthorized
403Forbidden
404Not Found
429Too Many Requests
500Internal Server Error
503Service Unavailable

Every refusal names its code, and every code is explained at Errors.

Start typing to search every page of the documentation.

Up arrow Down arrow to moveEnter to openEscape to close