Skip to content

Commit 2ee03cf

Browse files
authored
Merge pull request #1102 from json-api/sync-normative-statements
Add missing normative statements from #1029
2 parents 15e4b7a + e7057ca commit 2ee03cf

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

_format/1.0/normative-statements.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ layout: null
239239
{ "id": "delete-202-status", "type": "normative-statements" },
240240
{ "id": "delete-204-status", "type": "normative-statements" },
241241
{ "id": "delete-200-status", "type": "normative-statements" },
242+
{ "id": "delete-404-status", "type": "normative-statements" },
242243
{ "id": "deleting-other-status", "type": "normative-statements" },
243244
{ "id": "deleting-other-details", "type": "normative-statements" },
244245
{ "id": "deleting-http-semantics", "type": "normative-statements" }
@@ -2523,6 +2524,19 @@ layout: null
25232524
}
25242525
}
25252526
},
2527+
{
2528+
"id": "delete-404-status",
2529+
"type": "normative-statements",
2530+
"attributes": {
2531+
"level": "SHOULD",
2532+
"description": "A server **SHOULD** return a 404 Not Found status code if a deletion request fails due to the resource not existing."
2533+
},
2534+
"relationships": {
2535+
"section": {
2536+
"data": { "id": "creating-updating-deleting", "type": "sections" }
2537+
}
2538+
}
2539+
},
25262540
{
25272541
"id": "deleting-other-status",
25282542
"type": "normative-statements",

_format/1.1/normative-statements.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ layout: null
243243
{ "id": "delete-202-status", "type": "normative-statements" },
244244
{ "id": "delete-204-status", "type": "normative-statements" },
245245
{ "id": "delete-200-status", "type": "normative-statements" },
246+
{ "id": "delete-404-status", "type": "normative-statements" },
246247
{ "id": "deleting-other-status", "type": "normative-statements" },
247248
{ "id": "deleting-other-details", "type": "normative-statements" },
248249
{ "id": "deleting-http-semantics", "type": "normative-statements" }
@@ -2579,6 +2580,19 @@ layout: null
25792580
}
25802581
}
25812582
},
2583+
{
2584+
"id": "delete-404-status",
2585+
"type": "normative-statements",
2586+
"attributes": {
2587+
"level": "SHOULD",
2588+
"description": "A server **SHOULD** return a 404 Not Found status code if a deletion request fails due to the resource not existing."
2589+
},
2590+
"relationships": {
2591+
"section": {
2592+
"data": { "id": "creating-updating-deleting", "type": "sections" }
2593+
}
2594+
}
2595+
},
25822596
{
25832597
"id": "deleting-other-status",
25842598
"type": "normative-statements",

0 commit comments

Comments
 (0)
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