diff --git a/_format/1.0/index.md b/_format/1.0/index.md index 40c49a398..9b9d0b34d 100644 --- a/_format/1.0/index.md +++ b/_format/1.0/index.md @@ -1271,6 +1271,11 @@ had returned it back in a `201` response. A server **MAY** return `403 Forbidden` in response to an unsupported request to create a resource. +##### 404 Not Found + +A server **MUST** return `404 Not Found` when processing a request that +references a related resource that does not exist. + ##### 409 Conflict A server **MUST** return `409 Conflict` when processing a `POST` request to diff --git a/_format/1.0/normative-statements.json b/_format/1.0/normative-statements.json index 4bff8b5d5..2d40e9f09 100644 --- a/_format/1.0/normative-statements.json +++ b/_format/1.0/normative-statements.json @@ -181,6 +181,7 @@ layout: null { "id": "create-responses-202", "type": "normative-statements" }, { "id": "create-responses-204", "type": "normative-statements" }, { "id": "create-responses-403", "type": "normative-statements" }, + { "id": "create-responses-404-related", "type": "normative-statements" }, { "id": "create-responses-409-exists", "type": "normative-statements" }, { "id": "create-responses-409-bad-type", "type": "normative-statements" }, { "id": "create-responses-409-error-details", "type": "normative-statements" }, @@ -1770,6 +1771,19 @@ layout: null } } }, + { + "id": "create-responses-404-related", + "type": "normative-statements", + "attributes": { + "level": "MAY", + "description": "A server **MUST** return `404 Not Found` when processing a request that references a related resource that does not exist." + }, + "relationships": { + "section": { + "data": { "id": "creating-updating-deleting", "type": "sections" } + } + } + }, { "id": "create-responses-409-exists", "type": "normative-statements", diff --git a/_format/1.1/index.md b/_format/1.1/index.md index 33e6f1aec..382c82c6e 100644 --- a/_format/1.1/index.md +++ b/_format/1.1/index.md @@ -1292,6 +1292,11 @@ had returned it back in a `201` response. A server **MAY** return `403 Forbidden` in response to an unsupported request to create a resource. +##### 404 Not Found + +A server **MUST** return `404 Not Found` when processing a request that +references a related resource that does not exist. + ##### 409 Conflict A server **MUST** return `409 Conflict` when processing a `POST` request to diff --git a/_format/1.1/normative-statements.json b/_format/1.1/normative-statements.json index c90cf7fa2..c0c264da8 100644 --- a/_format/1.1/normative-statements.json +++ b/_format/1.1/normative-statements.json @@ -185,6 +185,7 @@ layout: null { "id": "create-responses-202", "type": "normative-statements" }, { "id": "create-responses-204", "type": "normative-statements" }, { "id": "create-responses-403", "type": "normative-statements" }, + { "id": "create-responses-404-related", "type": "normative-statements" }, { "id": "create-responses-409-exists", "type": "normative-statements" }, { "id": "create-responses-409-bad-type", "type": "normative-statements" }, { "id": "create-responses-409-error-details", "type": "normative-statements" }, @@ -1826,6 +1827,19 @@ layout: null } } }, + { + "id": "create-responses-404-related", + "type": "normative-statements", + "attributes": { + "level": "MAY", + "description": "A server **MUST** return `404 Not Found` when processing a request that references a related resource that does not exist." + }, + "relationships": { + "section": { + "data": { "id": "creating-updating-deleting", "type": "sections" } + } + } + }, { "id": "create-responses-409-exists", "type": "normative-statements", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy