Infrastructure/OTA Upgrade Plans
POSTOTASince 1.0SynchronousAuth Required
TopologySort
Calculate the topological ordering of component dependencies for upgrade
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
planIdStringRequiredID of the upgrade plan this topology sort applies to
Body Fields
nodesListRequiredNodes for this resource
Example: (nested array)
nameStringName of this component node
Example: zcf-core
dependenciesListDependencies for this resource
Example: item1,item2
Responses
Endpoint
POST/api/v1/lifecycle/upgrade-plans/{planId}/topology-sort
/api/v1/lifecycle/upgrade-plans/{planId}/topology-sort
Request Example
curl -X POST '{host}/api/v1/lifecycle/upgrade-plans/{planId}/topology-sort' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"nodes":"(nested array)"}'
Response Example
200{"order": ["value"], "hasCycle": false, "cycle": ["value"]}Change History
This API has no change history records yet.
