Services/F1/Server/API: Difference between revisions

No edit summary
Line 11: Line 11:
All APIs must be called with a X-Target-Domain header. The header contains the name of the domain that is being called through the server. This header is used by the server to determine if the service for the domain is available or not.
All APIs must be called with a X-Target-Domain header. The header contains the name of the domain that is being called through the server. This header is used by the server to determine if the service for the domain is available or not.


If the domain is not available, the client will immediately receive a 503 with a Retry-After header (value to be defined).
If the domain is not available, the client will immediately receive a 503 with a Retry-After header, the value will be the number of seconds to wait before retrying. The [http://www.freesoft.org/CIE/RFC/2068/201.htm RFC for Retry-After] also allows for a timestamp, but the server will be sending a number that represents seconds.


The client will then need to wait for that time before retrying. In the interim, the client is allowed to call the server for other services.
The client will then need to wait for that time before retrying. In the interim, the client is allowed to call the server for other services.


=== Security  ===
=== Security  ===
109

edits