Nacos Service Discovery API
Service instance registration and discovery
Nacos Service Discovery API is one of 6 APIs that Nacos publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Service Discovery. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 6 operations across 4 paths, and defines 1 schema. It is described by OpenAPI 3.1.0, at version 2.3.0.
Requests are made against 2 base URLs: http://localhost:8848/nacos, http://{nacos_host}:{port}/nacos.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Nacos Service Discovery API declares
1 security scheme
for authenticating requests.
An API key is passed in the query as accessToken (AccessToken).
By default, every request must be authenticated.
AccessToken— Access token obtained from login endpoint
Paths & Operations 6
Across 4 paths, the API surfaces 6 operations — 1 DELETE, 1 GET, 1 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.
Service instance registration and discovery
Schemas 1
The contract defines 1 schema that model the data the API accepts and returns. The most detailed is Instance (13 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Nacos 5
Other APIs Nacos publishes across the network.