Skip to content

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

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

  • 200 Successful Response: array of TopologyServiceDtoOut

GET /topology/applications

Needs read:topology.

Get all applications

Responses

  • 200 Successful Response: array of TopologyApplicationDtoOut

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

  • 200 Successful Response: TopologyApplicationDtoOut

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

  • 200 Successful Response: TopologyApplicationDtoOut

DELETE /topology/applications/{application_id}

Needs write:topology.

Delete an application

Path parameters

Name Type Required Description
application_id string (uuid) yes

Responses

  • 200 Successful Response: object

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

  • 200 Successful Response: array of TopologyServiceDtoOut

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

  • 200 Successful Response: TopologyService

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

  • 200 Successful Response: TopologyService

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

  • 200 Successful Response: object

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

  • 200 Successful Response: TopologyServiceDependencyDto

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

  • 200 Successful Response: TopologyServiceDependencyDto

DELETE /topology/dependency/{dependency_id}

Needs write:topology.

Deleting a dependency manually

Path parameters

Name Type Required Description
dependency_id integer yes

Responses

  • 200 Successful Response: object

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

  • 200 Successful Response: object

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

  • 200 Successful Response: object