FunctionGraphDataService

CreateFunctionGraphData

Changed on

Creates a function graph. The object must provide a parent ID that is the associated package version to which the function graph belongs. A create operation will replace any previous data and is considered an upsert.

post/v1/namespaces/{tenant_meta.namespace}/function-graph-data

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/function-graph-data
  • Auth
    none declared

Path parameters

tenant_meta.namespacestring required

Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".

Request body

related_objectstring

The internal value that identifies the function graph storage location.

storage_urlstring

The URL to the storage location of the callgraph.

tenant_metaobject required

Namespaces are associated with a tenant.

uuidstring

The UUID of the function graph.

zstd_bytesstring byte

Function graph proto bytes are encoded in zstd bytes. It is the responsibility of the caller to compress/uncompress the bytes.

Response

A successful response.

related_objectstring

The internal value that identifies the function graph storage location.

storage_urlstring

The URL to the storage location of the callgraph.

uuidstring

The UUID of the function graph.

zstd_bytesstring byte

Function graph proto bytes are encoded in zstd bytes. It is the responsibility of the caller to compress/uncompress the bytes.

Changes