Skip to main content
Attach an uploaded file to a project

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

projectId
string<uuid>
required

Body

application/json
storedObjectId
string<uuid>
required

The ID of an object previously uploaded with POST /storage/files

originalFileName
string
required

The original file name to store with the attachment metadata

description
string

Response

The ID of the generated attachment

attachmentId
string<uuid>
required
Example:

"b08631ad-a4ec-4c27-9995-01287e83d565"