Ryde Developers
Español Dashboard ryde.us.com

Versioning and deprecation

What can change under you, and what cannot.

API version v1 · View as Markdown

The version is in the path (/v1/…). Within a version, Ryde may make backward-compatible changes at any time, and your integration must tolerate them.

Backward-compatibleBreaking
A new field in a responseRemoving or renaming a field
A new optional request fieldMaking an optional field required
A new endpoint or a new scopeRemoving an endpoint or a scope
A new value in an existing enumChanging the meaning of a value
A new error codeChanging which status an error returns

Parse leniently: ignore fields you do not recognize, and treat an unknown enum value as a value you cannot handle rather than as an error. A client that rejects unknown fields breaks on the next additive change.

A breaking change ships as a new version with an announcement, a migration guide, a deprecation date and a sunset date. Nothing in production is removed without that sequence.