createComponent
Changed onPatch an existing app version to create/add a component
Request
- Base URLhttps://app.sls.epilot.io
- URLhttps://app.sls.epilot.io/v1/app-configurations/{appId}/versions/{version}/components
- Auth
- HTTP bearer
- or API key in header x-epilot-org-id
Path parameters
ID of the app configuration
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"
}
}
}Changes
- breaking
the
//////request property type changed fromstringtostringbooleannumber - breaking
removed the success response with the status
- warning
removed the request property
//////////// - info
added the new optional request property
//// - info
added the new optional request property
///// - info
added the new optional request property
////// - info
added
ERP_INFORM_TOOLKITdiscriminator mapping keys to therequest property - info
added to the
request propertyoneOflist - info
added the success response with the status
- breaking
- info
added
CUSTOM_FLOW_ACTIONdiscriminator mapping keys to therequest property - info
added the new
numberenum value to the request property/////// - info
added to the
request propertyoneOflist
- info