Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each wiki page has its own list of file attachments represented as FileHandleIds.  For more information on FileHandles see: File FileHandle API.

URLHTTP typeDescription
/{ownertObjectType}/{ownerObjectId}/wiki/{wikiId}/attachment?fileName={attachmentFileName}GETAttempt to download the raw file attachment using the name of the attachment file instead of the FileHandleId.  Note: This call will result in a HTTP temporary redirect (307), to the real file URL if the caller is authorized to READ the owner object.
/{ownertObjectType}/{ownerObjectId}/wiki/{wikiId}/attachmentpreview?fileName={attachmentFileName}GETAttempt to download the preview file attachment using the name of the attachment file instead of the FileHandleId.  Note: This call will result in a HTTP temporary redirect (307), to the real file URL if the caller is authorized to READ the owner object.
/{ownertObjectType}/{ownerObjectId}/wiki/{wikiId}/attachmenthandlesGETGet the FileHandles for all attachments of the given WikiPage.  The resulting list will also include any PreviewFileHandles.

...