Module: Contentful::Management::Resource::AllPublished

Included in:
ContentType
Defined in:
lib/contentful/management/resource/all_published.rb

Overview

Wrapper Class for Resources with ‘/public’ API calls

Instance Method Summary collapse

Instance Method Details

#all_published(client, space_id, environment_id, parameters = {}) ⇒ Contentful::Management::Array<Contentful::Management::Resource>

Deprecated.

This call will be soon removed from the API except for Content Types

Gets a collection of published resources.

Parameters:

Options Hash (parameters):

  • 'sys.id' (String)

    Entry ID

  • :content_type (String)
  • :limit (Integer)
  • :skip (Integer)

Returns:

See Also:

  • For complete option list: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters


21
22
23
# File 'lib/contentful/management/resource/all_published.rb', line 21

def all_published(client, space_id, environment_id, parameters = {})
  client_association_class.new(client, space_id, environment_id).all_published(parameters)
end