Private
clientAdds an attachment to a piece of content. This method only adds a new attachment. If you want to update an existing attachment, use Create or update attachments.
Permissions required: Permission to update the content.
Optional
callback: undefinedAdds an attachment to a piece of content. If the attachment already exists for the content, then the attachment is updated (i.e. a new version of the attachment is created).
Permissions required: Permission to update the content.
Adds an attachment to a piece of content. If the attachment already exists for the content, then the attachment is updated (i.e. a new version of the attachment is created).
Permissions required: Permission to update the content.
Optional
callback: undefinedRedirects the client to a URL that serves an attachment's binary data.
Redirects the client to a URL that serves an attachment's binary data.
Optional
callback: undefinedReturns the attachments for a piece of content.
By default, the following objects are expanded: metadata
.
Permissions required: Permission to view the content. If the content is a blog post, 'View' permission for the space is required.
Returns the attachments for a piece of content.
By default, the following objects are expanded: metadata
.
Permissions required: Permission to view the content. If the content is a blog post, 'View' permission for the space is required.
Optional
callback: undefinedUpdates the binary data of an attachment, given the attachment ID, and optionally the comment and the minor edit field.
This method is essentially the same as Create or update attachments, except that it matches the attachment ID rather than the name.
Permissions required: Permission to update the content.
Updates the binary data of an attachment, given the attachment ID, and optionally the comment and the minor edit field.
This method is essentially the same as Create or update attachments, except that it matches the attachment ID rather than the name.
Permissions required: Permission to update the content.
Optional
callback: undefinedUpdates the attachment properties, i.e. the non-binary data of an attachment like the filename, media-type, comment, and parent container.
Permissions required: Permission to update the content.
Updates the attachment properties, i.e. the non-binary data of an attachment like the filename, media-type, comment, and parent container.
Permissions required: Permission to update the content.
Optional
callback: undefinedGenerated using TypeDoc v0.25.12
Adds an attachment to a piece of content. This method only adds a new attachment. If you want to update an existing attachment, use Create or update attachments.
Permissions required: Permission to update the content.