Routes

Available HTTP routes on the gNMIc Operator API interface.

defaultapi

All URIs are relative to http://localhost:8082

MethodHTTP requestDescription
applyTargetsPOST /api/v1/:namespace/target-source/:name/applyTargetsInterface for real-time target updates, usually using a webhook. Targets are applied in the gNMIc Operator.
getClusterPlanGET /clusters/:namespace/:name/planGet cluster plan.

applyTargets

List applyTargets(Target)

Interface for real-time target updates, usually using a webhook. Targets are applied in the gNMIc Operator.

Parameters

NameTypeDescriptionNotes
TargetListTarget must be passed as a list, multiple targets possible.

Return type

List

Authorization

signature, bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getClusterPlan

getClusterPlan()

Get cluster plan.

Parameters

This endpoint does not need any parameter.

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined