# Feature OP-20826 -  Add API v3 support for reading and writing wiki pages

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-20826

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | API, Modules and project features / Wiki |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an OpenProject user or administrator who manages project documentation  
**I want to** browse, search, read, create, and update wiki pages through the OpenProject API v3  
**so that** I can use wiki content in third-party tools, import documentation from other systems, and export or migrate wikis between projects or OpenProject instances.

**Acceptance criteria**

*   An authenticated client can list wiki pages for a project and reconstruct the page tree from parent and child relationships.
    
*   A client can retrieve an individual page, including its title, original Markdown, project, parent page, canonical web URL, and attachment references.
    
*   A client can search wiki page titles and content across accessible projects or within a selected project. Page lists and search results support pagination.
    
*   A client with the required permissions can create and update wiki pages, including their titles, Markdown content, and parent relationships.
    
*   An external tool can import a set of pages into a target project and recreate the original page hierarchy.
    
*   An external tool can export all accessible wiki pages in a project, including their content and hierarchy. The API provides enough information to retrieve attachments and remap links between pages when importing into another project or instance.
    

**Technical notes**

*   Follow existing OpenProject API v3 conventions for authentication, resource links, pagination, validation errors, and concurrent edits.
    
*   Provide stable page identifiers and return the identifiers of newly created pages. Migration tools can use them to rebuild parent relationships and rewrite links for the destination.
    
*   Reuse existing attachment APIs where possible and expose the links clients need to retrieve or attach files.
    

**Permissions and visibility considerations**

*   Users can list, search, read, and export the same wiki pages they can view in the OpenProject web interface.
    
*   Creating or updating pages, setting parent relationships, and attaching files require the corresponding permissions in the destination project.
    
*   Pages outside the user&#x27;s permissions are excluded from search results, page trees, and export data. Direct requests must not expose their content, metadata, or attachments.
