...
URL | HTTP type | Description |
---|---|---|
/{ownertObjectType}/{ownerObjectId}/wiki | POST | Used to create a new wiki page and assign it to an owner object. |
/{ownertObjectType}/{ownerObjectId}/wikiheadertree | GET | Get entire wiki tree as a list of WikiHeaders. The list is ordered first by parentWikiId and then by title. This can be used to build a tree representation of wiki hierarchy for a given owner object. |
/{ownertObjectType}/{ownerObjectId}/wiki | GET | Get the root wiki page associated with an object. |
/{ownertObjectType}/{ownerObjectId}/wiki/{wikiId} | GET | Get a wiki page by its ID. |
/{ownertObjectType}/{ownerObjectId}/wiki/{wikiId} | PUT | Used to update a wiki. |
/{ownertObjectType}/{ownerObjectId}/wiki/{wikiId} | DELETE | Used to delete a wiki page. |
...
Each wiki page has its own list of file attachments represented as FileHandleIds. For more information on FileHandles see: File FileHandle API.
URL | HTTP type | Description |
---|---|---|
/{ownertObjectType}/{ownerObjectId}/wiki/{wikiId}/attachment?fileName={attachmentFileName} | GET | Attempt 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} | GET | Attempt 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}/attachmenthandles | GET | Get the FileHandles for all attachments of the given WikiPage. The resulting list will also include any PreviewFileHandles. |
...