Endpoints 40
- Lists the files attached to a resource.GET
/v1/stores/{store}/{kind}/{id}/attachments - Attaches a file to a resource in a role.POST
/v1/stores/{store}/{kind}/{id}/attachments - Answers what a save takes for a kind of body: its block types, each block's props with their types, values and limits, which are required, and where blocks may sit.GET
/v1/stores/{store}/body_schema - Reads what the store's home, a page, a product or an entry renders, its body or the default layout without one, and a quiz's or certificate's body; staged reads the unpublished one, and default the default layout even over a body. `getBodySchema` answers the blocks and props each kind of body takes.GET
/v1/stores/{store}/{kind}/{id}/body - Writes the live body of the store's home, a page, a product or an entry, or with `staged: true` its unpublished next body, which `publishBody` publishes; `from` names the body read, so a write over one changed since is refused. Ask `getBodySchema` for the blocks, props and values its kind takes before writing: anything else is refused, naming the block, the prop and what it takes.PUT
/v1/stores/{store}/{kind}/{id}/body - Updates, inserts, moves or deletes blocks of a body by id, without sending it whole. `getBodySchema` answers the props each block takes.POST
/v1/stores/{store}/{kind}/{id}/body/edit - Publishes the staged body.POST
/v1/stores/{store}/{kind}/{id}/body/publish - Discards the staged body, keeping the published one.POST
/v1/stores/{store}/{kind}/{id}/body/discard - Updates an attachment's role, delivery or preview flag.PATCH
/v1/stores/{store}/attachments/{attachment} - Sets the order of a resource's attachments.POST
/v1/stores/{store}/{kind}/{id}/attachments/reorder - Detaches a file from a resource, keeping the file.POST
/v1/stores/{store}/attachments/{attachment}/detach - Pages a product's MCP prompts with their text.GET
/v1/stores/{store}/products/{product}/prompts - Adds an MCP prompt to a product.POST
/v1/stores/{store}/products/{product}/prompts - Reads one of a product's MCP prompts.GET
/v1/stores/{store}/products/{product}/prompts/{prompt} - Deletes an MCP prompt.DEL
/v1/stores/{store}/products/{product}/prompts/{prompt} - Updates an MCP prompt's fields, text or access.PATCH
/v1/stores/{store}/products/{product}/prompts/{prompt} - Sets, swaps or clears a product's thumbnail, its first poster, if it is still the one the caller saw.PUT
/v1/stores/{store}/products/{product}/poster - Pages the store's files.GET
/v1/stores/{store}/assets - Creates a link file, such as an external video.POST
/v1/stores/{store}/assets - Reads one file.GET
/v1/stores/{store}/assets/{asset} - Deletes a file nothing uses.DEL
/v1/stores/{store}/assets/{asset} - Updates a file's name, title, description and security level.PATCH
/v1/stores/{store}/assets/{asset} - Reads the store's storage use against its plan's allowance, and the time zone its files' deliveries are dated in.GET
/v1/stores/{store}/quota - Lists a video's or audio file's AI outputs (subtitles, transcript, summary, chapters) and where each one's generation stands.GET
/v1/stores/{store}/assets/{asset}/outputs - Reads one of a video's or audio file's AI outputs with its content.GET
/v1/stores/{store}/assets/{asset}/output - Deletes one of a video's or audio file's AI outputs.DEL
/v1/stores/{store}/assets/{asset}/output - Edits one of a video's or audio file's AI outputs: the subtitles' cues, or the transcript's, summary's or chapters' content.PATCH
/v1/stores/{store}/assets/{asset}/output - Generates one of a video's or audio file's AI outputs, or generates it again, landing as a draft; subtitles first, the rest from them.POST
/v1/stores/{store}/assets/{asset}/outputs/generate - Publishes one of a video's or audio file's AI outputs to customers, or takes it back to a draft.POST
/v1/stores/{store}/assets/{asset}/outputs/publish - Reserves a file and answers where to upload its bytes. A file of at most 2 MiB can go in the call instead, through the inline upload.POST
/v1/stores/{store}/uploads - Uploads a file of at most 2 MiB with its bytes in the call, for a client that cannot send them to an upload URL.POST
/v1/stores/{store}/uploads/inline - Marks an upload done once its bytes are in place.POST
/v1/stores/{store}/assets/{asset}/complete - Cancels an upload that was never completed.POST
/v1/stores/{store}/assets/{asset}/cancel - Mints a short-lived URL to a file's bytes.POST
/v1/stores/{store}/assets/{asset}/url - Moves a file between public and private storage.POST
/v1/stores/{store}/assets/{asset}/move - Replaces a file's bytes with another upload's, keeping where it is used and deleting a video's or audio file's AI outputs.POST
/v1/stores/{store}/assets/{asset}/replace - Counts a product's files and links by kind.GET
/v1/stores/{store}/products/{product}/file_stats - Pages the deliveries of files from the last year, newest first, with the file, who it went to and its state, in the store's time zone.GET
/v1/stores/{store}/asset_deliveries - Pages where files are used.GET
/v1/stores/{store}/asset_uses - Answers the bytes of a private file a capability names, to the bearer that asked for it.GET
/v1/stores/{store}/files/{capability}