Get Published Item by slug
/content/published/api/v1.1/items/.by.slug/{slug}
Request
-
slug: string
Slug value of the published Item. Any special characters in slug must be encoded.
-
channelToken(optional): string
Channel token of the publish target. A channel token must be provided as either a query parameter or a request header.
-
expand(optional): string
Expand parameter provides the option of getting child resources (referenced items) inline with the item's response. Accepts a comma-separated list of field names or all. All the user-defined field names should be provided with prefix fields and followed by a period (.). If these fields are of a reference type, then the resource expands their data inline in the response. Field names are case-sensitive. When expand is specified as all (in lowercase), all the fields of the reference type of the requested item are expanded. When expand is not specified, the item response contains links to the referenced items.
Expansion of this form is supported for one level only, a request to expand beyond the first level of referenced fields will produce response HTTP 400. When the expand contains a nonexisting field as per the type definition of the requested item, the resource produces HTTP 400.
Example : expand=fields.field1,fields.field2
Returns field1 and field2: names of the user-defined fields in the type to which this item belongs.
Example : expand=taxonomies
Returns the taxonomies field containing all categories assigned to this item. Taxonomies must be published to the same channel of this item.
Example : expand=renditions
Returns the renditions field containing all content renditions available for this item.
Example : expand=all
Returns all fields available for this item, including taxonomies and renditions. -
links(optional): string
Accepts a comma-separated list of rel (relation) links, which the client requires in the results. By default, all the applicable links in a resource are included in the response. Possible values are: self, canonical, describedby.
Example: links=self,canonical will only return the links with the rel property self or canonical.
Response
- application/json
200 Response
object
-
createdDate(optional):
object createdDate
Created date of the item. Map
having value, timezone, and description -
description(optional):
string
Description of the item.
-
fields(optional):
object fields
Additional Properties Allowed: additionalPropertiesUser-defined fields data. Map
-
fileExtension(optional):
string
Extension of the file.
-
fileGroup(optional):
string
-
id(optional):
string
ID of the item.
-
itemVariations(optional):
array itemVariations
-
language(optional):
string
-
links(optional):
array links
Links of the resource.
-
mimeType(optional):
string
-
name(optional):
string
Name of the item.
-
renditions(optional):
object RenditionsBean
-
slug(optional):
string
-
taxonomies(optional):
object TaxonomiesBean
-
translatable(optional):
boolean
-
type(optional):
string
Type of the item.
-
typeCategory(optional):
string
Read Only:
true
-
updatedDate(optional):
object updatedDate
Last updated date of the item. Map
having value, timezone, and description
object
object
array
-
Array of:
object Link
Link of the resource.
object
-
items(optional):
array items
Item renditions.
-
links(optional):
array links
object
-
items(optional):
array items
Item taxonomies.
-
links(optional):
array links
Resource links.
object
object
object
-
id(optional):
string
-
isMaster(optional):
boolean
-
isPublished(optional):
boolean
-
lastModified(optional):
string(date-time)
-
links(optional):
array links
-
name(optional):
string
-
setId(optional):
string
-
slug(optional):
string
-
sourceId(optional):
string
-
sourceVersion(optional):
integer(int32)
-
status(optional):
string
-
type(optional):
string
-
value(optional):
string
-
varType(optional):
string
object
-
href(optional):
string
The target resource's URI. It could be template URI. It is a required property in the get response.
-
mediaType(optional):
string
Media type.
-
method(optional):
string
What HTTP method can be used to access the target resource.
-
profile(optional):
string
Link to the metadata that describes the target resource.
-
rel(optional):
string
Relation type. It is a required property in the get response.
-
templated(optional):
boolean
Whether the URI is a template.
array
-
Array of:
object TaxonomyItem
TaxonomyItem
array
-
Array of:
object Link
Link of the resource.
object
-
categories(optional):
object TaxonomyCategories
CategoriesBean
-
id(optional):
string
The id of the taxonomy.
-
links(optional):
array links
-
name(optional):
string
The name of the taxonomy
-
shortName(optional):
string
The short name of the taxonomy
object
-
items(optional):
array items
Taxonomy Categories
array
-
Array of:
object CategoryItem
CategoryItem
object
-
apiName(optional):
string
The apiName of the category
-
id(optional):
string
The id of the category.
-
links(optional):
array links
-
name(optional):
string
The name of the category
-
nodes(optional):
array nodes
The nodes of the category assigned to the item.
array
-
Array of:
object CategoryNodeItem
CategoryNodeBean
object
-
apiName(optional):
string
The apiName of the Category node.
-
id(optional):
string
The id of the Category node.
-
name(optional):
string
The name of the Category node.
304 Response
400 Response
403 Response
404 Response
500 Response
Examples
The following example shows how to read published item.
curl -i -X GET -H "Accept:application/json" 'http://<hostname>/content/published/api/v1.1/items/.by.slug/{slug}'
This reads published item with slug: 1481786136407-test522465970992001, channelToken: f573b68c764a44f9bae0627140d8b0bd.
/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd
Response Body
{ "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "description": "Test522465971063002 description", "typeCategory": "ContentType", "slug": "1481786136407-test522465970992001", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "mimeType": "contentItem", "fileGroup": "contentItem", "fields": { "521736947983001testexp_number": null, "521741018841007testexp_selfref": { "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741015735005testexp_ref1list": [ { "id": "COREF0AB490473E44D3FABCFF78BE0DD9890", "type": "Test521741379820007", "name": "Test522438229663004", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136362-test522438229663004?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CORE09BB238CB44E4A2CA2CEE5E90DE57CA3", "type": "Test521741379820007", "name": "Test522443736150006", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136374-test522443736150006?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ], "521737484651003testexp_ref1": { "id": "CORE1FF49BE9BA3E4B94B9915EBD7F6EAB7D", "type": "Test521741379820007", "name": "Test522451036022008", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/522456645488000-d%24a%28b%29c?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741020192009testexp_digital_ref": { "id": "CONT3E3AFF31343940768BEBE5461F97A8BC", "type": "DigitalAsset", "name": "Test522387760830005.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021113001testexp_digital_reflist": [ { "id": "CONT96692A3C727441C7A0E4D1F9CB27A622", "type": "DigitalAsset", "name": "Test522402763206006.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT96692A3C727441C7A0E4D1F9CB27A622?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CONTF954CD07CF11468CAF7EB292C3FA18C0", "type": "DigitalAsset", "name": "Test522410293593007.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONTF954CD07CF11468CAF7EB292C3FA18C0?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "canonical", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/metadata-catalog/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "describedby", "method": "GET", "mediaType": "application/schema+json" } ] }
This reads published item with slug: 1481786136407-test522465970992001, with channelToken f573b68c764a44f9bae0627140d8b0bd while also expanding all fields data.
/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?expand=all&channelToken=f573b68c764a44f9bae0627140d8b0bd
Response Body
{ "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "description": "Test522465971063002 description", "typeCategory": "ContentType", "slug": "1481786136407-test522465970992001", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "mimeType": "contentItem", "fileGroup": "contentItem", "fields": { "521736947983001testexp_number": null, "521741018841007testexp_selfref": { "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "description": "Test522465971063002 description", "typeCategory": "ContentType", "slug": "1481786136407-test522465970992001", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "mimeType": "contentItem", "fileGroup": "contentItem", "fields": { "521736947983001testexp_number": null, "521741018841007testexp_selfref": { "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741015735005testexp_ref1list": [ { "id": "COREF0AB490473E44D3FABCFF78BE0DD9890", "type": "Test521741379820007", "name": "Test522438229663004", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136362-test522438229663004?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CORE09BB238CB44E4A2CA2CEE5E90DE57CA3", "type": "Test521741379820007", "name": "Test522443736150006", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136374-test522443736150006?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ], "521737484651003testexp_ref1": { "id": "CORE1FF49BE9BA3E4B94B9915EBD7F6EAB7D", "type": "Test521741379820007", "name": "Test522451036022008", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/522456645488000-d%24a%28b%29c?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741020192009testexp_digital_ref": { "id": "CONT3E3AFF31343940768BEBE5461F97A8BC", "type": "DigitalAsset", "name": "Test522387760830005.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021113001testexp_digital_reflist": [ { "id": "CONT96692A3C727441C7A0E4D1F9CB27A622", "type": "DigitalAsset", "name": "Test522402763206006.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT96692A3C727441C7A0E4D1F9CB27A622?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CONTF954CD07CF11468CAF7EB292C3FA18C0", "type": "DigitalAsset", "name": "Test522410293593007.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONTF954CD07CF11468CAF7EB292C3FA18C0?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741015735005testexp_ref1list": [ { "id": "COREF0AB490473E44D3FABCFF78BE0DD9890", "type": "Test521741379820007", "name": "Test522438229663004", "description": "Test522438229719005 description", "typeCategory": "ContentType", "slug": "1481786136362-test522438229663004", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "mimeType": "contentItem", "fileGroup": "contentItem", "fields": { "521741021980005testexp_ref1": { "id": "CORE95047AE9B19A47BBBB43228E51562E9F", "type": "Test521788296820009", "name": "Test522424146766000", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136344-test522424146766000?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021873003testexp_number": 40 }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136362-test522438229663004?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CORE09BB238CB44E4A2CA2CEE5E90DE57CA3", "type": "Test521741379820007", "name": "Test522443736150006", "description": "Test522443736216007 description", "typeCategory": "ContentType", "slug": "1481786136374-test522443736150006", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "mimeType": "contentItem", "fileGroup": "contentItem", "fields": { "521741021980005testexp_ref1": { "id": "CORE52FA403BCAE24C59854CDD09A629A535", "type": "Test521788296820009", "name": "Test522418464555008", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136335-test522418464555008?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021873003testexp_number": 50 }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136374-test522443736150006?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ], "521737484651003testexp_ref1": { "id": "CORE1FF49BE9BA3E4B94B9915EBD7F6EAB7D", "type": "Test521741379820007", "name": "Test522451036022008", "description": "Test522451036102009 description", "typeCategory": "ContentType", "slug": "522456645488000-d$a(b)c", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "mimeType": "contentItem", "fileGroup": "contentItem", "fields": { "521741021980005testexp_ref1": { "id": "COREBDFF7712168844788FEE5F09F5C3221C", "type": "Test521741379820007", "name": "Test522430350355002", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136353-test522430350355002?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021873003testexp_number": 60 }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/522456645488000-d%24a%28b%29c?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741020192009testexp_digital_ref": { "id": "CONT3E3AFF31343940768BEBE5461F97A8BC", "type": "DigitalAsset", "name": "Test522387760830005.jpg", "description": "", "typeCategory": "DigitalAssetType", "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "jpg", "mimeType": "image/jpeg", "fileGroup": "Images", "fields": { "metadata": { "width": "5", "height": "5" }, "size": 631, "native": { "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/native/Test522387760830005.jpg?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, "renditions": [ { "name": "Thumbnail", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Thumbnail/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Thumbnail/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Medium", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Medium/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Medium/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Large", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Large/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Large/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Small", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Small/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Small/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" } ], "mimeType": "image/jpeg", "fileType": "jpeg" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021113001testexp_digital_reflist": [ { "id": "CONT96692A3C727441C7A0E4D1F9CB27A622", "type": "DigitalAsset", "name": "Test522402763206006.jpg", "description": "", "typeCategory": "DigitalAssetType", "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "jpg", "mimeType": "image/jpeg", "fileGroup": "Images", "fields": { "metadata": { "width": "5", "height": "5" }, "size": 631, "native": { "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/native/Test522402763206006.jpg?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, "renditions": [ { "name": "Thumbnail", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/Thumbnail/Test522402763206006.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/Thumbnail/Test522402763206006.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Medium", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/Medium/Test522402763206006.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/Medium/Test522402763206006.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Large", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/Large/Test522402763206006.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/Large/Test522402763206006.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Small", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/Small/Test522402763206006.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT96692A3C727441C7A0E4D1F9CB27A622/Small/Test522402763206006.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" } ], "mimeType": "image/jpeg", "fileType": "jpeg" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT96692A3C727441C7A0E4D1F9CB27A622?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CONTF954CD07CF11468CAF7EB292C3FA18C0", "type": "DigitalAsset", "name": "Test522410293593007.jpg", "description": "", "typeCategory": "DigitalAssetType", "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "jpg", "mimeType": "image/jpeg", "fileGroup": "Images", "fields": { "metadata": { "width": "5", "height": "5" }, "size": 631, "native": { "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/native/Test522410293593007.jpg?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, "renditions": [ { "name": "Thumbnail", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/Thumbnail/Test522410293593007.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/Thumbnail/Test522410293593007.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Medium", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/Medium/Test522410293593007.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/Medium/Test522410293593007.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Large", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/Large/Test522410293593007.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/Large/Test522410293593007.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Small", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/Small/Test522410293593007.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONTF954CD07CF11468CAF7EB292C3FA18C0/Small/Test522410293593007.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" } ], "mimeType": "image/jpeg", "fileType": "jpeg" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONTF954CD07CF11468CAF7EB292C3FA18C0?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "taxonomies": { "items": [ { "id": "1F86FEB491E041A68CAE90851DF76A33", "name": "Test521805686256003-taxonomyCars-assetExpand", "shortName": "T26", "categories": { "items": [ { "id": "F3BEB31A59EB4F10AB3A6850E374711C", "name": "car two doors", "apiName": "t26-c-c", "nodes": [ { "id": "0A98C1D090354636A895F1EE8971B545", "name": "car small", "apiName": "t26-c" }, { "id": "F3BEB31A59EB4F10AB3A6850E374711C", "name": "car two doors", "apiName": "t26-c-c" } ], "links": [ { "href": "https://<hostname>/content/published/api/v1.1/taxonomies/1F86FEB491E041A68CAE90851DF76A33/categories/F3BEB31A59EB4F10AB3A6850E374711C?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "819E762315AB41069BDBC9CAEA7481C4", "name": "Car two doors", "apiName": "t26-c-c1", "nodes": [ { "id": "F7AD4EF55DA0482C872F5FE8921613FF", "name": "Car intermediate", "apiName": "t26-c1" }, { "id": "819E762315AB41069BDBC9CAEA7481C4", "name": "Car two doors", "apiName": "t26-c-c1" } ], "links": [ { "href": "https://<hostname>/content/published/api/v1.1/taxonomies/1F86FEB491E041A68CAE90851DF76A33/categories/819E762315AB41069BDBC9CAEA7481C4?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/taxonomies/1F86FEB491E041A68CAE90851DF76A33?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "renditions": { "items": [ { "apiName": "summary", "formats": [ { "format": "desktop", "links": [ { "href": "http://<hostname>/content/published/api/v1.1/assets/COREDEA9143F289F49BAAAF9832054B17D07/renditions/summary?format=desktop&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "format": "mobile", "links": [ { "href": "http://<hostname>/content/published/api/v1.1/assets/COREDEA9143F289F49BAAAF9832054B17D07/renditions/summary?format=mobile&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ], "type": "layoutrendition" } ] }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=all", "rel": "self", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=all", "rel": "canonical", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/metadata-catalog/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "describedby", "method": "GET", "mediaType": "application/schema+json" } ] }
This reads published item with slug 1481786136407-test522465970992001, with channelToken: f573b68c764a44f9bae0627140d8b0bd while also expanding one field data.
/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?expand=fields.521741020192009testexp_digital_ref&channelToken=f573b68c764a44f9bae0627140d8b0bd
Response Body
{ "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "description": "Test522465971063002 description", "typeCategory": "ContentType", "slug": "1481786136407-test522465970992001", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "mimeType": "contentItem", "fileGroup": "contentItem", "fields": { "521736947983001testexp_number": null, "521741018841007testexp_selfref": { "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741015735005testexp_ref1list": [ { "id": "COREF0AB490473E44D3FABCFF78BE0DD9890", "type": "Test521741379820007", "name": "Test522438229663004", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136362-test522438229663004?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CORE09BB238CB44E4A2CA2CEE5E90DE57CA3", "type": "Test521741379820007", "name": "Test522443736150006", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136374-test522443736150006?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ], "521737484651003testexp_ref1": { "id": "CORE1FF49BE9BA3E4B94B9915EBD7F6EAB7D", "type": "Test521741379820007", "name": "Test522451036022008", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/522456645488000-d%24a%28b%29c?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741020192009testexp_digital_ref": { "id": "CONT3E3AFF31343940768BEBE5461F97A8BC", "type": "DigitalAsset", "name": "Test522387760830005.jpg", "description": "", "typeCategory": "DigitalAssetType", "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "jpg", "mimeType": "image/jpeg", "fileGroup": "Images", "fields": { "metadata": { "width": "5", "height": "5" }, "size": 631, "native": { "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/native/Test522387760830005.jpg?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, "renditions": [ { "name": "Thumbnail", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Thumbnail/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Thumbnail/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Medium", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Medium/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Medium/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Large", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Large/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Large/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" }, { "name": "Small", "formats": [ { "format": "jpg", "size": 631, "mimeType": "image/jpeg", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Small/Test522387760830005.jpg?format=jpg&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/jpeg" } ] }, { "format": "webp", "size": 0, "mimeType": "image/webp", "metadata": { "width": "5", "height": "5" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/assets/CONT3E3AFF31343940768BEBE5461F97A8BC/Small/Test522387760830005.jpg?format=webp&type=responsiveimage&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "image/webp" } ] } ], "type": "responsiveimage" } ], "mimeType": "image/jpeg", "fileType": "jpeg" }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021113001testexp_digital_reflist": [ { "id": "CONT96692A3C727441C7A0E4D1F9CB27A622", "type": "DigitalAsset", "name": "Test522402763206006.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT96692A3C727441C7A0E4D1F9CB27A622?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CONTF954CD07CF11468CAF7EB292C3FA18C0", "type": "DigitalAsset", "name": "Test522410293593007.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONTF954CD07CF11468CAF7EB292C3FA18C0?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=fields.521741020192009testexp_digital_ref", "rel": "self", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=fields.521741020192009testexp_digital_ref", "rel": "canonical", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/metadata-catalog/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "describedby", "method": "GET", "mediaType": "application/schema+json" } ] }
This reads published item with slug 1481786136407-test522465970992001, with channelToken: f573b68c764a44f9bae0627140d8b0bd while also expanding taxonomies data.
/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?expand=taxonomies&channelToken=f573b68c764a44f9bae0627140d8b0bd
Response Body
{ "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "description": "Test522465971063002 description", "typeCategory": "ContentType", "slug": "1481786136407-test522465970992001", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "mimeType": "contentItem", "fileGroup": "contentItem", "fields": { "521736947983001testexp_number": null, "521741018841007testexp_selfref": { "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741015735005testexp_ref1list": [ { "id": "COREF0AB490473E44D3FABCFF78BE0DD9890", "type": "Test521741379820007", "name": "Test522438229663004", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136362-test522438229663004?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CORE09BB238CB44E4A2CA2CEE5E90DE57CA3", "type": "Test521741379820007", "name": "Test522443736150006", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136374-test522443736150006?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ], "521737484651003testexp_ref1": { "id": "CORE1FF49BE9BA3E4B94B9915EBD7F6EAB7D", "type": "Test521741379820007", "name": "Test522451036022008", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/522456645488000-d%24a%28b%29c?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741020192009testexp_digital_ref": { "id": "CONT3E3AFF31343940768BEBE5461F97A8BC", "type": "DigitalAsset", "name": "Test522387760830005.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021113001testexp_digital_reflist": [ { "id": "CONT96692A3C727441C7A0E4D1F9CB27A622", "type": "DigitalAsset", "name": "Test522402763206006.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT96692A3C727441C7A0E4D1F9CB27A622?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CONTF954CD07CF11468CAF7EB292C3FA18C0", "type": "DigitalAsset", "name": "Test522410293593007.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONTF954CD07CF11468CAF7EB292C3FA18C0?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "taxonomies": { "items": [ { "id": "1F86FEB491E041A68CAE90851DF76A33", "name": "Test521805686256003-taxonomyCars-assetExpand", "shortName": "T26", "categories": { "items": [ { "id": "F3BEB31A59EB4F10AB3A6850E374711C", "name": "car two doors", "apiName": "t26-c-c", "nodes": [ { "id": "0A98C1D090354636A895F1EE8971B545", "name": "car small", "apiName": "t26-c" }, { "id": "F3BEB31A59EB4F10AB3A6850E374711C", "name": "car two doors", "apiName": "t26-c-c" } ], "links": [ { "href": "https://<hostname>/content/published/api/v1.1/taxonomies/1F86FEB491E041A68CAE90851DF76A33/categories/F3BEB31A59EB4F10AB3A6850E374711C?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "819E762315AB41069BDBC9CAEA7481C4", "name": "Car two doors", "apiName": "t26-c-c1", "nodes": [ { "id": "F7AD4EF55DA0482C872F5FE8921613FF", "name": "Car intermediate", "apiName": "t26-c1" }, { "id": "819E762315AB41069BDBC9CAEA7481C4", "name": "Car two doors", "apiName": "t26-c-c1" } ], "links": [ { "href": "https://<hostname>/content/published/api/v1.1/taxonomies/1F86FEB491E041A68CAE90851DF76A33/categories/819E762315AB41069BDBC9CAEA7481C4?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/taxonomies/1F86FEB491E041A68CAE90851DF76A33?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=taxonomies", "rel": "self", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=taxonomies", "rel": "canonical", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/metadata-catalog/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "describedby", "method": "GET", "mediaType": "application/schema+json" } ] }
This reads published item with slug 1481786136407-test522465970992001, with channelToken: f573b68c764a44f9bae0627140d8b0bd while also expanding html renditions.
/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?expand=renditions&channelToken=f573b68c764a44f9bae0627140d8b0bd
Response Body
{ "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "description": "Test522465971063002 description", "typeCategory": "ContentType", "slug": "1481786136407-test522465970992001", "language": "en-US", "translatable": false, "createdDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "updatedDate": { "value": "2020-07-03T07:22:31.732Z", "timezone": "UTC" }, "fileExtension": "contentItem", "fields": { "521736947983001testexp_number": null, "521741018841007testexp_selfref": { "id": "COREDEA9143F289F49BAAAF9832054B17D07", "type": "Test521788296820009", "name": "Test522465970992001", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741015735005testexp_ref1list": [ { "id": "COREF0AB490473E44D3FABCFF78BE0DD9890", "type": "Test521741379820007", "name": "Test522438229663004", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136362-test522438229663004?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CORE09BB238CB44E4A2CA2CEE5E90DE57CA3", "type": "Test521741379820007", "name": "Test522443736150006", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136374-test522443736150006?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ], "521737484651003testexp_ref1": { "id": "CORE1FF49BE9BA3E4B94B9915EBD7F6EAB7D", "type": "Test521741379820007", "name": "Test522451036022008", "typeCategory": "ContentType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/522456645488000-d%24a%28b%29c?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741020192009testexp_digital_ref": { "id": "CONT3E3AFF31343940768BEBE5461F97A8BC", "type": "DigitalAsset", "name": "Test522387760830005.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT3E3AFF31343940768BEBE5461F97A8BC?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, "521741021113001testexp_digital_reflist": [ { "id": "CONT96692A3C727441C7A0E4D1F9CB27A622", "type": "DigitalAsset", "name": "Test522402763206006.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONT96692A3C727441C7A0E4D1F9CB27A622?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "id": "CONTF954CD07CF11468CAF7EB292C3FA18C0", "type": "DigitalAsset", "name": "Test522410293593007.jpg", "fileExtension": "jpg", "typeCategory": "DigitalAssetType", "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/CONTF954CD07CF11468CAF7EB292C3FA18C0?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ] }, "renditions": { "items": [ { "apiName": "summary", "formats": [ { "format": "desktop", "links": [ { "href": "http://<hostname>/content/published/api/v1.1/assets/COREDEA9143F289F49BAAAF9832054B17D07/renditions/summary?format=desktop&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] }, { "format": "mobile", "links": [ { "href": "http://<hostname>/content/published/api/v1.1/assets/COREDEA9143F289F49BAAAF9832054B17D07/renditions/summary?format=mobile&channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "self", "method": "GET", "mediaType": "application/json" } ] } ], "type": "layoutrendition" } ] }, "links": [ { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=renditions", "rel": "self", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd&expand=renditions", "rel": "canonical", "method": "GET", "mediaType": "application/json" }, { "href": "https://<hostname>/content/published/api/v1.1/metadata-catalog/items/.by.slug/1481786136407-test522465970992001?channelToken=f573b68c764a44f9bae0627140d8b0bd", "rel": "describedby", "method": "GET", "mediaType": "application/schema+json" } ] } }