Skip to content

Commit

Permalink
ipip-378: add error schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Feb 6, 2024
1 parent 05dceba commit ccbc085
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/routing/http-routing-v1.md
Expand Up @@ -463,6 +463,18 @@ or if server policy is to provide TTL different than the requested one.
- If greater than the `TTL` in the request, then the server client SHOULD save resources and not repeat announcement until the announcement TTL expires and is forgotten by the routing system
- If `0`, the server makes no claims about the lifetime of the record

### Error Schema

The `error` schema SHOULD be used in POST and PUT responses to indicate errors related to specific announcement record.

```json
{
"Schema": "error",
"Error": "Invalid signature",
...
}
```

### Legacy Schemas

Legacy schemas include `ID` and optional `Addrs` list just like
Expand Down

0 comments on commit ccbc085

Please sign in to comment.