Create campaigns
curl --request POST \
--url https://backstage.example.com/api/soundcheck/campaigns \
--header 'Content-Type: application/json' \
--data '
{
"campaigns": [
{
"id": "<string>",
"type": "campaign",
"levels": [
{
"ordinal": 123,
"checks": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"filter": {},
"exclude": {}
}
],
"name": "<string>",
"description": "<string>",
"badge": {
"color": "<string>",
"svg": "<string>"
}
}
],
"name": "<string>",
"description": "<string>",
"ownerEntityRef": "<string>",
"group": "<string>",
"badge": {
"color": "<string>",
"svg": "<string>"
},
"filter": {},
"exclude": {},
"documentationURL": "<string>",
"draft": true,
"isEditable": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"archived": true,
"supportChannel": "<string>",
"startDate": "<string>",
"targetCompletionDate": "<string>",
"milestones": [
{}
]
}
]
}
'{
"campaigns": [
{
"id": "<string>",
"type": "campaign",
"levels": [
{
"ordinal": 123,
"checks": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"filter": {},
"exclude": {}
}
],
"name": "<string>",
"description": "<string>",
"badge": {
"color": "<string>",
"svg": "<string>"
}
}
],
"name": "<string>",
"description": "<string>",
"ownerEntityRef": "<string>",
"group": "<string>",
"badge": {
"color": "<string>",
"svg": "<string>"
},
"filter": {},
"exclude": {},
"documentationURL": "<string>",
"draft": true,
"isEditable": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"archived": true,
"supportChannel": "<string>",
"startDate": "<string>",
"targetCompletionDate": "<string>",
"milestones": [
{}
]
}
]
}Campaigns
Create campaigns
Create one or more campaigns.
POST
/
campaigns
Create campaigns
curl --request POST \
--url https://backstage.example.com/api/soundcheck/campaigns \
--header 'Content-Type: application/json' \
--data '
{
"campaigns": [
{
"id": "<string>",
"type": "campaign",
"levels": [
{
"ordinal": 123,
"checks": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"filter": {},
"exclude": {}
}
],
"name": "<string>",
"description": "<string>",
"badge": {
"color": "<string>",
"svg": "<string>"
}
}
],
"name": "<string>",
"description": "<string>",
"ownerEntityRef": "<string>",
"group": "<string>",
"badge": {
"color": "<string>",
"svg": "<string>"
},
"filter": {},
"exclude": {},
"documentationURL": "<string>",
"draft": true,
"isEditable": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"archived": true,
"supportChannel": "<string>",
"startDate": "<string>",
"targetCompletionDate": "<string>",
"milestones": [
{}
]
}
]
}
'{
"campaigns": [
{
"id": "<string>",
"type": "campaign",
"levels": [
{
"ordinal": 123,
"checks": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"filter": {},
"exclude": {}
}
],
"name": "<string>",
"description": "<string>",
"badge": {
"color": "<string>",
"svg": "<string>"
}
}
],
"name": "<string>",
"description": "<string>",
"ownerEntityRef": "<string>",
"group": "<string>",
"badge": {
"color": "<string>",
"svg": "<string>"
},
"filter": {},
"exclude": {},
"documentationURL": "<string>",
"draft": true,
"isEditable": true,
"createdAt": "<string>",
"updatedAt": "<string>",
"archived": true,
"supportChannel": "<string>",
"startDate": "<string>",
"targetCompletionDate": "<string>",
"milestones": [
{}
]
}
]
}⌘I