Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Defining a Service Version

There are four out-of-the-box supported approaches for versioning a service:

  • By query string parameter
  • By media type parameter
  • By HTTP header
  • By URL path segment

The default method is to use a query string parameter named api-version. You can also combine API versioning approaches together or define your own custom method of API versioning.