class GdsApi::PublishingApiV2

def get_content!(content_id, params = {})

Raises:
  • (HTTPNotFound) - when the content item is not found

Returns:
  • (GdsApi::Response) - a content item

Options Hash: (**params)
  • locale (String) -- The language, defaults to 'en' in publishing-api.

Parameters:
  • params (Hash) --
  • content_id (UUID) --
def get_content!(content_id, params = {})
  get_json!(content_url(content_id, params))
end