The /template/list/ endpoint is used to view templates for use when creating events from predefined templates.
Examples
List Event Types (List method, GET)
curl --header "Authorization:ApiKey testuser:256ee09ded99b29036fac4de96acedb7e8af7bf7" https://www.statusdashboard.com/api/v1/template/list/
{ "meta": { "limit": 10, "next": null, "offset": 0, "previous": null, "total_count": 1 }, "objects": [ { "auto_end": false, "auto_mins": 0, "auto_start": false, "coordinator": "", "coordinator_md": false, "description": "We are currently experiencing a system-wide issue.", "description_md": false, "gchat_details": false, "gchat_message": "", "hidden_admin_uptime": false, "hidden_db": false, "impact": "", "impact_md": false, "resource_uri": "/api/v1/template/list/1/", "severity": null, "slack_details": false, "slack_message": "", "sms_message": "", "subject": "", "teams_details": true, "teams_message": "", "template_name": "System-Wide Issue Template", "template_notes": "", "template_service": [ { "resource_uri": "/api/v1/template/service/1/", "service": { "description": "", "group": "North America DataCenter", "hidden": false, "hidden_notifications": false, "resource_uri": "/api/v1/service/150/", "service_name": "Web Site" }, "template": "/api/v1/template/list/1/" } ], "tweet_text": "", "type": { "resource_uri": "/api/v1/type/1/", "type": "incident" } } ] }
Upon success, you'll receive back an HTTP 200 (OK) indicating that the API call succeeded.