Перейти до вмісту
AstroWay/api v2.96.0 · docs
усі системи в нормі

Challenge Cycles (pythagorean)

POST
/numerology/pythagorean/challenge
request.sh
curl -X POST https://api.astroway.info/v1/numerology/pythagorean/challenge \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "name": "John Smith", "date": "1990-05-15" }'

Calculate four Challenge cycles — life-area difficulties to master, derived from birth date components. Numerology — Pythagorean system.

Media type application/json
object
Example
{
"name": "John Smith",
"date": "1990-05-15"
}

Successful calculation

Media type application/json
object
ok
boolean
data
object
system
string
nullable
challenges
object
first
object
reduced
number
nullable
meaning
object
archetype
string
nullable
second
object
reduced
number
nullable
third
object
reduced
number
nullable
fourth
object
reduced
number
nullable
Example
{
"ok": true,
"data": {
"system": "pythagorean",
"challenges": {
"first": {
"reduced": 4,
"meaning": {
"archetype": "The Builder"
}
},
"second": {
"reduced": 1
},
"third": {
"reduced": 3
},
"fourth": {
"reduced": 5
}
}
}
}

Validation error

Media type application/json
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

Media type application/json
Example
{
"ok": false,
"error": {
"code": "INVALID_API_KEY",
"message": "Invalid API key"
}
}
Корисно?