Content service API (1.0.0-content)

Download OpenAPI specification:

Content related service API

content

Content related operations

Get component by id

Get the component for the given id

Authorizations:
api_key
path Parameters
id
required
string

The resource id

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metrics": {
    },
  • "context": {
    }
}

Get page by site, type and key

Gets the page based on site, content type and key

Authorizations:
api_key
path Parameters
siteKey
required
string

The key of the site for delivery options

key
required
string

The resource key

pageType
required
string (PageType)
Enum: "blog-news-page" "brand-page" "category-page" "collection-page" "content-page" "home-page" "health-fund-page" "health-page" "offer-page" "product-listing-page" "product" "site"

The content page type

query Parameters
locale
string

The ISO locale code

isPreview
boolean

If set to true, this is for preview environment

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "context": {
    },
  • "metrics": {
    }
}

Get site content by site key

Get the site content for the site key specified

Authorizations:
api_key
path Parameters
siteKey
required
string

The key of the site for delivery options

query Parameters
locale
string

The ISO locale code

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "context": {
    },
  • "metrics": {
    }
}

Returns URL info objects for all URLs

Returns URL info objects for all URLs

Authorizations:
api_key

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "context": {
    },
  • "metrics": {
    }
}

Returns URL info for a given asset type

Returns URL info for a given asset type

Authorizations:
api_key
path Parameters
pageType
required
string (PageType)
Enum: "blog-news-page" "brand-page" "category-page" "collection-page" "content-page" "home-page" "health-fund-page" "health-page" "offer-page" "product-listing-page" "product" "site"

The content page type

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "context": {
    },
  • "metrics": {
    }
}

Returns the URL info object for a specific asset

The type and key parameters must uniquely identify an asset

Authorizations:
api_key
path Parameters
pageType
required
string (PageType)
Enum: "blog-news-page" "brand-page" "category-page" "collection-page" "content-page" "home-page" "health-fund-page" "health-page" "offer-page" "product-listing-page" "product" "site"

The content page type

key
required
string

The resource key

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "context": {
    },
  • "metrics": {
    }
}

Get page content search view by site, type and key

Gets the page view based on site, content type and key

Authorizations:
api_key
path Parameters
siteKey
required
string

The key of the site to retrieve content for

locale
required
string

The ISO locale code

key
required
string

The resource key

pageType
required
string (PageType)
Enum: "blog-news-page" "brand-page" "category-page" "collection-page" "content-page" "home-page" "health-fund-page" "health-page" "offer-page" "product-listing-page" "product" "site"

The content page type

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "context": {
    },
  • "metrics": {
    }
}

Health check information for the content service

The health endpoint.

Authorizations:
api_key

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Health check information for the Contentful webhook ingest service

The health endpoint.

Authorizations:
api_key

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

contentful

Handles a Contentful Webhook request

Handles a Contentful Webhook request

Authorizations:
api_key

Responses

Response samples

Content type
application/json
{
  • "context": {
    },
  • "metrics": {
    }
}