Every micro service or API needs to register itself to OAuth2 server in order to control who
can access it. During the registration/on-boarding, a list of scopes defined in the OpenAPI
specification or other schema contracts for GraphQL and Hybrid RPC should be populated as well.
This list of scopes will be used for client to register scopes in order to access this particular
service or API during client registration.
This service has several endpoints and listens to port 6883.
This endpoint gets all the services from service with filter and sorted on
serviceId. A page query parameter is mandatory and pageSize and serviceId filter
Page number which must be specified. It starts with 1 and an empty list will
be returned if the page is greater than the last page.
Default pageSize is 10 and you can overwrite it with another number. Please don’t
use a big number due to performance reason.
This is the only filter available and it supports filter by start with a few characters.
For example, “serviceId=abc” means any serviceId starts with “abc”. The result is also
sorted by serviceId in the pagination.
The following validation will be performed in the service.
If page is missing from the query parameter, an error will be returned.
"description": "Query parameter '%s' is required on path '%s' but not found in request."
This is an endpoint that is used to register endpoints for a particular service. As you can
see there is no put method for this resource so all endpoints will be deleted and then insert
if this endpoint is called.
This is an endpoint that is used to delete all the endpoints for a particular service. You
have to make sure that there is no client links to the service endpoints before issuing
delete request. Otherwise, you will have database constraint error.
If service endpoints cannot be found in the service cache, then the following error will be
"description": "Service %s is not found."