7.3

Table Of Contents
The REST API supports import and export of the following registered content types:
n
composite-blueprint - the content type corresponding to the composite blueprint
n
software-component - the content type corresponding to the software component
n
property-group - the content type corresponding to the property groups
n
property-definition - the content type corresponding to the property definitions
Everything as a Service (XaaS) content types:
n
XaaS-blueprint
n
XaaS-resource-action
n
XaaS-resource-type
n
XaaS-resource-mapping
curl Command
The following example command returns a list of supported content types.
$curl --insecure -s -H "Content-Type: application/json" -H "Authorization: Bearer $token"
https://$vRA/content-management-service/api/provider/contenttypes
JSON Output
The following JSON output is returned based on the command input.
{
"links": [
],
"content": [
{
"@type": "ContentType",
"id": "property-group",
"name": "Property Group",
"description": "Content type corresponding to the property groups.",
"classId": "PropertyGroup",
"serviceTypeId": "com.vmware.csp.core.properties.service"
},
{
"@type": "ContentType",
"id": "property-definition",
"name": "Property Definition",
"description": "Content type corresponding to the property definitions.",
"classId": "PropertyDefinition",
"serviceTypeId": "com.vmware.csp.core.properties.service"
},
{
"@type": "ContentType",
"id": "composite-blueprint",
"name": "Composite Blueprint Content Type",
Programming Guide
VMware, Inc. 346