Service topology
Generated from openapi.json (API version 0.54.3). 14 endpoints. See the API overview for the base URL and how to sign requests.
Get Topology Data
Section titled “Get Topology Data”GET /topology
Needs read:topology.
Get all topology data
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
provider_ids |
string or null | no | |
services |
string or null | no | |
environment |
string or null | no | |
include_empty_deps |
boolean or null | no |
Responses
200Successful Response: array ofTopologyServiceDtoOut
Get Applications
Section titled “Get Applications”GET /topology/applications
Needs read:topology.
Get all applications
Responses
200Successful Response: array ofTopologyApplicationDtoOut
Create Application
Section titled “Create Application”POST /topology/applications
Needs write:topology.
Create a new application
Body (application/json, required): TopologyApplicationDtoIn
| Field | Type | Required | Description |
|---|---|---|---|
id |
string (uuid) or null | no | |
name |
string | yes | |
description |
string | no | |
repository |
string | no | |
services |
array of TopologyServiceDtoIn |
no |
Responses
200Successful Response:TopologyApplicationDtoOut
Update Application
Section titled “Update Application”PUT /topology/applications/{application_id}
Needs write:topology.
Update an application
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
application_id |
string (uuid) | yes |
Body (application/json, required): TopologyApplicationDtoIn
| Field | Type | Required | Description |
|---|---|---|---|
id |
string (uuid) or null | no | |
name |
string | yes | |
description |
string | no | |
repository |
string | no | |
services |
array of TopologyServiceDtoIn |
no |
Responses
200Successful Response:TopologyApplicationDtoOut
Delete Application
Section titled “Delete Application”DELETE /topology/applications/{application_id}
Needs write:topology.
Delete an application
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
application_id |
string (uuid) | yes |
Responses
200Successful Response: object
Pull Topology Data
Section titled “Pull Topology Data”POST /topology/pull
Needs write:topology.
Pull topology data on demand from providers
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
provider_ids |
string or null | no |
Responses
200Successful Response: array ofTopologyServiceDtoOut
Create Service
Section titled “Create Service”POST /topology/service
Needs write:topology.
Creating a service manually
Body (application/json, required): TopologyServiceCreateRequestDTO
| Field | Type | Required | Description |
|---|---|---|---|
repository |
string or null | no | |
tags |
array of string or null | no | |
service |
string | yes | |
display_name |
string | yes | |
environment |
string | no | |
description |
string or null | no | |
team |
string or null | no | |
email |
string or null | no | |
slack |
string or null | no | |
ip_address |
string or null | no | |
mac_address |
string or null | no | |
category |
string or null | no | |
manufacturer |
string or null | no | |
namespace |
string or null | no |
Responses
200Successful Response:TopologyService
Update Service
Section titled “Update Service”PUT /topology/service
Needs write:topology.
Updating a service manually
Body (application/json, required): TopologyServiceUpdateRequestDTO
| Field | Type | Required | Description |
|---|---|---|---|
repository |
string or null | no | |
tags |
array of string or null | no | |
service |
string | yes | |
display_name |
string | yes | |
environment |
string | no | |
description |
string or null | no | |
team |
string or null | no | |
email |
string or null | no | |
slack |
string or null | no | |
ip_address |
string or null | no | |
mac_address |
string or null | no | |
category |
string or null | no | |
manufacturer |
string or null | no | |
namespace |
string or null | no | |
id |
integer | yes |
Responses
200Successful Response:TopologyService
Delete Services
Section titled “Delete Services”DELETE /topology/services
Needs write:topology.
Delete a list of services manually
Body (application/json, required): DeleteServicesRequest
| Field | Type | Required | Description |
|---|---|---|---|
service_ids |
array of integer | yes |
Responses
200Successful Response: object
Create Dependencies
Section titled “Create Dependencies”POST /topology/dependency
Needs write:topology.
Creating a new dependency manually
Body (application/json, required): TopologyServiceDependencyCreateRequestDto
| Field | Type | Required | Description |
|---|---|---|---|
service_id |
integer | yes | |
depends_on_service_id |
integer | yes | |
protocol |
string or null | no |
Responses
200Successful Response:TopologyServiceDependencyDto
Update Dependency
Section titled “Update Dependency”PUT /topology/dependency
Needs write:topology.
Updating a dependency manually
Body (application/json, required): TopologyServiceDependencyUpdateRequestDto
| Field | Type | Required | Description |
|---|---|---|---|
service_id |
integer or null | no | |
depends_on_service_id |
integer or null | no | |
protocol |
string or null | no | |
id |
integer | yes |
Responses
200Successful Response:TopologyServiceDependencyDto
Delete Dependency
Section titled “Delete Dependency”DELETE /topology/dependency/{dependency_id}
Needs write:topology.
Deleting a dependency manually
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
dependency_id |
integer | yes |
Responses
200Successful Response: object
Export Topology Yaml
Section titled “Export Topology Yaml”GET /topology/export
Needs read:topology.
Exporting the topology map as a YAML
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
services |
string or null | no |
Responses
200Successful Response: object
Import Topology Yaml
Section titled “Import Topology Yaml”POST /topology/import
Needs write:topology.
Import the topology map from YAML
Body (multipart/form-data, required): Body_import_topology_yaml_topology_import_post
| Field | Type | Required | Description |
|---|---|---|---|
file |
string | yes |
Responses
200Successful Response: object