Interface ConfluenceRestClientContentAttachmentsApi


@Generated("io.github.primelib.primecodegen") public interface ConfluenceRestClientContentAttachmentsApi
ConfluenceRestClientContentAttachmentsApi
  • Method Details

    • PutContentByIDChildAttachmentByAttachmentIDV1

      Content PutContentByIDChildAttachmentByAttachmentIDV1(@NotNull @NotNull String id, @NotNull @NotNull String attachmentId, @NotNull @NotNull Map<String,Object> payload)
      PutContentByIDChildAttachmentByAttachmentIDV1 Update attachment properties Updates the attachment properties, i.e. the non-binary data of an attachment like the filename, media-type, comment, and parent container. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the content.
      Parameters:
      id - The ID of the content that the attachment is attached to.
      attachmentId - The ID of the attachment to update.
      payload - The details of the attachment to be updated.
    • GetContentByIDChildAttachmentByAttachmentIDDownloadV1

      void GetContentByIDChildAttachmentByAttachmentIDDownloadV1(@NotNull @NotNull String id, @NotNull @NotNull String attachmentId, @Nullable @Nullable Long version, @Nullable @Nullable List<String> status)
      GetContentByIDChildAttachmentByAttachmentIDDownloadV1 Get URI to download attachment Redirects the client to a URL that serves an attachment's binary data.
      Parameters:
      id - The ID of the content that the attachment is attached to.
      attachmentId - The ID of the attachment to download.
      version - The version of the attachment. If this parameter is absent, the redirect URI will download the latest version of the attachment.
      status - The statuses allowed on the retrieved attachment. If this parameter is absent, it will default to `current`.