Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

API endpoint should use url based version, passed as part of path.


Enpoints looks like this:

Default:

api.cdp-rb.com/profile (alias to default version)

v1 version:

api.cdp-rb.com/v1/profile

v1.1 version:

api.cdp-rb.com/v1.1/profile


If current default version is v1.1 that means that:

api.cdp-rb.com/profile will execute api.cdp-rb.com/v1.1/profile


Its recomended that every target service should be deployed per version.

For example if profile-service will service versions v1,v1.1 - deployed two separated versions.

Applications should define endpoint without versioning part.

  • No labels