Confluence v1 Spaces API — create, update, delete spaces and manage space permissions/settings.
Confluence v1 Spaces API — create, update, delete spaces and manage space permissions/settings.
(add-custom-content-permissions client space-key body)(add-custom-content-permissions client space-key body opts)Add new custom content permission to space. POST /wiki/rest/api/space/{spaceKey}/permission/custom-content Path params: spaceKey — the key of the space. Body: SpacePermissionCustomContent — {:subject map :operations [{:key string :target string :access boolean}]}.
Add new custom content permission to space.
POST /wiki/rest/api/space/{spaceKey}/permission/custom-content
Path params: spaceKey — the key of the space.
Body: SpacePermissionCustomContent — {:subject map :operations [{:key string :target string :access boolean}]}.(add-permission-to-space client space-key body)(add-permission-to-space client space-key body opts)Add new permission to space. POST /wiki/rest/api/space/{spaceKey}/permission Path params: spaceKey — the key of the space. Body: SpacePermissionRequest — {:subject {:type string :identifier string} :operation {:key string :target string}}.
Add new permission to space.
POST /wiki/rest/api/space/{spaceKey}/permission
Path params: spaceKey — the key of the space.
Body: SpacePermissionRequest — {:subject {:type string :identifier string} :operation {:key string :target string}}.(create-private-space client body)(create-private-space client body opts)Create private space. POST /wiki/rest/api/space/_private Body: SpaceCreate — {:name string :key string :alias string :description map :permissions [...]}.
Create private space.
POST /wiki/rest/api/space/_private
Body: SpaceCreate — {:name string :key string :alias string :description map :permissions [...]}.(create-space client body)(create-space client body opts)Create space. POST /wiki/rest/api/space Body: SpaceCreate — {:name string :key string :alias string :description map :permissions [...]}.
Create space.
POST /wiki/rest/api/space
Body: SpaceCreate — {:name string :key string :alias string :description map :permissions [...]}.(delete-space client space-key)(delete-space client space-key opts)Delete space. DELETE /wiki/rest/api/space/{spaceKey} Path params: spaceKey — the key of the space to delete.
Delete space.
DELETE /wiki/rest/api/space/{spaceKey}
Path params: spaceKey — the key of the space to delete.(get-space-settings client space-key)(get-space-settings client space-key opts)Get space settings. GET /wiki/rest/api/space/{spaceKey}/settings Path params: spaceKey — the key of the space.
Get space settings.
GET /wiki/rest/api/space/{spaceKey}/settings
Path params: spaceKey — the key of the space.(remove-permission client space-key id)(remove-permission client space-key id opts)Remove a space permission. DELETE /wiki/rest/api/space/{spaceKey}/permission/{id} Path params: spaceKey — the key of the space; id — id of the permission to delete.
Remove a space permission.
DELETE /wiki/rest/api/space/{spaceKey}/permission/{id}
Path params: spaceKey — the key of the space; id — id of the permission to delete.(update-space client space-key body)(update-space client space-key body opts)Update space. PUT /wiki/rest/api/space/{spaceKey} Path params: spaceKey — the key of the space to update. Body: SpaceUpdate — {:name string :description map :homepage map :type string :status string}.
Update space.
PUT /wiki/rest/api/space/{spaceKey}
Path params: spaceKey — the key of the space to update.
Body: SpaceUpdate — {:name string :description map :homepage map :type string :status string}.(update-space-settings client space-key body)(update-space-settings client space-key body opts)Update space settings. PUT /wiki/rest/api/space/{spaceKey}/settings Path params: spaceKey — the key of the space. Body: SpaceSettingsUpdate — {:routeOverrideEnabled boolean}.
Update space settings.
PUT /wiki/rest/api/space/{spaceKey}/settings
Path params: spaceKey — the key of the space.
Body: SpaceSettingsUpdate — {:routeOverrideEnabled boolean}.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |