Get Content Item for Item Variation

get

/content/published/api/v1.1/items/{id}/variations/{variationType}/{variationValue}

Gets the Content Item of the Item Variation specified by Variation Type and Variation Value

Request

Path Parameters
Query Parameters
  • Channel token of the publish target. A channel token must be provided as either a query parameter or a request header.
  • 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.
    Examples:
      expand=fields.field1,fields.field2
      expand=all
    where field1, field2 are names of the user-defined fields in the type to which this item belongs.
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Item.
Root Schema : Item
Type: object
Item.
Show Source
Nested Schema : createdDate
Type: object
Created date of the item. Map having value, timezone, and description
Nested Schema : fields
Type: object
Additional Properties Allowed
Show Source
User-defined fields data. Map
Nested Schema : itemVariations
Type: array
Show Source
Nested Schema : updatedDate
Type: object
Last updated date of the item. Map having value, timezone, and description
Nested Schema : additionalProperties
Type: object
Nested Schema : ItemVariation
Type: object
Show Source

400 Response

Bad Request. The server is unable to process the request on the client side due to malformed syntax, invalid data or message framing.

404 Response

Not found.

500 Response

Internal server error.
Back to Top