Skip to content

Commit

Permalink
Add missing normative statements from #1029
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanresnick committed Sep 28, 2016
1 parent 15e4b7a commit e7057ca
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _format/1.0/normative-statements.json
Expand Up @@ -239,6 +239,7 @@ layout: null
{ "id": "delete-202-status", "type": "normative-statements" },
{ "id": "delete-204-status", "type": "normative-statements" },
{ "id": "delete-200-status", "type": "normative-statements" },
{ "id": "delete-404-status", "type": "normative-statements" },
{ "id": "deleting-other-status", "type": "normative-statements" },
{ "id": "deleting-other-details", "type": "normative-statements" },
{ "id": "deleting-http-semantics", "type": "normative-statements" }
Expand Down Expand Up @@ -2523,6 +2524,19 @@ layout: null
}
}
},
{
"id": "delete-404-status",
"type": "normative-statements",
"attributes": {
"level": "SHOULD",
"description": "A server **SHOULD** return a 404 Not Found status code if a deletion request fails due to the resource not existing."
},
"relationships": {
"section": {
"data": { "id": "creating-updating-deleting", "type": "sections" }
}
}
},
{
"id": "deleting-other-status",
"type": "normative-statements",
Expand Down
14 changes: 14 additions & 0 deletions _format/1.1/normative-statements.json
Expand Up @@ -243,6 +243,7 @@ layout: null
{ "id": "delete-202-status", "type": "normative-statements" },
{ "id": "delete-204-status", "type": "normative-statements" },
{ "id": "delete-200-status", "type": "normative-statements" },
{ "id": "delete-404-status", "type": "normative-statements" },
{ "id": "deleting-other-status", "type": "normative-statements" },
{ "id": "deleting-other-details", "type": "normative-statements" },
{ "id": "deleting-http-semantics", "type": "normative-statements" }
Expand Down Expand Up @@ -2579,6 +2580,19 @@ layout: null
}
}
},
{
"id": "delete-404-status",
"type": "normative-statements",
"attributes": {
"level": "SHOULD",
"description": "A server **SHOULD** return a 404 Not Found status code if a deletion request fails due to the resource not existing."
},
"relationships": {
"section": {
"data": { "id": "creating-updating-deleting", "type": "sections" }
}
}
},
{
"id": "deleting-other-status",
"type": "normative-statements",
Expand Down

0 comments on commit e7057ca

Please sign in to comment.