post https://api.bigpanda.io/resources/v2.0/maintenance-plans
Creates a new schema definition for creating a new maintenance plan.
Authentication
All BigPanda APIs require Bearer Token Authorization in the call headers.
This API uses the User API Key type of Authorization token.
Plan Limit
Each organization can only have 3,500 maintenance plans at a time.
Condition Limitations
Maintenance plan conditions cannot be longer than 25,000 characters long.
All alert tags in maintenance plan conditions must be listed in lowercase.
Epoch Time Conversion
See the Epoch Converter to convert times to Unix epoch format.
BPQL Object Formatting
The condition
body parameter uses special BPQL object formatting. See BPQL Object Syntax for more information.
Example BPQL Objects:
Command | BPQL String | BPQL Object |
---|---|---|
Wildcard * | host = prod-api-* | { "=": [ "host", { "type": "regex", "value": "prod-api-*" }]} |
Formal Regex Search | host = /prod-api-.*/ | { "=": [ "host", { "type": "formal-regex", "value": "prod-api-.*" }]} |