Creates an Item

post

/content/management/api/v1.1/items

Creates an item with the given payload. Creates master/variations of content items or variations of digital assets if file sharing option is enabled on type.
Notes :
If language node is not passed then we set repository default language.

Request

Supported Media Types
Query Parameters
Header Parameters
Body ()
Creates an item with the given information in the payload. The fields id, createdBy, createdDate, updatedBy, updatedDate, typeCategory, variations, relationships, publishInfo, suggestedTaxonomies and links will be ignored even if given in the payload.
Note: Created item might be automatically submitted to a workflow depending on the repository workflows configuration.
Root Schema : Item
Type: object
Discriminator: typeCategory
Item
Show Source
Nested Schema : ItemSubResourceListChangesInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListChannelId
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListCollectionId
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceConnectorFileInfo
Type: object
Item SubResource.
Show Source
Nested Schema : User
Type: object
User object
Show Source
Nested Schema : date
Type: object
date
Show Source
Nested Schema : fields
Type: object
Read Only: true
Additional Properties Allowed
Show Source
User-defined fields data. Map. All the user-defined fields required in the type definition must be provided under this property in PUT and POST request.
Nested Schema : ItemSubResourceLockInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemMetadataInfo
Type: object
ItemMetadataInfo
Show Source
Nested Schema : ItemSubResourceListAction
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListPublishInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemReferenceInfo
Type: object
ItemReferenceInfo
Show Source
Nested Schema : ItemSubResourceRelationships
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListSuggestedTaxonomyInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListTag
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListTaxonomyInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListVariationsInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListVersionInfo
Type: object
Item SubResource.
Show Source
Nested Schema : VideoBean
Type: object
VideoBean
Show Source
Nested Schema : WorkflowField
Type: object
All mapped workflow fields
Show Source
Nested Schema : ItemSubResourceListWorkflowInfo
Type: object
Item SubResource.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : ChangesInfo
Type: object
ChangesInfo
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : ChannelId
Type: object
ChannelId
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : CollectionId
Type: object
CollectionId
Show Source
Nested Schema : ConnectorFileInfo
Type: object
ConnectorFileInfo
Show Source
Nested Schema : additionalProperties
Type: object
Nested Schema : LockInfo
Type: object
LockInfo
Show Source
Nested Schema : EXIFMetadata
Type: object
EXIF Metadata
Show Source
Nested Schema : VideoTranscriptMetadata
Type: object
Video Transcription Metadata
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : AggregationResult
Type: object
Show Source
Nested Schema : ItemExtractedExifBean
Type: object
ItemExtractedExifBean
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : Videotranscript
Type: object
Video transcript
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : Action
Type: object
Action
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : PublishInfo
Type: object
PublishInfo
Show Source
Nested Schema : Relationships
Type: object
Relationships
Show Source
Nested Schema : referencedBy
Type: array
Referenced by ids
Show Source
Nested Schema : Siteplanreference
Type: object
Site plan reference
Show Source
Nested Schema : referencedBySites
Type: array
Referenced by sites
Show Source
Nested Schema : references
Type: array
Reference ids
Show Source
Nested Schema : References
Type: object
References
Show Source
Nested Schema : ReferencedBySites
Type: object
ReferencedBySites
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : SuggestedTaxonomyInfo
Type: object
SuggestedTaxonomyInfo
Show Source
Nested Schema : categories
Type: array
Categories in the Suggested Taxonomy the item belongs to.
Show Source
Nested Schema : ItemSuggestedCategoryInfo
Type: object
Show Source
Nested Schema : nodes
Type: array
Nodes in the category assigned to the item.
Show Source
Nested Schema : CategoryNodeBean
Type: object
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : Tag
Type: object
Tag.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : TaxonomyInfo
Type: object
TaxonomyInfo
Show Source
Nested Schema : categories
Type: array
Categories in the Taxonomy the item belongs to.
Show Source
Nested Schema : ItemCategoryInfo
Type: object
Show Source
Nested Schema : nodes
Type: array
Nodes in the category assigned to the item.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : VariationsInfo
Type: object
Variations Info.
Show Source
Nested Schema : items
Type: array
Content item variations.
Show Source
Nested Schema : Language
Type: object
LanguageItem
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : VersionInfo
Type: object
VersionInfo
Show Source
Nested Schema : PlaybackBean
Type: object
PlaybackBean
Show Source
Nested Schema : ProcessingBean
Type: object
ProcessingBean
Show Source
  • Read Only: true
    The progress of the background process. The value of this field will be one of PENDING, SUCCEEDED or FAILED.
Nested Schema : StripBean
Type: object
StripBean
Show Source
Nested Schema : AdaptiveStreamsBean
Type: object
AdaptiveStreamsBean
Show Source
Nested Schema : StripFrameBean
Type: object
StripFrameBean
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : WorkflowInfo
Type: object
WorkflowInfo.
Show Source
Nested Schema : data
Type: array
Show Source
Back to Top

Response

Supported Media Types

201 Response

Created.
Body ()
Root Schema : Item
Type: object
Discriminator: typeCategory
Item
Show Source
Nested Schema : ItemSubResourceListChangesInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListChannelId
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListCollectionId
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceConnectorFileInfo
Type: object
Item SubResource.
Show Source
Nested Schema : User
Type: object
User object
Show Source
Nested Schema : date
Type: object
date
Show Source
Nested Schema : fields
Type: object
Read Only: true
Additional Properties Allowed
Show Source
User-defined fields data. Map. All the user-defined fields required in the type definition must be provided under this property in PUT and POST request.
Nested Schema : ItemSubResourceLockInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemMetadataInfo
Type: object
ItemMetadataInfo
Show Source
Nested Schema : ItemSubResourceListAction
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListPublishInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemReferenceInfo
Type: object
ItemReferenceInfo
Show Source
Nested Schema : ItemSubResourceRelationships
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListSuggestedTaxonomyInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListTag
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListTaxonomyInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListVariationsInfo
Type: object
Item SubResource.
Show Source
Nested Schema : ItemSubResourceListVersionInfo
Type: object
Item SubResource.
Show Source
Nested Schema : VideoBean
Type: object
VideoBean
Show Source
Nested Schema : WorkflowField
Type: object
All mapped workflow fields
Show Source
Nested Schema : ItemSubResourceListWorkflowInfo
Type: object
Item SubResource.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : ChangesInfo
Type: object
ChangesInfo
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : ChannelId
Type: object
ChannelId
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : CollectionId
Type: object
CollectionId
Show Source
Nested Schema : ConnectorFileInfo
Type: object
ConnectorFileInfo
Show Source
Nested Schema : additionalProperties
Type: object
Nested Schema : LockInfo
Type: object
LockInfo
Show Source
Nested Schema : EXIFMetadata
Type: object
EXIF Metadata
Show Source
Nested Schema : VideoTranscriptMetadata
Type: object
Video Transcription Metadata
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : AggregationResult
Type: object
Show Source
Nested Schema : ItemExtractedExifBean
Type: object
ItemExtractedExifBean
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : Videotranscript
Type: object
Video transcript
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : Action
Type: object
Action
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : PublishInfo
Type: object
PublishInfo
Show Source
Nested Schema : Relationships
Type: object
Relationships
Show Source
Nested Schema : referencedBy
Type: array
Referenced by ids
Show Source
Nested Schema : Siteplanreference
Type: object
Site plan reference
Show Source
Nested Schema : referencedBySites
Type: array
Referenced by sites
Show Source
Nested Schema : references
Type: array
Reference ids
Show Source
Nested Schema : References
Type: object
References
Show Source
Nested Schema : ReferencedBySites
Type: object
ReferencedBySites
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : SuggestedTaxonomyInfo
Type: object
SuggestedTaxonomyInfo
Show Source
Nested Schema : categories
Type: array
Categories in the Suggested Taxonomy the item belongs to.
Show Source
Nested Schema : ItemSuggestedCategoryInfo
Type: object
Show Source
Nested Schema : nodes
Type: array
Nodes in the category assigned to the item.
Show Source
Nested Schema : CategoryNodeBean
Type: object
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : Tag
Type: object
Tag.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : TaxonomyInfo
Type: object
TaxonomyInfo
Show Source
Nested Schema : categories
Type: array
Categories in the Taxonomy the item belongs to.
Show Source
Nested Schema : ItemCategoryInfo
Type: object
Show Source
Nested Schema : nodes
Type: array
Nodes in the category assigned to the item.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : VariationsInfo
Type: object
Variations Info.
Show Source
Nested Schema : items
Type: array
Content item variations.
Show Source
Nested Schema : Language
Type: object
LanguageItem
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : VersionInfo
Type: object
VersionInfo
Show Source
Nested Schema : PlaybackBean
Type: object
PlaybackBean
Show Source
Nested Schema : ProcessingBean
Type: object
ProcessingBean
Show Source
  • Read Only: true
    The progress of the background process. The value of this field will be one of PENDING, SUCCEEDED or FAILED.
