YOWO7 API
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.
400ApiProblemThe request is invalid.
401ApiProblemThe private app token is missing or invalid.
403ApiProblemThe token is missing the required scope, or this action is not allowed.
404ApiProblemThe workspace or resource was not found.
defaultApiProblemError response.
Start an icon upload · YOWO7 API