Skip to content
GitmoapAPIBeta
Schema

DependencyGraphEdge

One dependency in a dependency graph, by service id. The graph's nodes carry the services.

Shape

  • depthinteger · int320–∞How many hops from the root service this dependency was reached at, from 1 to the graph's depth.
  • from_service_idServiceId (string · uuid)
  • kindDependencyKindpackageapidatastoreotherHow a service depends on the far end of a dependency — not what the far end is. The same library service can be consumed as a package by one service and called over HTTP by another.
  • sourceDependencySourceobserved_lockfileobserved_publishdeclaredinferredHow a dependency came to be known, and therefore how far it can be trusted. A declared and an observed dependency between the same two services are reported separately, so a declaration no lockfile mentions, or a lockfile entry nobody declared, stands out.
  • to_service_idServiceId (string · uuid)

Example

Synthesized example
{
"depth": 28,
"from_service_id": "d2e55c01-6fb6-43a9-ad0b-0e1c14b0b4f5",
"kind": "package",
"source": "observed_lockfile",
"to_service_id": "a7e0443d-cbb4-41d5-929b-6952919757cf"
}

Graph

Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.