v1

latestOpenAPI 3.0.12026-07-1431191129.7 KB
Resources

Create a contained resource in registry

Create a contained resource in registry.

post/sources/{sourceKey}/v1/resources/{resourceType}/{id}/{containKey}

Path parameters

sourceKeystring required

The key of the source.

resourceTypestring required

Type of the resource. Key of the profile.

idstring required

Id of the resource.

containKeystring required

Key of the contained resource. This is the key of the profile that defines the contained resource type.

Request body

typestring required

type for the contained resource.

dataobject required

Dynamic data attributes, based on the resource type.

Response

A successful response when the contained resource was created with a status 'PERSISTED'. The root resource is returned.

OR