diff --git a/200.md b/200.md index 3d8abb1..eafc99c 100644 --- a/200.md +++ b/200.md @@ -43,6 +43,11 @@ To send event to relay, Client will need to make POST request to `publish` endpo Every NoH response is a JSON body that contain the following JSON field: -- `status`: Request status code in integer. `0` means OK, `1` means invalid request, `2` means relay error. - `results`: Array of relay response. Usually contain events requested by client. - `notice`: Human readable error. + +Relay may also respond with HTTP status code: + +- `200`: OK / Success +- `400`: Invalid Request +- `500`: Relay/Server error