Attach Project Media
Uploads an image file and attaches it to the project's media library. The default collection is .
POST
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.
dataobjectrequireddata.idintegerdata.uuidstring<uuid>data.collection_namestringdata.namestringdata.file_namestringdata.mime_typestringdata.diskstringdata.sizeintegerdata.urlstringdata.custom_propertiesobjectdata.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.