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
[chore] Updated api specification to v3.1
Eric Schubert163b52194a7d
diff --git a/docs/api/apiv3/components/schemas/activity_model.yml b/docs/api/apiv3/components/schemas/activity_model.ymlindex cd771d269ef..78a199d9acd 100644--- a/docs/api/apiv3/components/schemas/activity_model.yml+++ b/docs/api/apiv3/components/schemas/activity_model.yml@@ -6,14 +6,12 @@ properties:type: integerdescription: Activity idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0version:type: integerdescription: Activity versionreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0comment:allOf:- "$ref": "./formattable.yml"diff --git a/docs/api/apiv3/components/schemas/category_model.yml b/docs/api/apiv3/components/schemas/category_model.ymlindex fe9e5975c93..6f981bbf5f8 100644--- a/docs/api/apiv3/components/schemas/category_model.yml+++ b/docs/api/apiv3/components/schemas/category_model.yml@@ -6,8 +6,7 @@ properties:type: integerdescription: Category idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0name:type: stringdescription: Category namediff --git a/docs/api/apiv3/components/schemas/create_group.yml b/docs/api/apiv3/components/schemas/create_group.ymldeleted file mode 100644index 0d79144c23e..00000000000--- a/docs/api/apiv3/components/schemas/create_group.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Create_group---- {}diff --git a/docs/api/apiv3/components/schemas/create_membership.yml b/docs/api/apiv3/components/schemas/create_membership.ymldeleted file mode 100644index 2df51bddd5e..00000000000--- a/docs/api/apiv3/components/schemas/create_membership.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Create_membership---- {}diff --git a/docs/api/apiv3/components/schemas/create_project.yml b/docs/api/apiv3/components/schemas/create_project.ymldeleted file mode 100644index fdc877b4eb9..00000000000--- a/docs/api/apiv3/components/schemas/create_project.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Create_project---- {}diff --git a/docs/api/apiv3/components/schemas/create_project_copy.yml b/docs/api/apiv3/components/schemas/create_project_copy.ymldeleted file mode 100644index a591064f53a..00000000000--- a/docs/api/apiv3/components/schemas/create_project_copy.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Create_project_copy---- {}diff --git a/docs/api/apiv3/components/schemas/create_time_entry.yml b/docs/api/apiv3/components/schemas/create_time_entry.ymldeleted file mode 100644index ca168beb16b..00000000000--- a/docs/api/apiv3/components/schemas/create_time_entry.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Create_time_entry---- {}diff --git a/docs/api/apiv3/components/schemas/create_user.yml b/docs/api/apiv3/components/schemas/create_user.ymldeleted file mode 100644index fba2a69bbb2..00000000000--- a/docs/api/apiv3/components/schemas/create_user.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Create_User---- {}diff --git a/docs/api/apiv3/components/schemas/cursor_based_pagination.yml b/docs/api/apiv3/components/schemas/cursor_based_pagination.ymldeleted file mode 100644index 972f31d04e4..00000000000--- a/docs/api/apiv3/components/schemas/cursor_based_pagination.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Cursor_based_pagination---- {}diff --git a/docs/api/apiv3/components/schemas/customaction_model.yml b/docs/api/apiv3/components/schemas/customaction_model.ymldeleted file mode 100644index 2208672ba9e..00000000000--- a/docs/api/apiv3/components/schemas/customaction_model.yml+++ /dev/null@@ -1,25 +0,0 @@-# Schema: CustomactionModel-----type: object-properties:- id:- type: integer- description: Custom action id- readOnly: true- minimum: 0- exclusiveMinimum: true- name:- type: string- description: The user selected name of the custom action- readOnly: true- description:- type: string- description: A text describing the custom action- _links:- type: object- properties:- executeImmediately:- allOf:- - "$ref": "./link.yml"- - description: Apply the action to a work package- readOnly: truediff --git a/docs/api/apiv3/components/schemas/delete_group.yml b/docs/api/apiv3/components/schemas/delete_group.ymldeleted file mode 100644index b35812ccd25..00000000000--- a/docs/api/apiv3/components/schemas/delete_group.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Delete_group---- {}diff --git a/docs/api/apiv3/components/schemas/delete_membership.yml b/docs/api/apiv3/components/schemas/delete_membership.ymldeleted file mode 100644index b97f086866a..00000000000--- a/docs/api/apiv3/components/schemas/delete_membership.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Delete_membership---- {}diff --git a/docs/api/apiv3/components/schemas/delete_project.yml b/docs/api/apiv3/components/schemas/delete_project.ymldeleted file mode 100644index 6cda3ae5d66..00000000000--- a/docs/api/apiv3/components/schemas/delete_project.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Delete_project---- {}diff --git a/docs/api/apiv3/components/schemas/delete_time_entry.yml b/docs/api/apiv3/components/schemas/delete_time_entry.ymldeleted file mode 100644index f7c3ae62fbd..00000000000--- a/docs/api/apiv3/components/schemas/delete_time_entry.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Delete_time_entry---- {}diff --git a/docs/api/apiv3/components/schemas/delete_user.yml b/docs/api/apiv3/components/schemas/delete_user.ymldeleted file mode 100644index b7394755ccc..00000000000--- a/docs/api/apiv3/components/schemas/delete_user.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Delete_User---- {}diff --git a/docs/api/apiv3/components/schemas/document_model.yml b/docs/api/apiv3/components/schemas/document_model.ymlindex 5ac6e6825f9..9e3443d7049 100644--- a/docs/api/apiv3/components/schemas/document_model.yml+++ b/docs/api/apiv3/components/schemas/document_model.yml@@ -6,8 +6,7 @@ properties:type: integerdescription: Document's idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0title:type: stringdescription: The title chosen for the collection of documentsdiff --git a/docs/api/apiv3/components/schemas/execute_custom_action.yml b/docs/api/apiv3/components/schemas/execute_custom_action.ymldeleted file mode 100644index 58589b0e0ed..00000000000--- a/docs/api/apiv3/components/schemas/execute_custom_action.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Execute_custom_action---- {}diff --git a/docs/api/apiv3/components/schemas/form_model.yml b/docs/api/apiv3/components/schemas/form_model.ymldeleted file mode 100644index 910aab9cc90..00000000000--- a/docs/api/apiv3/components/schemas/form_model.yml+++ /dev/null@@ -1,37 +0,0 @@-# Schema: FormModel-----type: object-properties:- _links:- type: object- properties:- validate:- allOf:- - "$ref": "./link.yml"- - description: Validate changes, show errors and allowed values for changed- resource- readOnly: true- commit:- allOf:- - "$ref": "./link.yml"- - description: |-- Actually perform changes to the resource-- # Conditions-- form content is valid- readOnly: true- previewMarkup:- allOf:- - "$ref": "./link.yml"- - description: Post markup (e.g. markdown) here to receive an HTML-rendered- response- readOnly: true- self:- allOf:- - "$ref": "./link.yml"- - description: |-- This form-- **Resource**: Form- readOnly: truediff --git a/docs/api/apiv3/components/schemas/grid_create_form.yml b/docs/api/apiv3/components/schemas/grid_create_form.ymldeleted file mode 100644index 20d915531ab..00000000000--- a/docs/api/apiv3/components/schemas/grid_create_form.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Grid_Create_Form---- {}diff --git a/docs/api/apiv3/components/schemas/grid_model.yml b/docs/api/apiv3/components/schemas/grid_model.ymlindex 5a674d319e7..4db9afb3369 100644--- a/docs/api/apiv3/components/schemas/grid_model.yml+++ b/docs/api/apiv3/components/schemas/grid_model.yml@@ -6,18 +6,15 @@ properties:type: integerdescription: Grid's idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0rowCount:type: integerdescription: The number of rows the grid has- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0columnCount:type: integerdescription: The number of columns the grid has- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0widgets:type: arraydescription: |-diff --git a/docs/api/apiv3/components/schemas/grid_update_form.yml b/docs/api/apiv3/components/schemas/grid_update_form.ymldeleted file mode 100644index 3edd2b9a374..00000000000--- a/docs/api/apiv3/components/schemas/grid_update_form.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Grid_Update_Form---- {}diff --git a/docs/api/apiv3/components/schemas/grids_model.yml b/docs/api/apiv3/components/schemas/grids_model.ymldeleted file mode 100644index 995bdeb96f2..00000000000--- a/docs/api/apiv3/components/schemas/grids_model.yml+++ /dev/null@@ -1,94 +0,0 @@-# Schema: GridsModel-----type: object-example:- _type: Collection- total: 1- count: 1- pageSize: 30- offset: 1- _embedded:- elements:- - _type: Grid- id: 2- rowCount: 8- columnCount: 5- widgets:- - _type: GridWidget- identifier: time_entries_current_user- startRow: 1- endRow: 8- startColumn: 1- endColumn: 3- - _type: GridWidget- identifier: news- startRow: 3- endRow: 8- startColumn: 4- endColumn: 5- - _type: GridWidget- identifier: documents- startRow: 1- endRow: 3- startColumn: 3- endColumn: 6- createdAt: '2018-12-03T16:58:30Z'- updatedAt: '2018-12-13T19:36:40Z'- _links:- scope:- href: "/my/page"- type: text/html- updateImmediately:- href: "/api/v3/grids/2"- method: patch- update:- href: "/api/v3/grids/2/form"- method: post- self:- href: "/api/v3/grids/2"- - _type: Grid- id: 5- rowCount: 1- columnCount: 4- widgets:- - _type: GridWidget- identifier: work_package_query- startRow: 1- endRow: 8- startColumn: 1- endColumn: 3- - _type: GridWidget- identifier: work_package_query- startRow: 3- endRow: 8- startColumn: 4- endColumn: 5- - _type: GridWidget- identifier: work_package_query- startRow: 1- endRow: 3- startColumn: 3- endColumn: 6- createdAt: '2019-01-05T16:58:30Z'- updatedAt: '2019-01-07T19:36:40Z'- _links:- scope:- href: "/projects/a_project/boards"- type: text/html- updateImmediately:- href: "/api/v3/grids/5"- method: patch- update:- href: "/api/v3/grids/5/form"- method: post- self:- href: "/api/v3/grids/5"- _links:- self:- href: "/api/v3/grids?offset=1&pageSize=30"- jumpTo:- href: "/api/v3/grids?offset=%7Boffset%7D&pageSize=30"- templated: true- changeSize:- href: "/api/v3/grids?offset=1&pageSize=%7Bsize%7D"- templated: truediff --git a/docs/api/apiv3/components/schemas/group_model.yml b/docs/api/apiv3/components/schemas/group_model.ymldeleted file mode 100644index ccb11f55624..00000000000--- a/docs/api/apiv3/components/schemas/group_model.yml+++ /dev/null@@ -1,89 +0,0 @@-# Schema: GroupModel-----type: object-properties:- id:- type: integer- description: Group's id- readOnly: true- minimum: 0- exclusiveMinimum: true- name:- type: string- description: |-- Group's full name, formatting depends on instance settings-- # Conditions-- Admin to write- createdAt:- type: string- format: date-time- description: |-- Time of creation-- # Conditions-- Only visible by admins- readOnly: true- updatedAt:- type: string- format: date-time- description: Time of the most recent change to the user- readOnly: true- _links:- type: object- required:- - self- properties:- delete:- allOf:- - "$ref": "./link.yml"- - description: |-- Deletes the group.-- # Conditions-- **Permission**: Administrator- readOnly: true- updateImmediately:- allOf:- - "$ref": "./link.yml"- - description: |-- Updates the group's attributes.-- # Conditions-- **Permission**: Administrator- readOnly: true- self:- allOf:- - "$ref": "./link.yml"- - description: |-- This group-- **Resource**: Group- readOnly: true- memberships:- allOf:- - "$ref": "./link.yml"- - description: |-- Link to collection of all the group's memberships. The list will only include the memberships in projects in which the requesting user has the necessary permissions.-- **Resource**: MemberCollection-- # Conditions-- **Permission**: view members or manage members in any project- readOnly: true- members:- allOf:- - "$ref": "./link.yml"- - description: |-- The list all all the users that are members of the group-- **Resource**: UserCollection-- # Conditions-- **Permission**: manage members in any project to read & admin to writediff --git a/docs/api/apiv3/components/schemas/helptext_model.yml b/docs/api/apiv3/components/schemas/helptext_model.ymldeleted file mode 100644index adcd134fe6d..00000000000--- a/docs/api/apiv3/components/schemas/helptext_model.yml+++ /dev/null@@ -1,43 +0,0 @@-# Schema: HelptextModel-----type: object-properties:- id:- type: integer- description: Help text id- readOnly: true- minimum: 0- exclusiveMinimum: true- attribute:- type: string- description: Attribute name- readOnly: true- attributeCaption:- type: string- description: Attribute caption- readOnly: true- helpText:- allOf:- - "$ref": "./formattable.yml"- - description: Help text content- _links:- type: object- required:- - self- properties:- self:- allOf:- - "$ref": "./link.yml"- - description: |-- This help text-- **Resource**: HelpText- readOnly: true- editText:- allOf:- - "$ref": "./link.yml"- - description: |-- Edit the help text entry-- **Resource**: text/htm- readOnly: truediff --git a/docs/api/apiv3/components/schemas/link.yml b/docs/api/apiv3/components/schemas/link.ymlindex e5767d966f8..56633620291 100644--- a/docs/api/apiv3/components/schemas/link.yml+++ b/docs/api/apiv3/components/schemas/link.yml@@ -5,8 +5,9 @@ required:- hrefproperties:href:- type: string- nullable: true+ type:+ - 'string'+ - 'null'description: URL to the referenced resource (might be relative)title:type: stringdiff --git a/docs/api/apiv3/components/schemas/lock_user.yml b/docs/api/apiv3/components/schemas/lock_user.ymldeleted file mode 100644index e7e29cef86b..00000000000--- a/docs/api/apiv3/components/schemas/lock_user.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Lock_user---- {}diff --git a/docs/api/apiv3/components/schemas/markdown.yml b/docs/api/apiv3/components/schemas/markdown.ymldeleted file mode 100644index 434a108828e..00000000000--- a/docs/api/apiv3/components/schemas/markdown.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Markdown---- {}diff --git a/docs/api/apiv3/components/schemas/membership_create_form.yml b/docs/api/apiv3/components/schemas/membership_create_form.ymldeleted file mode 100644index f1b9aa92a53..00000000000--- a/docs/api/apiv3/components/schemas/membership_create_form.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Membership_create_form---- {}diff --git a/docs/api/apiv3/components/schemas/membership_model.yml b/docs/api/apiv3/components/schemas/membership_model.ymldeleted file mode 100644index f8ff170cbaf..00000000000--- a/docs/api/apiv3/components/schemas/membership_model.yml+++ /dev/null@@ -1,62 +0,0 @@-# Schema: MembershipModel-----type: object-required:-- createdAt-- updatedAt-properties:- id:- type: integer- description: Membership id- readOnly: true- minimum: 0- exclusiveMinimum: true- createdAt:- type: string- format: date-time- description: Time of creation- readOnly: true- updatedAt:- type: string- format: date-time- description: Time of latest update- readOnly: true- _links:- type: object- required:- - self- - roles- - principal- properties:- self:- allOf:- - "$ref": "./link.yml"- - description: |-- This membership-- **Resource**: Membership- readOnly: true- project:- allOf:- - "$ref": "./link.yml"- - description: |-- The project for which the membership is granted-- **Resource**: Project- readOnly: true- roles:- allOf:- - "$ref": "./link.yml"- - description: |-- The list of roles the user or group is granted in the project-- **Resource**: RoleCollection- readOnly: true- principal:- allOf:- - "$ref": "./link.yml"- - description: |-- The user or group that was granted membership-- **Resource**: User or Group- readOnly: truediff --git a/docs/api/apiv3/components/schemas/membership_update_form.yml b/docs/api/apiv3/components/schemas/membership_update_form.ymldeleted file mode 100644index 2a43cc87238..00000000000--- a/docs/api/apiv3/components/schemas/membership_update_form.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Membership_update_form---- {}diff --git a/docs/api/apiv3/components/schemas/news_model.yml b/docs/api/apiv3/components/schemas/news_model.ymlindex 01018da64e2..c95dc24815c 100644--- a/docs/api/apiv3/components/schemas/news_model.yml+++ b/docs/api/apiv3/components/schemas/news_model.yml@@ -6,8 +6,7 @@ properties:type: integerdescription: News' idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0title:type: stringdescription: The headline of the newsdiff --git a/docs/api/apiv3/components/schemas/notification_settings_model.yml b/docs/api/apiv3/components/schemas/notification_settings_model.ymldeleted file mode 100644index 4fd8441c1e4..00000000000--- a/docs/api/apiv3/components/schemas/notification_settings_model.yml+++ /dev/null@@ -1,105 +0,0 @@-# Schema: NotificationSettingModel-----type: array-description: The settings for the notifications to be received by the user-items:- type: object- required:- - watched- - involved- - mentioned- - workPackageCreated- - workPackageCommented- - workPackageProcessed- - workPackagePrioritized- - workPackageScheduled- - newsAdded- - newsCommented- - documentAdded- - forumMessages- - wikiPageAdded- - wikiPageUpdated- - membershipAdded- - membershipUpdated- - _links- properties:- documentAdded:- type: boolean- forumMessages:- type: boolean- involved:- type: boolean- membershipAdded:- type: boolean- membershipUpdated:- type: boolean- mentioned:- type: boolean- newsAdded:- type: boolean- newsCommented:- type: boolean- overdue:- type: string- description: |-- Sets an overdue notification for work packages. It is null when no notification is set,- otherwise it holds an ISO8601 formatted duration string with the possible values listed below.- The possible values are: none, every day, every 3 days, every week.- enum:- - ""- - P1D- - P3D- - P1W- startDate:- type: string- description: |-- Sets a startDate notification for work packages. It is null when no notification is set,- otherwise it holds an ISO8601 formatted duration string with the possible values listed below.- The possible values are: none, same day, 1 day before, 3 days before, 1 week before.- enum:- - ""- - PT0S- - P1D- - P3D- - P1W- dueDate:- type: string- description: |-- Sets a dueDate notification for work packages. It is null when no notification is set,- otherwise it holds an ISO8601 formatted duration string with the possible values listed below.- The possible values are: none, same day, 1 day before, 3 days before, 1 week before.- enum:- - ""- - PT0S- - P1D- - P3D- - P1W- watched:- type: boolean- workPackageCreated:- type: boolean- workPackageCommented:- type: boolean- workPackageProcessed:- type: boolean- workPackagePrioritized:- type: boolean- workPackageScheduled:- type: boolean- wikiPageAdded:- type: boolean- wikiPageUpdated:- type: boolean- _links:- type: object- required:- - project- properties:- project:- type: object- required:- - href- properties:- href:- type: string- format: uridiff --git a/docs/api/apiv3/components/schemas/offset_based_pagination.yml b/docs/api/apiv3/components/schemas/offset_based_pagination.ymldeleted file mode 100644index df79b8764fc..00000000000--- a/docs/api/apiv3/components/schemas/offset_based_pagination.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Offset_based_pagination---- {}diff --git a/docs/api/apiv3/components/schemas/plain_text.yml b/docs/api/apiv3/components/schemas/plain_text.ymldeleted file mode 100644index 555c8793f85..00000000000--- a/docs/api/apiv3/components/schemas/plain_text.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Plain_Text---- {}diff --git a/docs/api/apiv3/components/schemas/post_model.yml b/docs/api/apiv3/components/schemas/post_model.ymlindex 835ce5295b6..9f902de413d 100644--- a/docs/api/apiv3/components/schemas/post_model.yml+++ b/docs/api/apiv3/components/schemas/post_model.yml@@ -8,8 +8,7 @@ properties:type: integerdescription: Identifier of this postreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0subject:type: stringdescription: The post's subjectdiff --git a/docs/api/apiv3/components/schemas/previewing_model.yml b/docs/api/apiv3/components/schemas/previewing_model.ymldeleted file mode 100644index 6cf67f4a9fa..00000000000--- a/docs/api/apiv3/components/schemas/previewing_model.yml+++ /dev/null@@ -1,3 +0,0 @@-# Schema: PreviewingModel-----type: objectdiff --git a/docs/api/apiv3/components/schemas/principal_model.yml b/docs/api/apiv3/components/schemas/principal_model.ymldeleted file mode 100644index 8b366f58623..00000000000--- a/docs/api/apiv3/components/schemas/principal_model.yml+++ /dev/null@@ -1,3 +0,0 @@-# Schema: PrincipalModel-----type: objectdiff --git a/docs/api/apiv3/components/schemas/priority_model.yml b/docs/api/apiv3/components/schemas/priority_model.ymlindex b2dfe42968d..f1a0824056d 100644--- a/docs/api/apiv3/components/schemas/priority_model.yml+++ b/docs/api/apiv3/components/schemas/priority_model.yml@@ -6,8 +6,7 @@ properties:type: integerdescription: Priority idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0name:type: stringdescription: Priority name@@ -17,8 +16,7 @@ properties:type: integerdescription: Sort index of the priorityreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0isDefault:type: booleandescription: Indicates whether this is the default valuediff --git a/docs/api/apiv3/components/schemas/project_copy_form.yml b/docs/api/apiv3/components/schemas/project_copy_form.ymldeleted file mode 100644index 38764fb6e82..00000000000--- a/docs/api/apiv3/components/schemas/project_copy_form.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Project_copy_form---- {}diff --git a/docs/api/apiv3/components/schemas/project_create_form.yml b/docs/api/apiv3/components/schemas/project_create_form.ymldeleted file mode 100644index c01bd1f350d..00000000000--- a/docs/api/apiv3/components/schemas/project_create_form.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Project_create_form---- {}diff --git a/docs/api/apiv3/components/schemas/project_update_form.yml b/docs/api/apiv3/components/schemas/project_update_form.ymldeleted file mode 100644index b5f904c8cc5..00000000000--- a/docs/api/apiv3/components/schemas/project_update_form.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Project_update_form---- {}diff --git a/docs/api/apiv3/components/schemas/query_model.yml b/docs/api/apiv3/components/schemas/query_model.ymlindex 3d8afc652da..daf1fe37eb1 100644--- a/docs/api/apiv3/components/schemas/query_model.yml+++ b/docs/api/apiv3/components/schemas/query_model.yml@@ -9,8 +9,7 @@ properties:type: integerdescription: Query idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0name:type: stringdescription: Query name@@ -123,4 +122,4 @@ properties:# Conditions**Permission**: save queries for own queries, manage public queries for public queries;- readOnly: true\ No newline at end of file+ readOnly: truediff --git a/docs/api/apiv3/components/schemas/relation_model.yml b/docs/api/apiv3/components/schemas/relation_model.ymlindex d1bf4d8a91e..4a10e966fc9 100644--- a/docs/api/apiv3/components/schemas/relation_model.yml+++ b/docs/api/apiv3/components/schemas/relation_model.yml@@ -6,8 +6,7 @@ properties:type: integerdescription: Relation IDreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0name:type: stringdescription: The internationalized name of this kind of relationdiff --git a/docs/api/apiv3/components/schemas/relation_schema_for_type.yml b/docs/api/apiv3/components/schemas/relation_schema_for_type.ymldeleted file mode 100644index 983b099954f..00000000000--- a/docs/api/apiv3/components/schemas/relation_schema_for_type.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Relation_schema_for_type---- {}diff --git a/docs/api/apiv3/components/schemas/remove_watcher.yml b/docs/api/apiv3/components/schemas/remove_watcher.ymldeleted file mode 100644index 782e5b8d8e7..00000000000--- a/docs/api/apiv3/components/schemas/remove_watcher.yml+++ /dev/null@@ -1,2 +0,0 @@-# Schema: Remove_Watcher---- {}diff --git a/docs/api/apiv3/components/schemas/revision_model.yml b/docs/api/apiv3/components/schemas/revision_model.ymlindex 02de971d433..357a65a89a7 100644--- a/docs/api/apiv3/components/schemas/revision_model.yml+++ b/docs/api/apiv3/components/schemas/revision_model.yml@@ -12,8 +12,7 @@ properties:type: integerdescription: Revision's id, assigned by OpenProjectreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0identifier:type: stringdescription: The raw SCM identifier of the revision (e.g. full SHA hash)diff --git a/docs/api/apiv3/components/schemas/time_entry_activity_model.yml b/docs/api/apiv3/components/schemas/time_entry_activity_model.ymldeleted file mode 100644index b2679333f80..00000000000--- a/docs/api/apiv3/components/schemas/time_entry_activity_model.yml+++ /dev/null@@ -1,44 +0,0 @@-# Schema: Time_Entry_ActivityModel-----type: object-properties:- id:- type: integer- description: Time entries' id- readOnly: true- minimum: 0- exclusiveMinimum: true- name:- type: string- description: The human readable name chosen for this activity- readOnly: true- position:- type: string- format: date- description: The rank the activity has in a list of activities- readOnly: true- default:- type: boolean- description: Flag to signal whether this activity is the default activity- readOnly: true- _links:- type: object- required:- - self- - projects- properties:- self:- allOf:- - "$ref": "./link.yml"- - description: |-- This time entry activity-- **Resource**: TimeEntriesActivity- readOnly: true- projects:- allOf:- - "$ref": "./link.yml"- - description: |-- List of projects the time entry is active in-- **Resource**: []Projectdiff --git a/docs/api/apiv3/components/schemas/time_entry_model.yml b/docs/api/apiv3/components/schemas/time_entry_model.ymldeleted file mode 100644index 7b8c41a53f1..00000000000--- a/docs/api/apiv3/components/schemas/time_entry_model.yml+++ /dev/null@@ -1,106 +0,0 @@-# Schema: Time_EntryModel-----type: object-properties:- id:- type: integer- description: Time entries' id- readOnly: true- minimum: 0- exclusiveMinimum: true- comment:- type: string- description: A text provided by the user detailing the time entry- spentOn:- type: string- format: date- description: The date the expenditure is booked for- hours:- type: string- format: date- description: The time quantifying the expenditure- createdAt:- type: string- format: date-time- description: The time the time entry was created- readOnly: true- updatedAt:- type: string- format: date-time- description: The time the time entry was last updated- readOnly: true- _links:- type: object- required:- - self- - project- - user- - activity- properties:- updateImmediately:- allOf:- - "$ref": "./link.yml"- - description: |-- Directly perform edits on this time entry-- # Conditions-- **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user- readOnly: true- update:- allOf:- - "$ref": "./link.yml"- - description: |-- Form endpoint that aids in preparing and performing edits on a TimeEntry-- # Conditions-- **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user- readOnly: true- delete:- allOf:- - "$ref": "./link.yml"- - description: |-- Delete this time entry-- # Conditions-- **Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user- readOnly: true- self:- allOf:- - "$ref": "./link.yml"- - description: |-- This time entry-- **Resource**: TimeEntry- readOnly: true- project:- allOf:- - "$ref": "./link.yml"- - description: |-- The project the time entry is bundled in. The project might be different from the work package's project once the workPackage is moved.-- **Resource**: Project- workPackage:- allOf:- - "$ref": "./link.yml"- - description: |-- The work package the time entry is created on-- **Resource**: WorkPackage- user:- allOf:- - "$ref": "./link.yml"- - description: |-- The user the time entry tracks expenditures for-- **Resource**: User- readOnly: true- activity:- allOf:- - "$ref": "./link.yml"- - description: |-- The time entry activity the time entry is categorized as-- **Resource**: TimeEntriesActivitydiff --git a/docs/api/apiv3/components/schemas/type_model.yml b/docs/api/apiv3/components/schemas/type_model.ymlindex ef601b343a4..576a05439b2 100644--- a/docs/api/apiv3/components/schemas/type_model.yml+++ b/docs/api/apiv3/components/schemas/type_model.yml@@ -6,8 +6,7 @@ properties:type: integerdescription: Type idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0name:type: stringdescription: Type namediff --git a/docs/api/apiv3/components/schemas/user_model.yml b/docs/api/apiv3/components/schemas/user_model.ymlindex ae149a5b771..f779332fce7 100644--- a/docs/api/apiv3/components/schemas/user_model.yml+++ b/docs/api/apiv3/components/schemas/user_model.yml@@ -79,8 +79,9 @@ properties:**Permission**: Administrator, manage_user global permissionidentityUrl:- type: string- nullable: true+ type:+ - 'string'+ - 'null'description: |-User's identity_url for OmniAuth authenticationdiff --git a/docs/api/apiv3/components/schemas/version_model.yml b/docs/api/apiv3/components/schemas/version_model.ymlindex 013541b45d4..51521b43034 100644--- a/docs/api/apiv3/components/schemas/version_model.yml+++ b/docs/api/apiv3/components/schemas/version_model.yml@@ -12,8 +12,7 @@ properties:type: integerdescription: Version idreadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0name:type: stringdescription: Version namediff --git a/docs/api/apiv3/components/schemas/wiki_page_model.yml b/docs/api/apiv3/components/schemas/wiki_page_model.ymlindex 18002af4053..77b40fe5cdf 100644--- a/docs/api/apiv3/components/schemas/wiki_page_model.yml+++ b/docs/api/apiv3/components/schemas/wiki_page_model.yml@@ -8,8 +8,7 @@ properties:type: integerdescription: Identifier of this wiki pagereadOnly: true- minimum: 0- exclusiveMinimum: true+ exclusiveMinimum: 0title:type: stringdescription: The wiki page's titlediff --git a/docs/api/apiv3/components/schemas/work_package_patch_model.yml b/docs/api/apiv3/components/schemas/work_package_patch_model.ymlnew file mode 100644index 00000000000..fc5aae1d604--- /dev/null+++ b/docs/api/apiv3/components/schemas/work_package_patch_model.yml@@ -0,0 +1,176 @@+# Schema: WorkPackagePatchModel+---+type: object+required:+ - lockVersion+properties:+ lockVersion:+ type: integer+ description: The version of the item as used for optimistic locking+ subject:+ type: string+ description: Work package subject+ description:+ allOf:+ - $ref: "./formattable.yml"+ - description: The work package description+ scheduleManually:+ type: boolean+ description: If false (default) schedule automatically.+ startDate:+ type: string+ format: date+ description: Scheduled beginning of a work package+ dueDate:+ type: string+ format: date+ description: Scheduled end of a work package+ date:+ type: string+ format: date+ description: Date on which a milestone is achieved+ estimatedTime:+ type: string+ format: duration+ description: Time a work package likely needs to be completed excluding its descendants+ ignoreNonWorkingDays:+ type: boolean+ description: |-+ **(NOT IMPLEMENTED)** When scheduling, whether or not to ignore the non working days being defined.+ A work package with the flag set to true will be allowed to be scheduled to a non working day.+ readOnly: true+ spentTime:+ type: string+ format: duration+ description: |-+ The time booked for this work package by users working on it++ # Conditions++ **Permission** view time entries+ readOnly: true+ percentageDone:+ type: integer+ description: Amount of total completion for a work package+ maximum: 100+ createdAt:+ type: string+ format: date-time+ description: Time of creation+ readOnly: true+ updatedAt:+ type: string+ format: date-time+ description: Time of the most recent change to the work package+ readOnly: true+ _links:+ type: object+ properties:+ assignee:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The person that is intended to work on the work package++ **Resource**: User+ budget:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The budget this work package is associated to++ **Resource**: Budget++ # Conditions++ **Permission** view cost objects+ category:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The category of the work package++ **Resource**: Category+ parent:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ Parent work package++ **Resource**: WorkPackage+ priority:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The priority of the work package++ **Resource**: Priority+ project:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The project to which the work package belongs++ **Resource**: Project+ responsible:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The person that is responsible for the overall outcome++ **Resource**: User+ status:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The current status of the work package++ **Resource**: Status+ type:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The type of the work package++ **Resource**: Type+ version:+ allOf:+ - $ref: "./link.yml"+ - description: |-+ The version associated to the work package++ **Resource**: Version++examples:+ - subject: Upgrade hangar 25+ lockVersion: 0+ description:+ format: markdown+ raw: we need more place for new TIE Advanced+ html: "<p>we need more place for new TIE Advanced</p>"+ scheduleManually: false+ _links:+ responsible:+ href: "/api/v3/users/23"+ title: Palpatine+ assignee:+ href: "/api/v3/users/33"+ title: Darth Vader+ priority:+ href: "/api/v3/priorities/2"+ title: Normal+ project:+ href: "/api/v3/projects/1"+ title: Galactic Conquest+ status:+ href: "/api/v3/statuses/1"+ title: New+ type:+ href: "/api/v3/types/11"+ title: DeathStarUpgrades+ version:+ href: "/api/v3/versions/1"+ title: Version 1+ parent:+ href: "/api/v3/work_packages/1298"+ title: ct'hulhu f'tagndiff --git a/docs/api/apiv3/openapi-spec.yml b/docs/api/apiv3/openapi-spec.ymlindex 7a4d13e7fa1..fe000a4a39d 100644--- a/docs/api/apiv3/openapi-spec.yml+++ b/docs/api/apiv3/openapi-spec.yml@@ -1,5 +1,5 @@----openapi: 3.0.0+openapi: 3.1.0info:description: |-@@ -541,26 +541,10 @@ components:"$ref": "./components/schemas/collection_model.yml"ConfigurationModel:"$ref": "./components/schemas/configuration_model.yml"- Create_User:- "$ref": "./components/schemas/create_user.yml"- Create_group:- "$ref": "./components/schemas/create_group.yml"- Create_membership:- "$ref": "./components/schemas/create_membership.yml"- Create_project:- "$ref": "./components/schemas/create_project.yml"- Create_project_copy:- "$ref": "./components/schemas/create_project_copy.yml"- Create_time_entry:- "$ref": "./components/schemas/create_time_entry.yml"- Cursor_based_pagination:- "$ref": "./components/schemas/cursor_based_pagination.yml"Custom_ActionModel:"$ref": "./components/schemas/custom_action_model.yml"Custom_OptionModel:"$ref": "./components/schemas/custom_option_model.yml"- CustomactionModel:- "$ref": "./components/schemas/customaction_model.yml"DayCollectionModel:"$ref": "./components/schemas/day_collection_model.yml"DayModel:@@ -569,16 +553,6 @@ components:"$ref": "./components/schemas/default_query_model.yml"Default_Query_for_ProjectModel:"$ref": "./components/schemas/default_query_for_project_model.yml"- Delete_User:- "$ref": "./components/schemas/delete_user.yml"- Delete_group:- "$ref": "./components/schemas/delete_group.yml"- Delete_membership:- "$ref": "./components/schemas/delete_membership.yml"- Delete_project:- "$ref": "./components/schemas/delete_project.yml"- Delete_time_entry:- "$ref": "./components/schemas/delete_time_entry.yml"DocumentModel:"$ref": "./components/schemas/document_model.yml"DocumentsModel:@@ -589,8 +563,6 @@ components:"$ref": "./components/schemas/example_form_model.yml"Example_SchemaModel:"$ref": "./components/schemas/example_schema_model.yml"- Execute_custom_action:- "$ref": "./components/schemas/execute_custom_action.yml"FileLinkCollectionReadModel:$ref: './components/schemas/file_link_collection_read_model.yml'FileLinkCollectionWriteModel:@@ -601,26 +573,14 @@ components:$ref: './components/schemas/file_link_read_model.yml'FileLinkWriteModel:$ref: './components/schemas/file_link_write_model.yml'- FormModel:- "$ref": "./components/schemas/form_model.yml"Formattable:"$ref": "./components/schemas/formattable.yml"GridModel:"$ref": "./components/schemas/grid_model.yml"- Grid_Create_Form:- "$ref": "./components/schemas/grid_create_form.yml"- Grid_Update_Form:- "$ref": "./components/schemas/grid_update_form.yml"- GridsModel:- "$ref": "./components/schemas/grids_model.yml"- GroupModel:- "$ref": "./components/schemas/group_model.yml"Help_textModel:"$ref": "./components/schemas/help_text_model.yml"Help_textsModel:"$ref": "./components/schemas/help_texts_model.yml"- HelptextModel:- "$ref": "./components/schemas/helptext_model.yml"Link:"$ref": "./components/schemas/link.yml"List_actionsModel:@@ -641,18 +601,8 @@ components:"$ref": "./components/schemas/list_projects_by_version_model.yml"List_time_entriesModel:"$ref": "./components/schemas/list_time_entries_model.yml"- Lock_user:- "$ref": "./components/schemas/lock_user.yml"- Markdown:- "$ref": "./components/schemas/markdown.yml"MarkdownModel:"$ref": "./components/schemas/markdown_model.yml"- MembershipModel:- "$ref": "./components/schemas/membership_model.yml"- Membership_create_form:- "$ref": "./components/schemas/membership_create_form.yml"- Membership_update_form:- "$ref": "./components/schemas/membership_update_form.yml"NewsModel:"$ref": "./components/schemas/news_model.yml"NonWorkingDayCollectionModel:@@ -663,26 +613,16 @@ components:"$ref": "./components/schemas/notification_collection_model.yml"NotificationModel:"$ref": "./components/schemas/notification_model.yml"- NotificationSettingsModel:- "$ref": "./components/schemas/notification_settings_model.yml"- Offset_based_pagination:- "$ref": "./components/schemas/offset_based_pagination.yml"OAuthApplicationReadModel:"$ref": "./components/schemas/oauth_application_read_model.yml"OAuthClientCredentialsReadModel:"$ref": "./components/schemas/oauth_client_credentials_read_model.yml"OAuthClientCredentialsWriteModel:"$ref": "./components/schemas/oauth_client_credentials_write_model.yml"- Plain_Text:- "$ref": "./components/schemas/plain_text.yml"Plain_TextModel:"$ref": "./components/schemas/plain_text_model.yml"PostModel:"$ref": "./components/schemas/post_model.yml"- PreviewingModel:- "$ref": "./components/schemas/previewing_model.yml"- PrincipalModel:- "$ref": "./components/schemas/principal_model.yml"PrincipalsModel:"$ref": "./components/schemas/principals_model.yml"PrioritiesModel:@@ -695,12 +635,6 @@ components:"$ref": "./components/schemas/project_storage_collection_model.yml"ProjectStorageModel:"$ref": "./components/schemas/project_storage_model.yml"- Project_copy_form:- "$ref": "./components/schemas/project_copy_form.yml"- Project_create_form:- "$ref": "./components/schemas/project_create_form.yml"- Project_update_form:- "$ref": "./components/schemas/project_update_form.yml"Projects_schemaModel:"$ref": "./components/schemas/projects_schema_model.yml"QueriesModel:@@ -731,12 +665,8 @@ components:"$ref": "./components/schemas/relation_edit_form_model.yml"Relation_schemaModel:"$ref": "./components/schemas/relation_schema_model.yml"- Relation_schema_for_type:- "$ref": "./components/schemas/relation_schema_for_type.yml"RelationsModel:"$ref": "./components/schemas/relations_model.yml"- Remove_Watcher:- "$ref": "./components/schemas/remove_watcher.yml"RevisionModel:"$ref": "./components/schemas/revision_model.yml"RevisionsModel:@@ -771,10 +701,6 @@ components:"$ref": "./components/schemas/storage_read_model.yml"StorageWriteModel:"$ref": "./components/schemas/storage_write_model.yml"- Time_EntryModel:- "$ref": "./components/schemas/time_entry_model.yml"- Time_Entry_ActivityModel:- "$ref": "./components/schemas/time_entry_activity_model.yml"TypeModel:"$ref": "./components/schemas/type_model.yml"TypesModel:@@ -845,6 +771,8 @@ components:"$ref": "./components/schemas/work_package_activities_model.yml"Work_PackagesModel:"$ref": "./components/schemas/work_packages_model.yml"+ WorkPackagePatchModel:+ "$ref": "./components/schemas/work_package_patch_model.yml"securitySchemes:BasicAuth:type: httpdiff --git a/docs/api/apiv3/paths/work_package.yml b/docs/api/apiv3/paths/work_package.ymlindex 696bb52bb53..59f163dfddc 100644--- a/docs/api/apiv3/paths/work_package.yml+++ b/docs/api/apiv3/paths/work_package.yml@@ -111,36 +111,37 @@ get:**Required permission:** view work packagepatch:- summary: Edit Work Package- operationId: edit_work_package+ summary: Update a Work Package+ operationId: update_work_packagetags:- Work Packagesdescription: |-- When calling this endpoint the client provides a single object, containing the properties and links that it wants to change, in the body.- Note that it is only allowed to provide properties or links supporting the **write** operation.+ When calling this endpoint the client provides a single object, containing the properties and links that it wants+ to change, in the body. Note that it is only allowed to provide properties or links supporting the **write**+ operation.- Additionally to the fields the client wants to change, it is mandatory to provide the value of `lockVersion` which was received- by the `GET` request this change originates from.+ Additionally to the fields the client wants to change, it is mandatory to provide the value of `lockVersion` which+ was received by the `GET` request this change originates from.- The value of `lockVersion` is used to implement [optimistic locking](https://en.wikipedia.org/wiki/Optimistic_concurrency_control).+ The value of `lockVersion` is used to implement+ [optimistic locking](https://en.wikipedia.org/wiki/Optimistic_concurrency_control).parameters:- - description: Work package id+ - name: id+ description: Work package idin: path- name: idrequired: trueschema:type: integer- example: 1- - description: |-- Indicates whether change notifications (e.g. via E-Mail) should be sent.- Note that this controls notifications for all users interested in changes to the work package (e.g. watchers, author and assignee),- not just the current user.+ example: 42+ - name: notify+ description: |-+ Indicates whether change notifications should be sent. Note that this controls notifications for all users+ interested in changes to the work package (e.g. watchers, author and assignee), not just the current user.in: query- name: notifyrequired: falseschema:- default: truetype: boolean+ default: trueexample: falserequestBody:content:@@ -152,7 +153,7 @@ patch:content:application/hal+json:schema:- '$ref': '../components/schemas/work_package_model.yml'+ '$ref': '../components/schemas/work_package_patch_model.yml'description: OK'400':$ref: '../components/responses/invalid_request_body.yml'diff --git a/docs/api/apiv3/paths/work_package_available_relation_candidates.yml b/docs/api/apiv3/paths/work_package_available_relation_candidates.ymlindex 300d3a3e7c3..ae90fa3feaa 100644--- a/docs/api/apiv3/paths/work_package_available_relation_candidates.yml+++ b/docs/api/apiv3/paths/work_package_available_relation_candidates.yml@@ -1,54 +1,59 @@# /api/v3/work_packages/{id}/available_relation_candidates---get:+ summary: Available relation candidates+ operationId: list_available_relation_candidates+ tags:+ - Work Packages+ description: ''parameters:- - description: Project id- example: '1'- in: path- name: id- required: true- schema:- type: integer- - description: Maximum number of candidates to list (default 10)- example: '25'- in: query- name: pageSize- required: false- schema:- type: integer- - description: |-- JSON specifying filter conditions.- Accepts the same filters as the [work packages](https://www.openproject.org/docs/api/endpoints/work-packages/) endpoint.- example: '[{ "status_id": { "operator": "o", "values": null } }]'- in: query- name: filters- required: false- schema:- type: string- - description: Shortcut for filtering by ID or subject- example: '"rollout"'- in: query- name: query- required: false- schema:- type: string- - description: Type of relation to find candidates for (default "relates")- example: '"follows"'- in: query- name: type- required: false- schema:- type: string- - description: |-- JSON specifying sort criteria.- Accepts the same sort criteria as the [work packages](https://www.openproject.org/docs/api/endpoints/work-packages/) endpoint.- example: '[["status", "asc"]]'- in: query- name: sortBy- required: false- schema:- default: '[["id", "asc"]]'- type: string+ - description: Project id+ example: '1'+ in: path+ name: id+ required: true+ schema:+ type: integer+ - description: Maximum number of candidates to list (default 10)+ example: '25'+ in: query+ name: pageSize+ required: false+ schema:+ type: integer+ - description: |-+ JSON specifying filter conditions.+ Accepts the same filters as the [work packages](https://www.openproject.org/docs/api/endpoints/work-packages/) endpoint.+ example: '[{ "status_id": { "operator": "o", "values": null } }]'+ in: query+ name: filters+ required: false+ schema:+ type: string+ - description: Shortcut for filtering by ID or subject+ example: '"rollout"'+ in: query+ name: query+ required: false+ schema:+ type: string+ - description: Type of relation to find candidates for (default "relates")+ example: '"follows"'+ in: query+ name: type+ required: false+ schema:+ type: string+ - description: |-+ JSON specifying sort criteria.+ Accepts the same sort criteria as the [work packages](https://www.openproject.org/docs/api/endpoints/work-packages/) endpoint.+ example: '[["status", "asc"]]'+ in: query+ name: sortBy+ required: false+ schema:+ default: '[["id", "asc"]]'+ type: stringresponses:'200':content:@@ -58,18 +63,18 @@ get:value:_embedded:elements:- - _links:- self:- href: "/api/v3/work_packages/1"- _type: WorkPackage- id: 1- subject: Skipped other properties for brevity- - _links:- self:- href: "/api/v3/work_packages/2"- _type: WorkPackage- id: 2- subject: Skipped other properties for brevity+ - _links:+ self:+ href: "/api/v3/work_packages/1"+ _type: WorkPackage+ id: 1+ subject: Skipped other properties for brevity+ - _links:+ self:+ href: "/api/v3/work_packages/2"+ _type: WorkPackage+ id: 2+ subject: Skipped other properties for brevity_links:self:href: "/api/v3/projects/14/work_packages"@@ -79,9 +84,16 @@ get:schema:"$ref": "../components/schemas/available_relation_candidates_model.yml"description: OK- headers: {}- tags:- - Work Packages- description: ''- operationId: Available_relation_candidates- summary: Available relation candidates+ '404':+ content:+ application/hal+json:+ schema:+ $ref: '../components/schemas/error_response.yml'+ example:+ _type: Error+ errorIdentifier: urn:openproject-org:api:v3:errors:NotFound+ message: The specified work package does not exist.+ description: |-+ Returned if the work package does not exist or the client does not have sufficient permissions to see it.++ **Required permission:** view work package