![]() ![]() Unable to connect to Contentful through your proxy? Try to set the rawProxy option to true.The number of items per page per request Other errorLogFile įull path to the error log file useVerboseRenderer ĭisplay progress in new lines instead of displaying a busy spinner and the status in the same line. Pass proxy config to Axios instead of creating a custom httpsAgent maxAllowedLimit Proxy configuration in HTTP auth format: host:port or rawProxy Only export assets that match these queries downloadAssets ĭownload actual asset files Connection host Only export entries that match these queries queryAssets Only export entries and assets queryEntries Skip exporting roles and permissions skipWebhooks ![]() Skip exporting assets and entries skipRoles Skip exporting content models skipContent Include archived entries in the exported entries skipContentModel Include drafts in the exported entries includeArchived The filename for the exported data Filtering includeDrafts ![]() Save the export as a JSON file contentFile ID of the environment in the source space managementToken Ĭontentful management API token for the space to be exported Output exportDir ĭefines the path for storing the export JSON file saveFile ID of the space with source data environmentId QueryAssets uses the same syntax as queryEntries Export an environment const contentfulExport = require( 'contentful-export') const contentfulExport = require( 'contentful-export') The Export tool also support multiple inline queries. All search parameters of our API are supported as documented in our API documentation. To scope your export, you are able to pass query parameters. ✋ Usage const contentfulExport = require( 'contentful-export')Ĭonsole.log( 'Oh no! Some errors occurred!', err) ☁️ Installation npm install contentful-export > Please have a look at the Contentful CLI export command documentation to learn more about how to use this as command line tool. This allows our users to use and install only one single CLI tool to get the full Contentful experience. > We moved the CLI version of this tool into our Contentful CLI. To import your exported data, please refer to the contentful-import repository. It will support Roles & Permissions in a future version. This is a library that help you backup your Content Model, Content and Assets or move them to a new Contentful space. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship digital products faster. Unlike a CMS, Contentful was built to integrate with the modern software stack. Once the token is generated copy the key and save remotely as it will not. Usage $ npm install contentfulExport = require( 'contentful-export')Ĭontentful provides a content infrastructure for digital teams to power content in websites, apps, and devices. You can find your Space ID in the Contentful app in Settings under API Keys. This is a fork of the Contentful Export Tool to write the Contentful backup to AWS S3 instead of a local file system. ![]()
0 Comments
Leave a Reply. |