Attach Project Media

Uploads an image file and attaches it to the project's media library. The default collection is .

POSThttps://review-manager.test/api/projects/{project}/media

Uploads an image and attaches it to the project media library. The default collection is public.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectintegerrequired

Project id.

Response

application/json

Media attached.

dataobjectrequired
data.idinteger
data.uuidstring<uuid>
data.collection_namestring
data.namestring
data.file_namestring
data.mime_typestring
data.diskstring
data.sizeinteger
data.urlstring
data.custom_propertiesobject
data.created_atstring<date-time>
data.updated_atstring<date-time>

Uploads an image file and attaches it to the project's media library. The default collection is public.