Welcome to the BigPanda API Documentation
mapschema_id is the id returned when you create the mapping enrichment with POST /resources/v2.0/alert-enrichments (type: "mapping").Content-Type: text/csv; a charset is optional. Other content types, including multipart/form-data and application/octet-stream, are rejected with 415 Unsupported Media Type.--data-binary, not -d; -d strips newlines and the file arrives as a single row. In Postman, set the body to binary and add the Content-Type: text/csv header - form-data does not work.🚧 Authentication All BigPanda APIs require Bearer Token Authorization in the call headers. This API uses the User API Key type of Authorization token. Your User API Key must be provided in the header, prefixed by the word Bearer.Example: Authorization: Bearer [YOUR_USER_API_KEY]
curl --location --request POST 'https://api.bigpanda.io/resources/v2.0/alert-enrichments//map' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/csv' \
--data ''{
"id": "b8b8c23a-39dd-4666-bf0c-f8715e19eb96",
"type": "mapping",
"active": true,
"when": {
"IN": [
"source_system",
[
{
"type": "regex",
"value": "*"
}
]
]
},
"version": 1,
"config": {
"name": "mapping_rule",
"fields": [
{
"title": "application",
"type": "query_tag",
"tag_name": "very_cool",
"override_existing": false,
"optional": true,
"original_name": null
}
],
"case_insensitive": true,
"id_generation_function": "string"
},
"created_by": "565ee8e0dab117512da3c411",
"updated_by": "58d77efa5eafe459163f4211",
"note": "Latest as of Oct 3"
}