From b93a5a0c98dd687d188128836adef27178dae480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Hurtado?= Date: Fri, 4 Oct 2019 13:17:29 +0200 Subject: [PATCH] Fixed error specification of get and set commands in Data API --- spec/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/spec/README.md b/spec/README.md index 8dabfd6..696b98a 100644 --- a/spec/README.md +++ b/spec/README.md @@ -514,9 +514,9 @@ path doesn't exist or is invalid. * **Error Responses**: * **Code**: `400 Invalid Resource Path`
**Notes**: Check the list of valid resource paths at the top of this section. - * **Code**: `404 Not Found`
+ * **Code**: `404 Handler ID Not Found`
**Notes**: Refers to the handler resource itself. - * **Code**: `204 Resource Item Not Found`
+ * **Code**: `404 Resource Item Not Found`
**Notes**: Refers to the named item in the corresponding data API resource. * **Sample Call**:
```sh @@ -537,10 +537,8 @@ path doesn't exist or is invalid. * **Error Responses**: * **Code**: `400 Invalid Resource Path`
**Notes**: Check the list of valid resource paths at the top of this section. - * **Code**: `404 Not Found`
+ * **Code**: `404 Handler ID Not Found`
**Notes**: Refers to the handler resource itself. - * **Code**: `204 Resource Item Not Found`
- **Notes**: Refers to the named item in the corresponding data API resource. * **Sample Call**:
```sh $ curl -X --data-binary '

Hello!

' PUT /handlers/$KAPOW_HANDLER_ID/response/body