Nested Schema : StripBean
Type: object
StripBean
Show Source
Nested Schema : AdaptiveStreamsBean
Type: object
AdaptiveStreamsBean
Show Source
Nested Schema : StripFrameBean
Type: object
StripFrameBean
Show Source
Nested Schema : aggregationResults
Type: array
Aggregation results.
Show Source
Nested Schema : items
Type: array
Singular resources contained in the collection.
Show Source
Nested Schema : pinned
Type: array
Pinned items. Shows items pinned at the top of search list
Show Source
Nested Schema : WorkflowInfo
Type: object
WorkflowInfo.
Show Source
Nested Schema : data
Type: array
Show Source

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to create an item by submitting a POST request on the REST resource using cURL.

curl -X POST -H 'Content-Type: application/json' -H 'X-Requested-With: XMLHttpRequest' 'https://host:port/content/management/api/v1.1/items'

Example 1:

This creates a non-translatable item having no fields for given payload. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
    "name": "Item1",
    "type": "Type1",
    "description": "Item1 description",
    "slug": "type1-item1",
    "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
    "language": "en-US",
    "translatable": false
}

Response Body

{
        "id": "COREFFFEC388CFD044D8A34D2F8C46EA5786",
        "type": "Type1",
        "typeCategory": "ContentType",
        "name": "Item1",
        "description": "Item1 description",
        "createdBy": "cecusername",
        "createdDate": {
          "value": "2018-11-16T06:19:15.641Z",
          "timezone": "UTC"
        },
        "updatedBy": "cecusername",
        "updatedDate": {
          "value": "2018-11-16T06:19:15.641Z",
          "timezone": "UTC"
        },
        "slug": "type1-item1",
        "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
        "status":"draft",
        "isPublished": false,
        "languageIsMaster": true,
        "language": "en-US",
        "translatable": false,
        "version": "0.1",
        "fileExtension": "contentItem",
        "variations": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/variations",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "versionInfo": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/versionInfo",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "publishInfo": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/publishInfo",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "channels": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/channels",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "publishedChannels": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/publishedChannels",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "collections": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/collections",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "relationships": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/relationships",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "tags": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/tags",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "taxonomies": {
          "links": [
            {
              "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786/taxonomies",
              "rel": "self",
              "method": "GET",
              "mediaType": "application/json"
            }
          ]
        },
        "links": [
          {
            "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786",
            "rel": "self",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786",
            "rel": "canonical",
            "method": "GET",
            "mediaType": "application/json"
          },
          {
            "href": "https://<hostname>/content/management/api/v1.1/metadata-catalog/items/COREFFFEC388CFD044D8A34D2F8C46EA5786",
            "rel": "describedby",
            "method": "GET",
            "mediaType": "application/schema+json"
          }

Example 2:

This creates a non-translatable item having fields data for given payload. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
        "name": "Item2",
        "type": "Type2",
        "description": "description of Item2",
        "slug": "type2-item2",
        "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
        "language": "en-US",
        "translatable": false,
        "fields": {
          "type2_text": "sample_string1",
          "type2_largeText": "sample_string2",
          "type2_number":18,
          "type2_decimal":18.34,
          "type2_boolean":true,
          "type2_reference":{
            "id": "CORE039124915D0E481BBEF19598AAD2EB1E",
            "type": "TypeA"
          },
          "type2_media":{
            "id": "CONT32F5F5D22C3E492F824CD9F9A874531E",
            "type": "DigitalAsset"
          },
          "type2_dateTime":{
            "value": "2018-11-30T11:51:21+05:30",
            "timezone": "Asia/Calcutta"
          }
        }

Example 3:

This creates a translatable master item for a given payload. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
    "name": "Item3",
    "type": "Type1",
    "description": "Item3 description",
    "slug": "type1-item3",
    "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
    "language": "en-US",
    "translatable": true
}

Example 4:

This creates a translation of an existing item of file shared type for a given payload. The created item will be a translation in variation set of item 'CONTFFFEC388CFD044D8A34D2F8C46EA5786' and have name same as its master item and will be sharing file with the master of variation set. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
   "sourceId": "CONTFFFEC388CFD044D8A34D2F8C46EA5786",
   "type": "CDT1",
   "description": "Item4 description",
   "slug": "CDT1-var1",
   "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
   "language": "fr-FR",
   "translatable": true
}

Example 5:

