Skip to content

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

remove documentation for work_package relations form

ulferts1b89d753fc7a
diff --git a/docs/api/apiv3/openapi-spec.yml b/docs/api/apiv3/openapi-spec.yml
index 2e42de3308c..725a513da05 100644
--- a/docs/api/apiv3/openapi-spec.yml
+++ b/docs/api/apiv3/openapi-spec.yml
@@ -375,8 +375,6 @@ paths:
"$ref": "./paths/work_package_available_watchers.yml"
"/api/v3/work_packages/{id}/form":
"$ref": "./paths/work_package_form.yml"
- "/api/v3/work_packages/{id}/relations/form":
- "$ref": "./paths/work_package_relations_form.yml"
"/api/v3/work_packages/{id}/revisions":
"$ref": "./paths/work_package_revisions.yml"
"/api/v3/work_packages/{id}/relations":
diff --git a/docs/api/apiv3/paths/work_package_relations_form.yml b/docs/api/apiv3/paths/work_package_relations_form.yml
deleted file mode 100644
index 64634c28756..00000000000
--- a/docs/api/apiv3/paths/work_package_relations_form.yml
+++ /dev/null
@@ -1,134 +0,0 @@
-# /api/v3/work_packages/{id}/relations/form
----
-post:
- parameters:
- - description: ID of the relation being modified
- example: '1'
- in: path
- name: id
- required: true
- schema:
- type: integer
- responses:
- '200':
- content:
- application/hal+json:
- examples:
- response:
- value:
- _embedded:
- payload:
- _links:
- from:
- href: "/api/v3/work_packages/4534"
- to:
- href: "/api/v3/work_packages/3857"
- _type: WorkPackage
- delay: 3
- description: let it rest for 3 days
- type: follows
- schema:
- _type: Schema
- delay:
- name: Delay
- type: Integer
- writable: true
- description:
- name: Description
- type: String
- writable: true
- from:
- _links:
- allowedValues:
- - href: "/api/v3/work_packages/{id}"
- name: From work package
- type: WorkPackage
- writable: true
- id:
- name: ID
- type: Integer
- writable: false
- reverseType:
- name: Reverse Type
- type: String
- writable: false
- to:
- _links:
- allowedValues:
- href: "/api/v3/work_packages/{id}/available_relation_candidates"
- title: Available work packages to relate to
- name: To work package
- type: WorkPackage
- writable: true
- type:
- allowedValues:
- - relates
- - duplicates
- - duplicated
- - blocks
- - blocked
- - precedes
- - follows
- - includes
- - partof
- - requires
- - required
- name: Type
- type: String
- writable: true
- validationErrors:
- from:
- _type: Error
- errorIdentifier: urn:openproject-org:api:v3:errors:BadExampleError
- message: For the purpose of this example we need a validation
- error. The remainder of the response pretends there were no
- errors.
- _links:
- commit:
- href: "/api/v3/relations"
- method: PATCH
- self:
- href: "/api/v3/relations/form"
- validate:
- href: "/api/v3/relations/form"
- method: POST
- _type: Form
- schema:
- "$ref": "../components/schemas/work_package_relation_form_model.yml"
- description: OK
- headers: {}
- '403':
- content:
- application/hal+json:
- examples:
- response:
- value:
- _type: Error
- errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
- message: You are not allowed to edit the specified relation.
- description: |-
- Returned if the client does not have sufficient permissions.
-
- **Required permission:** manage work package relations
-
- *Note that you will only receive this error, if you are at least allowed to see the involved work packages.*
- headers: {}
- '404':
- content:
- application/hal+json:
- examples:
- response:
- value:
- _type: Error
- errorIdentifier: urn:openproject-org:api:v3:errors:NotFound
- message: The specified relation does not exist.
- description: |-
- Returned if the relation does not exist or the client does not have sufficient permissions to see it.
-
- **Required permission:** view (involved) work package(s), manage work package relations
- headers: {}
- tags:
- - Work Packages
- description: ''
- operationId: Relation_create_form
- summary: Relation create form