Contentstack’s Early Access program provides customers with the opportunity to explore Contentstack's products and features before they are generally available. Through this program, users can engage in collaborative communication with the product teams, enabling them to test and influence the development of products tailored to their organization's unique requirements.
The configuration of headers in a Command Line Interface (CLI) involves the setting of HTTP headers when interacting with web services or APIs through the command line. The Early Access header support in CLI includes commands to set, get and remove headers for requests made to web servers or APIs for Contentstack products and features before they are generally available.
This step-by-step guide lets you configure and use the Early Access header in the CLI.
The config:set:early-access-header command lets you set an Early Access header with an alias name and value in the CLI.
csdx config:set:early-access-headerYou have successfully set an Early Access header in the CLI.
Alternatively, you can pass the alias and value in the command as given below:
csdx config:set:early-access-header --header-alias <alias_name> --header <value>Usage
csdx config:set:early-access-headeror
csdx config:set:ea-headerOptions
Examples
csdx config:set:early-access-header --header 3.2csdx config:set:early-access-header --header-alias ta****my --header txThe config:get:early-access-header command fetches a list of the Early Access headers that you have set in the CLI.
csdx config:get:early-access-headerYou have successfully retrieved a list of Early Access headers you have set in the CLI.
Usage
csdx config:get:early-access-headeror
csdx config:get:ea-headerThe config:remove:early-access-header command lets you remove an existing Early Access header configuration from the CLI.
csdx config:remove:early-access-headerYou have successfully removed the configuration of the provided Early Access header from the CLI.
Usage
csdx config:remove:early-access-headeror
csdx config:remove:ea-headerOptions
Examples
csdx config:remove:early-access-header --yescsdx config:remove:early-access-header --header-alias ta****my