Skip to main content

Error type URIs move to computesphere.com/docs: match on code

ImprovedAPIDocs

The type in every error the API returns now points at the docs' new home: https://computesphere.com/docs/errors/<code> instead of https://docs.computesphere.com/errors/<code>. The docs_url of each field in a validation error now links to the code's page (the #field fragment is gone).

  • Match on code, not type. code stays the same; type is the address of the code's page and can move. If your client compares type with a full URL, compare code instead.
  • Old links keep working. docs.computesphere.com redirects permanently to the same page on computesphere.com/docs.
  • Every code has a page, including the gateway's starting, client_error and server_error. See Error codes.