|
448 | 448 | }, |
449 | 449 | "description": "Provide an agent id (-i) and the enabled (-m) flag (true/false) as parameter." |
450 | 450 | } |
| 451 | + }]},{"name": "alertingtemplate","item": [{ |
| 452 | + "name": "Delete an alerting template", |
| 453 | + "request": { |
| 454 | + "method": "DELETE", |
| 455 | + "header": [ |
| 456 | + { |
| 457 | + "key": "Content-Type", |
| 458 | + "value": "application/json;charset=UTF-8", |
| 459 | + "type": "text" |
| 460 | + }, |
| 461 | + { |
| 462 | + "key": "X-CSRF-TOKEN", |
| 463 | + "value": "{{X-CSRF-TOKEN}}", |
| 464 | + "type": "text" |
| 465 | + } |
| 466 | + ], |
| 467 | + "body": { |
| 468 | + "mode": "raw", |
| 469 | + "raw": "" |
| 470 | + }, |
| 471 | + "url": { |
| 472 | + "raw": "{{controller_host}}/controller/alerting/rest/v1/templates/{{a:alerting_template_id}}", |
| 473 | + "host": [ |
| 474 | + "{{controller_host}}" |
| 475 | + ], |
| 476 | + "path": ["controller","alerting","rest","v1","templates","{{alerting_template_id}}"], |
| 477 | + "query": [] |
| 478 | + }, |
| 479 | + "description": "Provide the id of the alerting template (-a) as parameter." |
| 480 | + } |
| 481 | + },{ |
| 482 | + "name": "Export an alerting template", |
| 483 | + "request": { |
| 484 | + "method": "POST", |
| 485 | + "header": [ |
| 486 | + { |
| 487 | + "key": "Content-Type", |
| 488 | + "value": "application/json;charset=UTF-8", |
| 489 | + "type": "text" |
| 490 | + }, |
| 491 | + { |
| 492 | + "key": "X-CSRF-TOKEN", |
| 493 | + "value": "{{X-CSRF-TOKEN}}", |
| 494 | + "type": "text" |
| 495 | + } |
| 496 | + ], |
| 497 | + "body": { |
| 498 | + "mode": "raw", |
| 499 | + "raw": "" |
| 500 | + }, |
| 501 | + "url": { |
| 502 | + "raw": "{{controller_host}}/controller/alerting/rest/v1/templates/{{a:alerting_template_id}}/export", |
| 503 | + "host": [ |
| 504 | + "{{controller_host}}" |
| 505 | + ], |
| 506 | + "path": ["controller","alerting","rest","v1","templates","{{alerting_template_id}}","export"], |
| 507 | + "query": [] |
| 508 | + }, |
| 509 | + "description": "Provide the id of the alerting template (-a) as parameter." |
| 510 | + } |
| 511 | + },{ |
| 512 | + "name": "Import an alerting template", |
| 513 | + "request": { |
| 514 | + "method": "POST", |
| 515 | + "header": [ |
| 516 | + { |
| 517 | + "key": "Content-Type", |
| 518 | + "value": "application/json;charset=UTF-8", |
| 519 | + "type": "text" |
| 520 | + }, |
| 521 | + { |
| 522 | + "key": "X-CSRF-TOKEN", |
| 523 | + "value": "{{X-CSRF-TOKEN}}", |
| 524 | + "type": "text" |
| 525 | + } |
| 526 | + ], |
| 527 | + "body": { |
| 528 | + "mode": "raw", |
| 529 | + "raw": "{{alerting_template}}" |
| 530 | + }, |
| 531 | + "url": { |
| 532 | + "raw": "{{controller_host}}/controller/alerting/rest/v1/templates/import", |
| 533 | + "host": [ |
| 534 | + "{{controller_host}}" |
| 535 | + ], |
| 536 | + "path": ["controller","alerting","rest","v1","templates","import"], |
| 537 | + "query": [] |
| 538 | + }, |
| 539 | + "description": "Provide a json string or a file (with @ as prefix) as parameter (-d)." |
| 540 | + } |
| 541 | + },{ |
| 542 | + "name": "List all alerting templates", |
| 543 | + "request": { |
| 544 | + "method": "GET", |
| 545 | + "header": [ |
| 546 | + { |
| 547 | + "key": "Content-Type", |
| 548 | + "value": "application/json;charset=UTF-8", |
| 549 | + "type": "text" |
| 550 | + }, |
| 551 | + { |
| 552 | + "key": "X-CSRF-TOKEN", |
| 553 | + "value": "{{X-CSRF-TOKEN}}", |
| 554 | + "type": "text" |
| 555 | + } |
| 556 | + ], |
| 557 | + "body": { |
| 558 | + "mode": "raw", |
| 559 | + "raw": "" |
| 560 | + }, |
| 561 | + "url": { |
| 562 | + "raw": "{{controller_host}}/controller/alerting/rest/v1/templates/details", |
| 563 | + "host": [ |
| 564 | + "{{controller_host}}" |
| 565 | + ], |
| 566 | + "path": ["controller","alerting","rest","v1","templates","details"], |
| 567 | + "query": [] |
| 568 | + }, |
| 569 | + "description": "This command requires no further arguments." |
| 570 | + } |
451 | 571 | }]},{"name": "analyticsmetric","item": [{ |
452 | 572 | "name": "Create analytics metric", |
453 | 573 | "request": { |
|
0 commit comments