[−][src]Trait splinter::rest_api::RestResourceProvider
A RestResourceProvider
provides a list of resources that are consumed by RestApi
.
Required methods
Loading content...Implementors
impl RestResourceProvider for AdminService
[src]
The admin service provides the following endpoints as REST API resources:
GET /ws/admin/register/{type}
- Register as an application authorization handler for the given circuit management typePOST /admin/submit
- Submit a circuit management payloadGET /admin/proposals
- List circuit proposals in Splinter's stateGET /admin/proposals/{circuit_id}
- Fetch a specific circuit proposal in Splinter's state by circuit ID
These endpoints are only available if the following REST API backend feature is enabled:
rest-api-actix
impl RestResourceProvider for BiomeRestResourceManager
[src]
impl RestResourceProvider for ServiceOrchestrator
[src]
The ServiceOrchestrator
exposes REST API resources provided by the
ServiceFactory::get_rest_endpoints
methods of its factories. Each factory defines the
endpoints provided by the services it creates; the ServiceOrchestrator
then exposes these
endpoints under the /{service_type}/{circuit}/{service_id}
route.
impl RestResourceProvider for dyn RwRegistry
[src]
The RwRegistry
trait service provides the following endpoints as REST API resources:
GET /registry/nodes
- List the nodes in the registryPOST /registry/nodes
- Add a node to the registryGET /registry/nodes/{identity}
- Fetch a specific node in the registryPUT /registry/nodes/{identity}
- Replace a node in the registryDELETE /registry/nodes/{identity}
- Delete a node from the registry
These endpoints are only available if the following REST API backend feature is enabled:
rest-api-actix
impl<T: CircuitStore + 'static> RestResourceProvider for CircuitResourceProvider<T>
[src]
The circuit store provides the following endpoints as REST API resources:
GET /admin/circuits
- List circuits in Splinter's stateGET /admin/circuits/{circuit_id}
- Fetch a specific circuit in Splinter's state by circuit ID
These endpoints are only available if the following REST API backend feature is enabled:
rest-api-actix