Перейти до вмісту

Rave New Years

POST
/api/v1/hd/rave-new-years

Calculate Rave New Year dates (exact moment Sun enters Gate 41) for a range of years. Max range: 50 years.

object
Example
{
"startYear": 2020,
"endYear": 2030
}

Successful calculation

object
ok
boolean
Example
true
data
object

Validation error

Example
{
"ok": false,
"error": {
"code": "INVALID_INPUT",
"message": "Validation failed: date: Date must be YYYY-MM-DD",
"details": [
{
"path": "date",
"message": "Date must be YYYY-MM-DD"
}
]
}
}

Missing or invalid API key

Example
{
"ok": false,
"error": {
"code": "INVALID_API_KEY",
"message": "Invalid API key"
}
}