Count the number of assets in a domain with the REST API
In this tutorial you learn how to use the REST API to get the total number of assets in a domain.
Steps
- Use the GET method of the
/domains
endpoint to retrieve the domain ID: - Use the GET method of the
/assets
endpoint with the ID of your domain:The total field in the response shows the total number of assets you have access to in the domain.
Additional resources
- Refer to the REST API documentation provided with your version of Collibra Platform.