Attach or use a photo in content
POST /cms/photo/{id}/use
POST
/cms/photo/{id}/use
Creates a new attachment for an existing photo and associates it with a content item.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
integer
Photo attachment id
Request Body
Section titled “Request Body ”object
id
Existing article id. If omitted, a new draft article is created.
integer
inline
If true, creates an inline image attachment.
boolean
Responses
Section titled “ Responses ”Attachment added
object
id
New Attachment ID
integer
content_id
Content ID the attachment was added to
integer