Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Quick Answer

An endpoint is the URI that references an accessible resource on a server. In the context of web APIs, an endpoint references specific code that handles the request and returns an appropriate response.

...

In this format, the host portion of the URI (e.g., https://www.examples.org) is removed (although likely documented elsewhere) and only the path is referenced (e.g., /customers). The host information is usually documented elsewhere. Often multiple hosts are listed (e.g., one for testing and one for production) which makes documenting endpoints only with path information more sensible.