OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fix indent in versions api doc
Ivan Kuchinf739e2f8786e
diff --git a/docs/api/apiv3/paths/versions.yml b/docs/api/apiv3/paths/versions.ymlindex 07f1953b348..8c509fb6ab5 100644--- a/docs/api/apiv3/paths/versions.yml+++ b/docs/api/apiv3/paths/versions.yml@@ -2,18 +2,18 @@---get:parameters:- - description: |-- JSON specifying filter conditions.- Accepts the same format as returned by the [queries](https://www.openproject.org/docs/api/endpoints/queries/) endpoint.- Currently supported filters are:+ - description: |-+ JSON specifying filter conditions.+ Accepts the same format as returned by the [queries](https://www.openproject.org/docs/api/endpoints/queries/) endpoint.+ Currently supported filters are:- + sharing: filters versions by how they are shared within the server (*none*, *descendants*, *hierarchy*, *tree*, *system*).- example: '[{ "sharing": { "operator": "*", "values": ["system"] }" }]'- in: query- name: filters- required: false- schema:- type: string+ + sharing: filters versions by how they are shared within the server (*none*, *descendants*, *hierarchy*, *tree*, *system*).+ example: '[{ "sharing": { "operator": "*", "values": ["system"] }" }]'+ in: query+ name: filters+ required: false+ schema:+ type: stringresponses:'200':content:@@ -23,57 +23,57 @@ get:value:_embedded:elements:- - _links:- availableInProjects:- href: "/api/v3/versions/11/projects"- definingProject:- href: "/api/v3/projects/12"- self:- href: "/api/v3/versions/11"- _type: Version- description:- format: plain- html: This version has a description- raw: This version has a description- endDate:- id: 11- name: v3.0 Alpha- startDate: '2014-11-20'- status: Open- - _links:- availableInProjects:- href: "/api/v3/versions/12/projects"- definingProject:- href: "/api/v3/projects/11"- self:- href: "/api/v3/versions/12"- _type: Version- description:- format: plain- html: ''- raw: ''- endDate:- id: 12- name: v2.0- startDate:- status: Closed- - _links:- availableInProjects:- href: "/api/v3/versions/13/projects"- definingProject:- href: "/api/v3/projects/13"- self:- href: "/api/v3/versions/10"- _type: Version- description:- format: plain- html: ''- raw: ''- endDate:- id: 10- name: v1.0- startDate:- status: Open+ - _links:+ availableInProjects:+ href: "/api/v3/versions/11/projects"+ definingProject:+ href: "/api/v3/projects/12"+ self:+ href: "/api/v3/versions/11"+ _type: Version+ description:+ format: plain+ html: This version has a description+ raw: This version has a description+ endDate:+ id: 11+ name: v3.0 Alpha+ startDate: '2014-11-20'+ status: Open+ - _links:+ availableInProjects:+ href: "/api/v3/versions/12/projects"+ definingProject:+ href: "/api/v3/projects/11"+ self:+ href: "/api/v3/versions/12"+ _type: Version+ description:+ format: plain+ html: ''+ raw: ''+ endDate:+ id: 12+ name: v2.0+ startDate:+ status: Closed+ - _links:+ availableInProjects:+ href: "/api/v3/versions/13/projects"+ definingProject:+ href: "/api/v3/projects/13"+ self:+ href: "/api/v3/versions/10"+ _type: Version+ description:+ format: plain+ html: ''+ raw: ''+ endDate:+ id: 10+ name: v1.0+ startDate:+ status: Open_links:self:href: "/api/v3/versions"@@ -85,7 +85,7 @@ get:description: OKheaders: {}tags:- - Versions+ - Versionsdescription: Returns a collection of versions. The client can choose to filter theversions similar to how work packages are filtered. In addition to the providedfilters, the server will reduce the result set to only contain versions, for which@@ -130,7 +130,7 @@ post:* a constraint for a property was violated (`PropertyConstraintViolation`)headers: {}tags:- - Versions+ - Versionsdescription: |-Creates a new version applying the attributes provided in the body. Please note that while there is a fixed set of attributes, custom fields can extend a version's attributes and are accepted by the endpoint.