This creates an item for a given payload along with collection, tags, channels, and taxonomies. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
        "name": "Item5",
        "type": "Type1",
        "description": "Item5 description",
        "slug": "type1-item5",
        "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
        "language": "en-US",
        "translatable": true,
        "tags": {
          "data": [{"name": "tag1"}]
        },
        "channels": {
          "data" : [{"id":"RCHANNEL692013F4E16F407BBBF26E6543415CFA"}]
        },
        "collections": {
          "data": [{"id": "COLL10879C30499B443CBA6A4337B795B9AB"}]
        },
        "taxonomies": {
          "data": [
            {
              "id": "45D8B115E52842299FA6E47653450F88",
              "categories": [{"id": "60BA3C5FFF7D47E3BD25D0154DC700EE"}]
            }
          ]
        }
      }

Example 6:

This creates a translation of an existing item for a given payload. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
    "sourceId": "COREFFFEC388CFD044D8A34D2F8C46EA5786",
    "name": "Item4",
    "type": "Type1",
    "description": "Item4 description",
    "slug": "type1-item4",
    "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
    "language": "fr-FR",
    "translatable": true
}

Example 7:

This creates an item with reference fields. This is a sample response when Granular Permissions feature is enabled. Also all empty sub resources are skipped in the response for clarity. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
		  "type": "TypeCCC",
		  "mode": "create",
		  "typeCategory": "ContentItem",
		  "scheduled": false,
		  "isLocked": false,
		  "lockedBy": "",
		  "status": "draft",
		  "fields": {
		    "txtfield": "c1 text value",
		    "multi_ref_ccc": [
		      {
		        "id": "CORE9478B48DC80041CAAF38E66E363ABD99",
		        "type": "TypeAAA",
		        "name": "Item A1"
		      },
		      {
		        "id": "CORE558B93EAE0114E749E0C7550DD0635C4",
		        "type": "TypeBBB",
		        "name": "Item B1"
		      }
		    ],
		    "multi_media_ccc": [
		      {
		        "id": "CONT8EDFA548B3BE4CD28FF9455D094989F9",
		        "type": "Image",
		        "name": "TTIct.jpg"
		      },
		      {
		        "id": "CONT227809A699004B8E81FF59C32747B937",
		        "type": "Image",
		        "name": "pga_068548.jpg"
		      }
		    ]
		  },
		  "repositoryId": "6589BF25F2854E6AA928EE7412CBE6AE",
		  "languageIsMaster": true,
		  "translatable": true,
		  "language": "en-US",
		  "name": "Item C1"
      }

Request Body

{
	    "id": "CORECA548D096E4948EFB9BEF43B2D4FD87F",
	    "type": "TypeCCC",
	    "typeCategory": "ContentType",
	    "name": "Item C1",
	    "description": "",
	    "createdBy": "cecusername",
	    "createdDate": {
	        "value": "2021-07-13T21:13:33.351Z",
	        "timezone": "UTC"
	    },
	    "updatedBy": "cecusername",
	    "updatedDate": {
	        "value": "2021-07-13T21:13:33.351Z",
	        "timezone": "UTC"
	    },
	    "slug": "3000000406001-item-c1",
	    "repositoryId": "6589BF25F2854E6AA928EE7412CBE6AE",
	    "language": "en-US",
	    "translatable": true,
	    "status": "draft",
	    "isPublished": false,
	    "languageIsMaster": true,
	    "version": "0.1",
           "fileExtension": "contentItem",
	    "scheduled": false,
	    "fields": {
	        "txtfield": "c1 text value",
	        "ref_field_ccc": null,
	        "multi_ref_ccc": [
	            {
	                "id": "CORE9478B48DC80041CAAF38E66E363ABD99",
	                "type": "TypeAAA",
	                "typeCategory": "ContentType",
	                "name": "Item A1",
	                "links": [
	                    {
	                        "href": "http://<hostname>/content/management/api/v1.1/items/CORE9478B48DC80041CAAF38E66E363ABD99",
	                        "rel": "self",
	                        "method": "GET",
	                        "mediaType": "application/json"
	                    }
	                ],
	                "reference": {
	                    "isAccessible": true
	                }
	            },
	            {
	                "id": "CORE558B93EAE0114E749E0C7550DD0635C4",
	                "type": "TypeBBB",
	                "typeCategory": "ContentType",
	                "name": "Item B1",
	                "links": [
	                    {
	                        "href": "http://<hostname>/content/management/api/v1.1/items/CORE558B93EAE0114E749E0C7550DD0635C4",
	                        "rel": "self",
	                        "method": "GET",
	                        "mediaType": "application/json"
	                    }
	                ],
	                "reference": {
	                    "isAccessible": true
	                }
	            }
	        ],
	        "multi_media_ccc": [
	            {
	                "id": "CONT8EDFA548B3BE4CD28FF9455D094989F9",
	                "type": "Image",
	                "typeCategory": "DigitalAssetType",
	                "name": "TTIct.jpg",
	                "links": [
	                    {
	                        "href": "http://<hostname>/content/management/api/v1.1/items/CONT8EDFA548B3BE4CD28FF9455D094989F9",
	                        "rel": "self",
	                        "method": "GET",
	                        "mediaType": "application/json"
	                    }
	                ],
	                "reference": {
	                    "isAccessible": true
	                }
	            },
	            {
	                "id": "CONT227809A699004B8E81FF59C32747B937",
	                "type": "Image",
	                "typeCategory": "DigitalAssetType",
	                "name": "pga_068548.jpg",
	                "links": [
	                    {
	                        "href": "http://<hostname>/content/management/api/v1.1/items/CONT227809A699004B8E81FF59C32747B937",
	                        "rel": "self",
	                        "method": "GET",
	                        "mediaType": "application/json"
	                    }
	                ],
	                "reference": {
	                    "isAccessible": true
	                }
	            }
	        ]
	    },
	    "versionInfo": {
	        "data": [
	            {
	                "latestVersion": "0.1"
	            }
	        ],
	        "links": [
	            {
	                "href": "http://<hostname>/content/management/api/v1.1/items/CORECA548D096E4948EFB9BEF43B2D4FD87F/versionInfo",
	                "rel": "self",
	                "method": "GET",
	                "mediaType": "application/json"
	            }
	        ]
	    },
	    "links": [
	        {
	            "href": "http://<hostname>/content/management/api/v1.1/items?expand=permissions",
	            "rel": "self",
	            "method": "POST",
	            "mediaType": "application/json"
	        },
	        {
	            "href": "http://<hostname>/content/management/api/v1.1/items?expand=permissions",
	            "rel": "canonical",
	            "method": "POST",
	            "mediaType": "application/json"
	        },
	        {
	            "href": "http://<hostname>/content/management/api/v1.1/metadata-catalog/items",
	            "rel": "describedby",
	            "method": "GET",
	            "mediaType": "application/schema+json"
	        }
	    ],
	    "currentVersion": "0.1",
	    "latestVersion": "0.1",
	    "mimeType": "contentItem",
	    "fileGroup": "contentItem",
	    "varSetId": "C708B5DC8C332217E053A79C6F645F7C"
      }
    } 

