Wikis
Create a new version of a wiki page
Changed onCreate a new version of a wiki page by submitting updated content.
This will store the updated content as a new version, incrementing the version number.
Permissions
- Only contributors with write access can create new wiki versions.
- Withdrawn registrations: Cannot create new wiki versions.
post/wikis/{wiki_id}/versions/
Request
- Base URLhttps://api.test.osf.io/v2
- URLhttps://api.test.osf.io/v2/wikis/{wiki_id}/versions/
- Authnone declared
Path parameters
wiki_idstring required
The unique identifier for the wiki page.
Request body
Example request
{
"data": {
"type": "wiki-versions",
"attributes": {
"content": "This is an updated wiki page."
}
}
}Response
Wiki version created successfully.
Changes
- info
added the non-success response with the status
- info