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

[#40945] readd 404 on edit form endpoint

Eric Schubertf4ae455c0795
diff --git a/docs/api/apiv3/paths/work_package_form.yml b/docs/api/apiv3/paths/work_package_form.yml
index 64870d121d5..911944a29c3 100644
--- a/docs/api/apiv3/paths/work_package_form.yml
+++ b/docs/api/apiv3/paths/work_package_form.yml
@@ -40,5 +40,20 @@ post:
application/json:
schema:
$ref: '../components/schemas/work_package_form_model.yml'
+ '404':
+ 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
+ content:
+ application/hal+json:
+ schema:
+ $ref: '../components/schemas/error_response.yml'
+ examples:
+ response:
+ value:
+ _type: Error
+ errorIdentifier: urn:openproject-org:api:v3:errors:NotFound
+ message: The specified work package does not exist.
'415':
$ref: '../components/responses/unsupported_media_type.yml'