Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Update Wiki Page via API

Update Wiki Page via API

Added by Leen Zur over 4 years ago

Hi everyone,

My team deployed openproject on a private server for testing it via API. We currently succeed to update a Feature.

Documentation show example for work package here. And work package endpoint here.

Wiki page endpoint here describe how retrieve wiki page infos, but no way about how updating them.

Any Idea about how update a wiki page from API ?

(I use apikey basic auth for api authentication)

Thanks


Replies (5)

RE: Update Wiki Page via API - Added by Max Mutzge over 4 years ago

At the moment it's not possible to update a wiki page via API.

Kind regards

RE: Update Wiki Page via API - Added by Ja Ri almost 3 years ago

Hi, we are also keen on this feature.
Project documentation in the wiki often is the last thing that gets updated.
So we would like to automate this.

Is there any possibility of adding a feature request for this?
Thanks

RE: Update Wiki Page via API - Added by Sandro Wendt over 2 years ago

+1

RE: Update Wiki Page via API - Added by Adam Szabo over 2 years ago

Hi Jean, Max, Ja and Sandro

Thanks for your feedback regarding the Update Wiki Page via API. At the moment, we don't have that specific functionality available, but you could maybe open a feature request for the desired functionality. When many of our customers ask for the same improvement, we try our best to get it done. However, due to the large number of suggestions we receive, we can't provide a timeline. Here you could add the feature:

https://community.openproject.org/projects/openproject/work_packages/create_new?type=6

You could also keep up with the latest product news and enhancements on our official blog https://www.openproject.org/blog/ for additional feature updates and fixes. It's our way of keeping you informed on all the exciting work we're doing behind the scenes.

Again, we appreciate the feedback and believe that together we can create great products for everyone!
If we can assist you with anything else, please don't hesitate to let us know.

Thank you for your kind help

RE: Update Wiki Page via API - Added by C4Yourself Login about 2 years ago

Hi there,

To update a wiki page in OpenProject via the API, you can use the following endpoint:

bashCopy code

PUT /api/v3/wiki_pages/:id

Where :id is the ID of the wiki page you want to update.

To update the page, you will need to include the updated content in the request body in either HTML or Markdown format. Here's an example request using C4Yourself cURL:

bashCopy code

curl -X PUT \  -H "Content-Type: application/json" \  -H "Authorization: Basic <your-api-key>" \  -d '{"content": "<h1>New content for the wiki page</h1>"}' \  https://<your-openproject-instance>/api/v3/wiki_pages/:id

Replace <your-api-key> with your actual API key, <your-openproject-instance> with the URL of your OpenProject instance, and :id with the ID of the wiki page you want to update.

For more information check MYCVSHR.

  • (1 - 5/5)
Loading...