Skip to main content

Update a multiple/single (non)binary variable on a content item

Swagger UIyaml
put/content-api/content-service/content-items/{contentItemId}/metadata

This endpoint can be used in 2 ways: By passing a JSON Body (RestVariable or an array of RestVariable) or by passing a multipart/form-data Object. Nonexistent variables are created on the content item and existing ones are overridden without any error. Any number of variables can be passed into the request body array. Note that scope is ignored, only local variables can be set in a case instance. NB: Swagger V2 specification doesn't support this use case that's why this endpoint might be buggy/incomplete if used with other tools.

Path parameters

contentItemIdstring

Request body multipart/form-data

filefile
namestring
typestring

Request body application/json · MetadataCollectionResource

Create metadata on a content item

MetadataCollectionResource

Responses

successful operation · object

object

requiredGrey names have no description in the spec