Projects
POST
/api/v1/workspaces/{workspaceId}/projects/{projectId}/icon/upload/initiate
Scope projects:write
Start a project icon upload. PUT the image bytes to the returned upload URL, then complete the upload.
Pfad
projectIdPflicht
string (uuid)
Project identifier.
workspaceIdPflicht
string
Workspace that owns the resource.
Request
application/json · InitiateProjectIconUploadRequestDto
fileNamePflicht
string
Name of the file.
contentType
string
Content type.
sizeBytes
integer (int64)
Size bytes.
Antworten
200InitiateProjectIconUploadResponseDtoThe request succeeded. The JSON body contains url, data, and meta. The linked schema is data.
Initiate project icon upload response.
uploadSessionIdPflicht
string (uuid)
Identifier of the upload session.
uploadUrlPflicht
string
URL of the upload.
uploadUrlExpiresAtPflicht
string (date-time)
When the upload url expires was recorded.