Countywide notice snapshot
Current, upcoming, and recently ended notices in separate arrays. Each notice retains its own affected schools and total delay.
https://dev.alertline.kern.org/wp-json/alertline/v1/alerts?lang=en
KERN COUNTY ALERT LINE
Use the same published notices in your newsroom or software.
These endpoints contain Test notices, even when real school names appear. Keep them off air and separate from public closure lists, parent notifications, and emergency automation.
A feed is a structured way for software to retrieve notices. CAP means Common Alerting Protocol: a standard XML message containing the notice identity, issuing organization, affected schools, timing, instructions, and update references. The receiving station pulls the data; Alert Line does not automatically transmit television crawls, email, texts, WEA, or IPAWS alerts.
Current, upcoming, and recently ended notices in separate arrays. Each notice retains its own affected schools and total delay.
https://dev.alertline.kern.org/wp-json/alertline/v1/alerts?lang=en
The index is JSON. Follow each capUrl for the individual CAP 1.2 XML message. It is not one combined CAP document.
https://dev.alertline.kern.org/wp-json/alertline/v1/cap-index?lang=en
These public links show the current operating context. Approved media software uses the separate read-only partner endpoints below. Public pages never receive partner credentials.
https://dev.alertline.kern.org/wp-json/alertline-media/v1/snapshot?lang=en
https://dev.alertline.kern.org/wp-json/alertline-media/v1/cap-index?lang=en
Both collections share one request allowance every 30 seconds per credential. The overall limit is 120 requests per minute, including individual CAP messages. A 429 response means wait for Retry-After. Coordinate the receiver’s request schedule and capacity with Technology.
The initial secret is shown to the central administrator once. It expires, can be revoked, and must be rotated if lost. Rotation invalidates the old secret immediately. A change of operating context or site origin also invalidates the credential.
id + version / noticeId + revisioncoverage.schoolsdelay.minutes / delay.appliesTochange / relatedNoticesstate / effectiveStart / effectiveEndcontentLanguage / translationStateThe snapshot and CAP index contain the latest revision of each current or upcoming notice plus recently ended notices in a seven-day window. They are not a complete archive or a queue of every revision. Reconcile the full snapshot after downtime, especially beyond seven days. Confirm the receiver’s handling of CAP Alert, Update, and Cancel and its reference chain before going on air.
A failed, unreadable, wrong-context, or expired response is unavailable, not an empty closure list. sourceVerifiedAt is the last successful source check; validUntil is the earliest known transition or at most two minutes after verification. Receiving an old response now does not renew it. Honor Retry-After and back off on failures. Agree on the station’s unavailable display and recovery behavior before using the feed.
Use your existing KCSOS Technology contact for connection requests and problems. Do not send passwords, MFA codes, API secrets, or private server configuration in a general support request. The central partner register records approval and receiver acceptance; it does not certify an untested station or automatically put its receiver on air.