OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/docs/api/apiv3/components/schemas/wiki_page_model.yml

48 lines
954 B

# Schema: Wiki_PageModel
---
type: object
required:
- title
properties:
id:
type: integer
description: Identifier of this wiki page
readOnly: true
minimum: 0
exclusiveMinimum: true
title:
type: string
description: The wiki page's title
_links:
type: object
properties:
addAttachment:
allOf:
- "$ref": "./link.yml"
- description: |-
Attach a file to the wiki page
# Conditions
**Permission**: edit wiki page
readOnly: true
example:
_type: WikiPage
id: 72
title: A wiki page with a name
_embedded:
project:
_type: Project...
id: 12
_links:
self:
href: "/api/v3/wiki_pages/72"
attachments:
href: "/api/v3/wiki_pages/72/attachments"
addAttachment:
href: "/api/v3/wiki_pages/72/attachments"
method: post
project:
href: "/api/v3/projects/12"
title: some project