SpedySpedy Docs

Wiki

Manage wiki spaces, pages, and folders for team documentation.

The Wiki provides a structured knowledge base for your organization. Content is organized into spaces, which contain pages and folders. Spaces can be linked to boards for project-specific documentation.

Spaces

List Spaces

GET /api/v1/wiki/spaces

Query Parameters

ParameterTypeRequiredDescription
boardIdstringNoFilter spaces linked to a specific board

Example Response

[
  {
    "id": "ws_abc123",
    "name": "Engineering Handbook",
    "slug": "engineering-handbook",
    "description": "Internal engineering documentation",
    "icon": "book",
    "boardId": null,
    "createdAt": "2025-01-15T10:00:00Z"
  }
]

Create Space

POST /api/v1/wiki/spaces

Permission required: wiki:create

Rate limit: 10 per hour.

Request Body

FieldTypeRequiredDescription
namestringYesSpace name (max 100 characters)
slugstringNoURL-friendly slug (auto-generated if omitted)
descriptionstringNoSpace description (max 500 characters)
iconstringNoIcon identifier
boardIdstringNoBoard ID to link the space to
memberModestringNoINHERIT_BOARD or MANAGE_SEPARATE

Example Request

{
  "name": "Engineering Handbook",
  "description": "Internal engineering documentation"
}

Get Space

GET /api/v1/wiki/spaces/{spaceId}

Get Space Tree

GET /api/v1/wiki/spaces/{spaceId}/tree

Returns the full folder and page hierarchy of a space as a tree structure.

Update Space

PATCH /api/v1/wiki/spaces/{spaceId}

Wiki role required: manage

Delete Space

DELETE /api/v1/wiki/spaces/{spaceId}

Wiki role required: manage

Returns 204 No Content.

Get Linked Space for Board

GET /api/v1/wiki/spaces/board/{boardId}

Returns the wiki space linked to a specific board.


Pages

List Pages

GET /api/v1/wiki/spaces/{spaceId}/pages

Query Parameters

ParameterTypeRequiredDescription
folderIdstringNoFilter by folder

Create Page

POST /api/v1/wiki/spaces/{spaceId}/pages

Wiki role required: edit or manage

Rate limit: 60 per hour.

Request Body

FieldTypeRequiredDescription
titlestringYesPage title (max 255 characters)
contentstringNoPage content (max 500,000 characters)
folderIdstringNoParent folder ID
isPublishedbooleanNoWhether the page is published

Example Request

{
  "title": "Getting Started Guide",
  "content": "<h1>Welcome</h1><p>This guide covers...</p>",
  "isPublished": true
}

Get Page

GET /api/v1/wiki/spaces/{spaceId}/pages/{pageId}

Update Page

PATCH /api/v1/wiki/spaces/{spaceId}/pages/{pageId}

Wiki role required: edit or manage

Delete Page

DELETE /api/v1/wiki/spaces/{spaceId}/pages/{pageId}

Wiki role required: edit or manage

Returns 204 No Content.

Get Page Versions

GET /api/v1/wiki/spaces/{spaceId}/pages/{pageId}/versions

Returns the version history of a page.

Restore Page Version

POST /api/v1/wiki/spaces/{spaceId}/pages/{pageId}/versions/{versionId}/restore

Wiki role required: edit or manage

Restores a previous version of the page, creating a new version in the process.


Folders

List Folders

GET /api/v1/wiki/spaces/{spaceId}/folders

Query Parameters

ParameterTypeRequiredDescription
parentIdstringNoFilter by parent folder

Create Folder

POST /api/v1/wiki/spaces/{spaceId}/folders

Wiki role required: edit or manage

Request Body

FieldTypeRequiredDescription
namestringYesFolder name
parentIdstringNoParent folder ID (for nesting)

Get Folder

GET /api/v1/wiki/spaces/{spaceId}/folders/{folderId}

Update Folder

PATCH /api/v1/wiki/spaces/{spaceId}/folders/{folderId}

Wiki role required: edit or manage

Delete Folder

DELETE /api/v1/wiki/spaces/{spaceId}/folders/{folderId}

Wiki role required: edit or manage

Query Parameters

ParameterTypeRequiredDescription
deleteContentsbooleanNoAlso delete all pages and subfolders (default: false)

Returns 204 No Content. If deleteContents is false and the folder is not empty, the request will fail.