---
title: "How to get a content definition JSON from the Cloud CMS API?"
description: "Learn how to retrieve content definition JSONs from Cloud CMS API using node or definition GET calls. (Support 1.0)"
product: "Support"
version: "1.0"
url: "/documentation/support/1.0/support/all/how-to-get-a-content-definition-json-from-the-cloud-cms-api"
---

# How to get a content definition JSON from the Cloud CMS API?

There are a couple of ways to do this. The first is simply use the node GET call and pass in the qname like this:  
  
GET /repositories/{repositoryId}/branches/{branchId}/nodes/{qname}  
[https://api.cloudcms.com/docs#!/node/get\_repositories\_repositoryId\_branches\_branchId\_nodes\_nodeId](https://api.cloudcms.com/docs#!/node/get_repositories_repositoryId_branches_branchId_nodes_nodeId "https://api.cloudcms.com/docs#!/node/get_repositories_repositoryId_branches_branchId_nodes_nodeId")  
  
This will give you back the JSON for the definition.  
  
Another way is to use this variation:  
  
GET /repositories/{repositoryId}/branches/{branchId}/definitions/{qname}  
[https://api.cloudcms.com/docs#!/branch/get\_repositories\_repositoryId\_branches\_branchId\_definitions\_qname](https://api.cloudcms.com/docs#!/branch/get_repositories_repositoryId_branches_branchId_definitions_qname "https://api.cloudcms.com/docs#!/branch/get_repositories_repositoryId_branches_branchId_definitions_qname")  
  
This will give you back the same JSON but may a few additional fields such as "\_capabilities" (which describe all of the capabilities that the current user has against instances of that type) and/or "\_forms". You can also get forms for a definition like this:  
  
GET /repositories/{repositoryId}/branches/{branchId}/definitions/{qname}/forms  
[https://api.cloudcms.com/docs#!/node/get\_repositories\_repositoryId\_branches\_branchId\_definitions\_qname\_forms](https://api.cloudcms.com/docs#!/node/get_repositories_repositoryId_branches_branchId_definitions_qname_forms "https://api.cloudcms.com/docs#!/node/get_repositories_repositoryId_branches_branchId_definitions_qname_forms")

For any of these methods, the "qname" is the type of your definition - such as "my:article".
