Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backoff time #411

Merged
merged 17 commits into from
Jun 15, 2022
Merged
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions optimade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,9 @@ Every response SHOULD contain the following fields, and MUST contain at least :f
- **data\_available**: an integer containing the total number of data resource objects available in the database for the endpoint.
- **last\_id**: a string containing the last ID returned.
- **response\_message**: response string from the server.
- **request\_delay**: a non-negative float giving time in seconds that the client is suggested to wait before issuing a subsequent request.
An implementation MAY respond with :http-error:`429 Too Many Requests` error if a client refuses to respect the indicated delay.
In that case the response SHOULD contain a `Retry-After HTTP header <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After>`__ to instruct the client to wait before retrying.
merkys marked this conversation as resolved.
Show resolved Hide resolved
- **implementation**: a dictionary describing the server implementation, containing the OPTIONAL fields:

- **name**: name of the implementation.
Expand Down