Create an automatic NWS rule answering with a takeover or a ticker bar
POST
/api/v1/alerts/nws/rules
const url = 'https://example.com/api/v1/alerts/nws/rules';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/alerts/nws/rulesResponses
Section titled “ Responses ”Rule created
Invalid rule, response mode, or ticker geometry