New error handling added to module resource in package data. Minor coding improvements.

This commit is contained in:
Héctor Hurtado
2019-11-18 19:09:55 +01:00
parent 1249b23458
commit 7bca5b8577
6 changed files with 79 additions and 88 deletions
+4
View File
@@ -554,6 +554,10 @@ path doesn't exist or is invalid.
* **Error Responses**:
* **Code**: `400`; Reason: `Invalid Resource Path`<br />
**Notes**: Check the list of valid resource paths at the top of this section.
* **Code**: `422`; Reason: `Non Integer Value`<br />
**Notes**: When setting the status code with a non integer value.
* **Code**: `400`; Reason: `Invalid Status Code`<br />
**Notes**: When setting a non-supported status code.
* **Code**: `404`; Reason: `Handler ID Not Found`<br />
**Notes**: Refers to the handler resource itself.
* **Sample Call**:<br />