v1

latestOpenAPI 3.0.12026-07-1431191129.7 KB
Resources

Upsert a contained resource in the registry

Upsert a contained resource in the registry.

put/sources/{sourceKey}/v1/resources/{resourceType}/{id}/{containKey}/{containedResourceId}

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.

containedResourceIdstring required

Id of the contained resource.

Request body

typestring required

type for the contained resource.

dataobject required

Dynamic data attributes, based on the resource type.

containedobject

Resources contained in this top-level resource. Contained resources exists only within the context of this top-level resource.

Response

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

OR