Get All Schedules
GET
/dev/projects/{project_id}/schedulesRequest
Path Params
project_id
string
required
Example:
1
Header Params
Secret-Key
string
required
Example:
{{secret-key}}
Request samples
Responses
Get All Schedules(0)
HTTP Code: 0
Content Type : JSONapplication/json
Data Schema
success
boolean
required
message
string
required
data
object
required
schedules
array [object {13}]
required
ExampleGet All Schedules
{
"success": true,
"message": "Schedules fetched successfully",
"data": {
"schedules": [
{
"id": 1,
"project_id": 1,
"name": "Schedule Now updated -1",
"description": "No Description",
"request": {
"body": {
"status": true
},
"url": "https://example.com/api/update-status"
},
"cron_expression": "11 * * * ? *",
"paused": false,
"scheduled_for": "2024-05-04T06:01:11.000Z",
"schedule_name": "project_id-1-1714801880812_53eedc10-f268-4172-885a-2e05f463e353",
"rule_arn": "arn:aws:events:ap-south-1:508660910536:rule/project_id-1-1714801880812_53eedc10-f268-4172-885a-2e05f463e353",
"target_id": "53eedc10-f268-4172-885a-2e05f463e353",
"createdAt": "2024-05-04T05:51:22.000Z",
"updatedAt": "2024-05-04T05:51:22.000Z"
}
]
}
}
Last modified: 6 months ago