App Configuration
createComponent
Patch an existing app version to create/add a component
post/v1/app-configurations/{appId}/versions/{version}/components
Path parameters
appIdstring required
ID of the app configuration
versionstring required
Version to update
Request body
Example request
{
"configuration": {
"override_dev_mode": {
"override_url": "http://localhost:3000"
},
"component_url": "https://cdn.apps.com/123/v1.0.0/bundle.js"
}
}Response
Component created successfully
Example response
{
"component": {
"configuration": {
"override_dev_mode": {
"override_url": "http://localhost:3000"
},
"component_url": "https://cdn.apps.com/123/v1.0.0/bundle.js"
}
}
}