Leap
GET
/span/end/{direction}/{mode}/{cron}Request
Path Params
direction
string
required
enum: prev, next
Example:
next
mode
string
required
enum: c, w, m, d; representing calendar mode
Example:
c
cron
string
required
cron expresession of calendar mode specified by mode path parameter
Example:
* * * *
Query Params
now
string <date-time> | null
write-onlyoptional
ISO format string representing the datetime for calculation start from
leap
integer | null
write-onlyoptional
next/previous n datetime point
>= 1<= 4294967295
offset
string
optional
only useful when now is not set, indicate the utc offset for auto generate now datetime
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
#/definitions/1688923required
Example
Not configured
Last modified: 7 months ago