The id of the asset to archive
Archives an entry, hiding it from the delivery and preview APIs
Triggers the Contentful OAuth workflow for this client.
A window to run the Oauth workflow in. Creates a new popup window if undefined.
Creates a new asset from a file upload, usually from the Media Manager
A valid contentful upload datastructure, including the contents of the file as a string, ArrayBuffer, or ReadStream
The locale string for the locale to run the create for
Creates a single entry
The content type id of the entry you are creating
The field data for the entry you are creating
A pre-created entry ID to use instead of autogenerating one
The locale string for the locale to run the update for
Whether or not nested references should be created/updated
Deletes the the asset. This is irreverisble.
The id of the asset to delete
Deletes an entry. This is irreversible.
Fetches a single asset
The id of the asset to fetch
Fetches the latest draft asset version from the preview API instead of the published version from the delivery API
The Contentful query/search parameters to use to fetch assets. See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters
Retreives a paginated collection of assets
The Contentful query/search parameters to use to fetch assets. See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters
Fetches the latest draft asset version from the preview API instead of the published version from the delivery API
Fetches an array of assets, automatically handling pagination for you.
The Contentful query/search parameters to use to fetch assets. See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters
Fetches the latest draft asset version from the preview API instead of the published version from the delivery API
Fetches a content type definition by ID
If true, get the latest unpublished revision
Fetches an array of entries, automatically handling pagination for you.
The Contentful query/search parameters to use to fetch entries. See: https://www.contentful.com/developers/docs/references/content-delivery-api/#/reference/search-parameters
Fetches a single entry
The ID of entry to fetch
Publishes the latest version of the entry
Sets the Contentful environment the API client is communicating with
Unpublishes the latest version of the entry
Updates an asset
the ID of the asset to update_results
The locale string for the locale to run the create for
Updates an array of entries, resolving when all updates are complete
The updated entries
Whether or not to force updates even if versions mismatch
The initial state of the entries, used for doing recursive updates to nested entries
The locale string for the locale to run the update for
Updates a single entry
The updated entry
Whether or not to force updates even if versions mismatch
The initial state of the entry, used for doing recursive updates to nested entries
The locale string for the locale to run the update for
Generated using TypeDoc
Archives the latest version of the asset