Example 8:

This creates a translation of an existing item of non-file shared type for a given payload. The file of sourceId item 'CONTFFFEC388CFD044D8A34D2F8C46EA5786' will be copied as file for the item created and it will be part of its variation set. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
        "sourceId": "CONTFFFEC388CFD044D8A34D2F8C46EA5786",
        "type": "NFSType1",
        "description": "Item6 description",
        "slug": "NFSType1-var1",
        "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
        "language": "sa",
        "translatable": true
}

Request Headers

{
    "Content-Type":"application/json",
    "X-Requested-With":"XMLHttpRequest"
}

Example 9:

This creates a translation of an existing item of file shared type for a given payload. The created item will be a translation in variation set of item 'CONTFFFEC388CFD044D8A34D2F8C46EA5786' and will have name as given name in payload along with fileExtension of master item appended to the name if not present and will be sharing file with the master of variation set. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{  
        "sourceId": "CONTFFFEC388CFD044D8A34D2F8C46EA5786",
        "type": "CDT1",
        "name": "Item4",
        "description": "Item4 description",
        "slug": "CDT1-var1",
        "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
        "language": "fr-FR",
        "translatable": true
}

Request Headers

{  
   "Content-Type":"application/json",
   "X-Requested-With":"XMLHttpRequest"
}

Example 10:

This creates an item for a given payload along with collection, tags, channels, taxonomies. Replace payload with your own data.

/content/management/api/v1.1/items

Request Payload

{
        "name": "Item5",
        "type": "Type1",
        "description": "Item5 description",
        "slug": "type1-item5",
        "repositoryId": "FF3F3EA7B9AA02DAB862BD32428A3162608D14D20E49",
        "language": "en-US",
        "translatable": true,
        "tags": {
          "data": [{"name": "tag1"}]
        },
        "channels": {
          "data" : [{"id":"RCHANNEL692013F4E16F407BBBF26E6543415CFA"}]
        },
        "collections": {
          "data": [{"id": "COLL10879C30499B443CBA6A4337B795B9AB"}]
        },
        "taxonomies": {
          "data": [
            {
              "id": "45D8B115E52842299FA6E47653450F88",
              "categories": [{"id": "60BA3C5FFF7D47E3BD25D0154DC700EE"}]
            }
          ]
        }
      }

Request Headers

{  
   "Content-Type":"application/json",
   "X-Requested-With":"XMLHttpRequest"
}
Back to Top