Contains
GET
/contains/{mode}/{cron}Request
Path Params
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
object (Contains)
required
contains
boolean
required
Example
{
"data": {
"contains": true
}
}
Last modified: 9 months ago