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
improve api documentation about versions and wp schemas
Christophe Bliardb39681254aa7
diff --git a/docs/api/apiv3/components/schemas/type_model.yml b/docs/api/apiv3/components/schemas/type_model.ymlindex 019f5b932a7..ef601b343a4 100644--- a/docs/api/apiv3/components/schemas/type_model.yml+++ b/docs/api/apiv3/components/schemas/type_model.yml@@ -22,10 +22,11 @@ properties:readOnly: trueisDefault:type: boolean+ description: Is this type active by default in new projects?readOnly: trueisMilestone:type: boolean- description: Do tickets of this type represent a milestone?+ description: Do work packages of this type represent a milestone?readOnly: truecreatedAt:type: stringdiff --git a/docs/api/apiv3/paths/version.yml b/docs/api/apiv3/paths/version.ymlindex b1a5d1030eb..db6ae585294 100644--- a/docs/api/apiv3/paths/version.yml+++ b/docs/api/apiv3/paths/version.yml@@ -54,7 +54,7 @@ delete:description: Deletes the version. Work packages associated to the version will nolonger be assigned to it.operationId: Delete_Version- summary: Delete Version+ summary: Delete versionget:parameters:- description: Version id@@ -93,7 +93,7 @@ get:format: plainhtml: This version has a descriptionraw: This version has a description- endDate:+ endDate:id: 11name: v3.0 Alphasharing: system@@ -206,5 +206,5 @@ patch:description: Updates the given version by applying the attributes provided in thebody. Please note that while there is a fixed set of attributes, custom fieldscan extend a version's attributes and are accepted by the endpoint.- operationId: Update_Versions- summary: Update Versions+ operationId: Update_Version+ summary: Update Versiondiff --git a/docs/api/apiv3/paths/versions.yml b/docs/api/apiv3/paths/versions.ymlindex dcea7d115e4..de0c864d8eb 100644--- a/docs/api/apiv3/paths/versions.yml+++ b/docs/api/apiv3/paths/versions.yml@@ -35,7 +35,7 @@ get:format: plainhtml: This version has a descriptionraw: This version has a description- endDate:+ endDate:id: 11name: v3.0 AlphastartDate: '2014-11-20'@@ -52,10 +52,10 @@ get:format: plainhtml: ''raw: ''- endDate:+ endDate:id: 12name: v2.0- startDate:+ startDate:status: Closed- _links:availableInProjects:@@ -69,10 +69,10 @@ get:format: plainhtml: ''raw: ''- endDate:+ endDate:id: 10name: v1.0- startDate:+ startDate:status: Open_links:self:@@ -143,5 +143,5 @@ post: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.You can use the form and schema to be retrieve the valid attribute values and by that be guided towards successful creation.- operationId: Create_versions- summary: Create versions+ operationId: Create_version+ summary: Create versiondiff --git a/docs/api/apiv3/paths/work_packages_schemas.yml b/docs/api/apiv3/paths/work_packages_schemas.ymlindex 8a78d6d1b27..a8c5a6ed1d3 100644--- a/docs/api/apiv3/paths/work_packages_schemas.yml+++ b/docs/api/apiv3/paths/work_packages_schemas.yml@@ -7,6 +7,8 @@ get:Accepts the same format as returned by the [queries](https://www.openproject.org/docs/api/endpoints/queries/) endpoint. Currently supported filters are:+ id: The schema's id++ Schema id has the form `project_id-work_package_type_id`.example: '[{ "id": { "operator": "=", "values": ["12-1", "14-2"] } }]'in: queryname: filtersdiff --git a/docs/api/apiv3/tags/types.yml b/docs/api/apiv3/tags/types.ymlindex 0d22da7dcb3..63432c66545 100644--- a/docs/api/apiv3/tags/types.yml+++ b/docs/api/apiv3/tags/types.yml@@ -1,5 +1,9 @@---description: |-+ Work package types represented in the system.++ Types exist globally and are then activated for projects.+## Linked Properties| Link | Description | Type | Constraints | Supported operations |@@ -8,14 +12,14 @@ description: |-## Local Properties- | Property | Description | Type | Constraints | Supported operations |- |:----------------:| ---------------------------------------------- | -------- | ----------- | -------------------- |- | id | Type id | Integer | x > 0 | READ |- | name | Type name | String | | READ |- | color | The color used to represent this type | Color | | READ |- | position | Sort index of the type | Integer | | READ |- | isDefault | | Boolean | | READ |- | isMilestone | Do tickets of this type represent a milestone? | Boolean | | READ |- | createdAt | Time of creation | DateTime | | READ |- | updatedAt | Time of the most recent change to the user | DateTime | | READ |+ | Property | Description | Type | Constraints | Supported operations |+ |:----------------:| ---------------------------------------------------- | -------- | ----------- | -------------------- |+ | id | Type id | Integer | x > 0 | READ |+ | name | Type name | String | | READ |+ | color | The color used to represent this type | Color | | READ |+ | position | Sort index of the type | Integer | | READ |+ | isDefault | Is this type active by default in new projects? | Boolean | | READ |+ | isMilestone | Do work packages of this type represent a milestone? | Boolean | | READ |+ | createdAt | Time of creation | DateTime | | READ |+ | updatedAt | Time of the most recent change to the user | DateTime | | READ |name: Types