Get an endpoint

Returns a single endpoint by ID.