GET /api/v1/weatherAlert/{language}/{id}
Receive an active weather alert.
URL
GET https://weatherkit.apple.com/api/v1/weatherAlert/{language}/{id}Path Parameters
| Name | Type | Description |
|---|---|---|
id Required | uuid | The unique identifier for the weather alert. |
language Required | string | The language tag to use for localizing responses. |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | WeatherAlert | The request is successful. The weather alert is in the response. |
| 400 | Bad Request | The server is unable to process the request due to an invalid parameter value. | |
| 401 | Unauthorized | The request isn’t authorized or doesn’t include the correct authentication information. | |
| 404 | Not Found | There’s no active alert for the specified unique identifier. |