Skip to content

Commit

Permalink
Document about fern4lvarez/piladb#52 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fern4lvarez committed Mar 1, 2017
1 parent d33b4c0 commit 2f54e6c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions specification.md
Expand Up @@ -198,6 +198,24 @@ Changes in the specification are expected to happen in new releases, and they wi

---

**Description**: Set a configuration value with invalid payload.

**HTTP Method**: `POST`

**HTTP Endpoint**: `/_config/$CONFIG_KEY`

**Request Payload**: `{"elem":"$CONFIG_VALUE"}`

**Scenario**: Request payload cannot be serialized.

**HTTP Status Code**: `400 Bad Request`

**JSON Response**: N/A

**Comment**: Request payload does not contain `element` key.

---

**Description**: Set a configuration value with serialization errors.

**HTTP Method**: `POST`
Expand Down Expand Up @@ -638,6 +656,24 @@ Changes in the specification are expected to happen in new releases, and they wi

---

**Description**: `PUSH` operation on a stack with invalid payload.

**HTTP Method**: `POST`

**HTTP Endpoint**: `/databases/$DATABASE_ID/stacks/$STACK_ID`

**Request Payload**: `{"elent":"$ELEMENT_VALUE"}`

**Scenario**: Request payload cannot be serialized.

**HTTP Status Code**: `400 Bad Request`

**JSON Response**: N/A

**Comment**: Request payload does not contain `element` key.

---

**Description**: `PUSH` operation on a stack with serializing errors.

**HTTP Method**: `POST`
Expand Down

0 comments on commit 2f54e6c

Please sign in to comment.