Enterprise Data Catalog REST API Reference > Object APIs > Object Child Count REST API
  

Object Child Count REST API

You can use the Object Child Count REST API to list the total number of child assets for an object.

List the Child Count

/data/objectsChildSummary/{id}
API to list the total number of child assets for an object.
REST API Element
Input Format
Request URL
<CatalogAdmin>:<port>/access/2/catalog/data/objectsChildSummary/{id}
HTTP Method Type
GET

Request Parameters

Parameter
Required or Optional
Description
Parameter Type
Data Type
id
Required
The ID of the data object.
Path
String

Response Codes

Code
Reason
200
Listed the total number of child assets for an object.
400
Missing or invalid parameter
401
Missing credentials
403
User does not have the required access permissions
404
Requested object not found
429
Rate limit for requests encountered

Sample Call Using Curl

curl -X GET "http://<CatalogAdmin>:<port>/access/2/catalog/data/objectsChildSummary/543534" -H "accept: application/json"