Nirmata Documentation
  • Home
  • Products
    Nirmata Kyverno Enterprise Nirmata Policy Manager Nirmata DevSecOps Platform
  • docs
    Get Started Cluster Management Application Management Policy Management Identity & Access Settings REST API Private Edition Release Notes
  • release
    V3.5.4 V3.9.0
  • REST API
    • API Compatibility
    • API Basics
      • Authentication
      • Operations
      • HTTP Response Code Status
      • Resources
    • HTTP Headers
    • URL Parameters
      • mode
      • query
      • fields
      • excludeFields
      • count
      • start
    • Common Endpoints
      • descendants
      • ancestors
      • ancestor
      • currentAlarms
      • currentAlarmCounts
    • Resource Paths
    • Sample Operations
      • Get all Catalog Applications
      • Get Deployment Details
      • Create a direct-connect host-group
      • Create an Application
      • Delete an Application
      • Get the UUID of an Application named 'helloworld' in YAML format
      • Get all running Applications' IDs, names, and states
      • Create a new Environment
      • Run an Application in an Environment
      • Find all Deployments and replica counts in running Applications
      • Scale a Deployment in a running Application
      • Get the image versions for a container
      • Update image version for a running container
      • Select a PodTemplateSpec and output as YAML
      • Add Nirmata controller to a cluster
      • Apply YAML updates to a running Application
      • Get CPU and memory usage for all Clusters
      • Get select properties of all hosts
      • Create a new Direct Connect Cluster
      • Query a cluster's state
      • Discover attributes and relations
      • Discover the REST API schema
  • Nirmata Documentation
  • REST API
  • Common Endpoints
  • descendants

descendants

Returns all descendants of a model type. The full URL is of the form:

/{service}/api/{model}/{id}/descendants/{model}

Note that the descendants keyword is optional. So the following is an equivalent query to retrieve all direct or sub-descendants:

/{service}/api/{model}/{id}/{model}

Common Endpoints ancestors

© Copyright 2022, Nirmata