Scheduler

Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

Scheduler allows app developers to schedule the execution of tasks on VMware Tanzu Application Service without using external scheduling services.

Terms of service

Calls

Operations for managing Calls

Get all Calls within space

Code samples

curl -X GET https://scheduler.example.com/calls \
  -H 'Accept: application/json'

GET /calls

list

Parameters

Name In Type Required Description
space_guid query string false Guid of the space containing calls
page query integer(int32) false Page number

Example responses

200 Response

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "app_guid": "string",
      "auth_header": "string",
      "created_at": "string",
      "guid": "string",
      "name": "string",
      "space_guid": "string",
      "updated_at": "string",
      "url": "string"
    }
  ]
}

Responses

Status Meaning Description Schema
200 OK Calls for space ResourceListResponse_CallResponse_
401 Unauthorized Insufficient permissions to view all calls for this space None

Create Call

Code samples

curl -X POST https://scheduler.example.com/calls \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json'

POST /calls

create

Body parameter

{
  "auth_header": "string",
  "name": "string",
  "url": "string"
}

Parameters

Name In Type Required Description
app_guid query string false Guid of the app to create a call against
body body CallRequest false Call to create

Example responses

201 Response

{
  "app_guid": "string",
  "auth_header": "string",
  "created_at": "string",
  "guid": "string",
  "name": "string",
  "space_guid": "string",
  "updated_at": "string",
  "url": "string"
}

Responses

Status Meaning Description Schema
201 Created Call created successfully CallResponse
401 Unauthorized Insufficient permissions to create a call for this app None

Get a Call

Code samples

curl -X GET https://scheduler.example.com/calls/{callGuid} \
  -H 'Accept: application/json'

GET /calls/{callGuid}

get

Parameters

Name In Type Required Description
callGuid path string true Call to get

Example responses

200 Response

{
  "app_guid": "string",
  "auth_header": "string",
  "created_at": "string",
  "guid": "string",
  "name": "string",
  "space_guid": "string",
  "updated_at": "string",
  "url": "string"
}

Responses

Status Meaning Description Schema
200 OK Requested call CallResponse
401 Unauthorized Insufficient permissions to get the requested call None
404 Not Found The requested call doesn’t exist None

Delete a Call

Code samples

curl -X DELETE https://scheduler.example.com/calls/{callGuid}

DELETE /calls/{callGuid}

delete

Parameters

Name In Type Required Description
callGuid path string true Call to delete

Responses

Status Meaning Description Schema
204 No Content Call no longer exists None
401 Unauthorized Insufficient permissions to delete the requested call None
404 Not Found The requested call doesn’t exist None

Execute a Call as soon as possible

Code samples

curl -X POST https://scheduler.example.com/calls/{callGuid}/execute \
  -H 'Accept: application/json'

POST /calls/{callGuid}/execute

execute

Parameters

Name In Type Required Description
callGuid path string true Call to execute

Example responses

201 Response

{
  "call_guid": "string",
  "execution_end_time": "string",
  "execution_start_time": "string",
  "guid": "string",
  "message": "string",
  "schedule_guid": "string",
  "scheduled_time": "string",
  "state": "string"
}

Responses

Status Meaning Description Schema
201 Created Execution accepted CallHistoryResponse
401 Unauthorized Insufficient permissions to execute the requested call None
404 Not Found The requested call doesn’t exist None

Gets all execution histories for a Call

Code samples

curl -X GET https://scheduler.example.com/calls/{callGuid}/history \
  -H 'Accept: application/json'

GET /calls/{callGuid}/history

getHistories

Parameters

Name In Type Required Description
callGuid path string true callGuid
page query integer(int32) false page

Example responses

200 Response

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "call_guid": "string",
      "execution_end_time": "string",
      "execution_start_time": "string",
      "guid": "string",
      "message": "string",
      "schedule_guid": "string",
      "scheduled_time": "string",
      "state": "string"
    }
  ]
}

Responses

Status Meaning Description Schema
200 OK Histories for call ResourceListResponse_CallHistoryResponse_
401 Unauthorized Insufficient permissions to get histories for the requested call None
404 Not Found The requested call doesn’t exist None

Gets all schedules for a Call

Code samples

curl -X GET https://scheduler.example.com/calls/{callGuid}/schedules \
  -H 'Accept: application/json'

GET /calls/{callGuid}/schedules

listSchedules

Parameters

Name In Type Required Description
callGuid path string true callGuid
page query integer(int32) false page

Example responses

200 Response

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "call_guid": "string",
      "created_at": "string",
      "enabled": false,
      "expression": "string",
      "expression_type": "string",
      "guid": "string",
      "updated_at": "string"
    }
  ]
}

Responses

Status Meaning Description Schema
200 OK Schedules for call ResourceListResponse_CallScheduleResponse_
401 Unauthorized Insufficient permissions to get schedules for the requested call None
404 Not Found The requested call doesn’t exist None

Schedules a Call to run later

Code samples

curl -X POST https://scheduler.example.com/calls/{callGuid}/schedules \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json'

POST /calls/{callGuid}/schedules

createSchedule

Body parameter

{
  "enabled": false,
  "expression": "string",
  "expression_type": "string"
}

Parameters

Name In Type Required Description
callGuid path string true callGuid
body body ScheduleRequest true scheduleRequest

Example responses

201 Response

{
  "call_guid": "string",
  "created_at": "string",
  "enabled": false,
  "expression": "string",
  "expression_type": "string",
  "guid": "string",
  "updated_at": "string"
}

Responses

Status Meaning Description Schema
201 Created Schedule created CallScheduleResponse
401 Unauthorized Insufficient permissions to schedule the requested call None
404 Not Found The requested call doesn’t exist None

Deletes the given schedule for the given job

Code samples

curl -X DELETE https://scheduler.example.com/calls/{callGuid}/schedules/{scheduleGuid}

DELETE /calls/{callGuid}/schedules/{scheduleGuid}

deleteSchedule

Parameters

Name In Type Required Description
callGuid path string true callGuid
scheduleGuid path string true scheduleGuid

Responses

Status Meaning Description Schema
204 No Content Schedule deleted None
401 Unauthorized Insufficient permissions to delete the requested schedule for the requested call None
404 Not Found The requested call doesn’t exist or the requested schedule doesn’t exist None

Gets all execution histories for a Call and Schedule

Code samples

curl -X GET https://scheduler.example.com/calls/{callGuid}/schedules/{scheduleGuid}/history \
  -H 'Accept: application/json'

GET /calls/{callGuid}/schedules/{scheduleGuid}/history

getScheduleHistories

Parameters

Name In Type Required Description
callGuid path string true callGuid
scheduleGuid path string true scheduleGuid
page query integer(int32) false page

Example responses

200 Response

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "call_guid": "string",
      "execution_end_time": "string",
      "execution_start_time": "string",
      "guid": "string",
      "message": "string",
      "schedule_guid": "string",
      "scheduled_time": "string",
      "state": "string"
    }
  ]
}

Responses

Status Meaning Description Schema
200 OK Histories for schedule ResourceListResponse_CallHistoryResponse_
401 Unauthorized Insufficient permissions to get histories for the requested call None
404 Not Found The requested call doesn’t exist or the requested schedule doesn’t exist None

Jobs

Operations for managing Jobs

Get all Jobs within space

Code samples

curl -X GET https://scheduler.example.com/jobs?space_guid=string \
  -H 'Accept: application/json'

GET /jobs

list

Parameters

Name In Type Required Description
space_guid query string true space_guid
detailed query boolean false include schedules with jobs
page query integer(int32) false page

Example responses

200 Response

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "app_guid": "string",
      "command": "string",
      "created_at": "string",
      "disk_in_mb": 1024,
      "guid": "string",
      "memory_in_mb": 1024,
      "name": "string",
      "space_guid": "string",
      "state": "string",
      "updated_at": "string"
    }
  ]
}

Responses

Status Meaning Description Schema
200 OK Jobs for space ResourceListResponse_JobResponse_
401 Unauthorized Insufficient permissions to view all jobs for this space None

Create Job

Code samples

curl -X POST https://scheduler.example.com/jobs?app_guid=string \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json'

POST /jobs

create

Body parameter

{
  "command": "string",
  "disk_in_mb": 1024,
  "memory_in_mb": 1024,
  "name": "string"
}

Parameters

Name In Type Required Description
app_guid query string true app_guid
body body JobCreateRequest true job

Example responses

201 Response

{
  "app_guid": "string",
  "command": "string",
  "created_at": "string",
  "disk_in_mb": 1024,
  "guid": "string",
  "memory_in_mb": 1024,
  "name": "string",
  "space_guid": "string",
  "state": "string",
  "updated_at": "string"
}

Responses

Status Meaning Description Schema
201 Created Job created successfully JobResponse
401 Unauthorized Insufficient permissions to create a job for this app None

Gets all execution histories for a Job

Code samples

curl -X GET https://scheduler.example.com/jobs/{jobGuid}/history \
  -H 'Accept: application/json'

GET /jobs/{jobGuid}/history

getHistories

Parameters

Name In Type Required Description
jobGuid path string true jobGuid
page query integer(int32) false page

Example responses

200 Response

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "execution_end_time": "string",
      "execution_start_time": "string",
      "guid": "string",
      "job_guid": "string",
      "message": "string",
      "schedule_guid": "string",
      "scheduled_time": "string",
      "state": "string",
      "task_guid": "string"
    }
  ]
}

Responses

Status Meaning Description Schema
200 OK Histories for job ResourceListResponse_JobHistoryResponse_
401 Unauthorized Insufficient permissions to get histories for the requested job None
404 Not Found The requested job doesn’t exist None

Gets all execution histories for a Job and Schedule

Code samples

curl -X GET https://scheduler.example.com/jobs/{jobGuid}/schedules/{scheduleGuid}/history \
  -H 'Accept: application/json'

GET /jobs/{jobGuid}/schedules/{scheduleGuid}/history

getScheduleHistories

Parameters

Name In Type Required Description
jobGuid path string true jobGuid
scheduleGuid path string true scheduleGuid
page query integer(int32) false page

Example responses

200 Response

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "execution_end_time": "string",
      "execution_start_time": "string",
      "guid": "string",
      "job_guid": "string",
      "message": "string",
      "schedule_guid": "string",
      "scheduled_time": "string",
      "state": "string",
      "task_guid": "string"
    }
  ]
}

Responses

Status Meaning Description Schema
200 OK Histories for schedule ResourceListResponse_JobHistoryResponse_
401 Unauthorized Insufficient permissions to get histories for the requested job None
404 Not Found The requested job doesn’t exist or the requested schedule doesn’t exist None

Get a Job

Code samples

curl -X GET https://scheduler.example.com/jobs/{job_guid} \
  -H 'Accept: application/json'

GET /jobs/{job_guid}

get

Parameters

Name In Type Required Description
job_guid path string true job_guid

Example responses

200 Response

{
  "app_guid": "string",
  "command": "string",
  "created_at": "string",
  "disk_in_mb": 1024,
  "guid": "string",
  "memory_in_mb": 1024,
  "name": "string",
  "space_guid": "string",
  "state": "string",
  "updated_at": "string"
}

Responses

Status Meaning Description Schema
200 OK Requested job JobResponse
401 Unauthorized Insufficient permissions to get the requested job None
404 Not Found The requested job doesn’t exist None

Delete a Job

Code samples

curl -X DELETE https://scheduler.example.com/jobs/{job_guid}

DELETE /jobs/{job_guid}

delete

Parameters

Name In Type Required Description
job_guid path string true job_guid

Responses

Status Meaning Description Schema
204 No Content Job no longer exists None
401 Unauthorized Insufficient permissions to delete the requested job None
404 Not Found The requested job doesn’t exist None

Execute a Job as soon as possible

Code samples

curl -X POST https://scheduler.example.com/jobs/{job_guid}/execute \
  -H 'Accept: application/json'

POST /jobs/{job_guid}/execute

execute

Parameters

Name In Type Required Description
job_guid path string true job_guid

Example responses

201 Response

{
  "execution_end_time": "string",
  "execution_start_time": "string",
  "guid": "string",
  "job_guid": "string",
  "message": "string",
  "schedule_guid": "string",
  "scheduled_time": "string",
  "state": "string",
  "task_guid": "string"
}

Responses

Status Meaning Description Schema
201 Created Execution accepted JobHistoryResponse
401 Unauthorized Insufficient permissions to execute the requested job None
404 Not Found The requested job doesn’t exist None

Gets all schedules for a Job

Code samples

curl -X GET https://scheduler.example.com/jobs/{job_guid}/schedules \
  -H 'Accept: application/json'

GET /jobs/{job_guid}/schedules

listSchedules

Parameters

Name In Type Required Description
job_guid path string true job_guid
page query integer(int32) false page

Example responses

200 Response

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "created_at": "string",
      "enabled": false,
      "expression": "string",
      "expression_type": "string",
      "guid": "string",
      "job_guid": "string",
      "updated_at": "string"
    }
  ]
}

Responses

Status Meaning Description Schema
200 OK Schedules for job ResourceListResponse_JobScheduleResponse_
401 Unauthorized Insufficient permissions to get schedules for the requested job None
404 Not Found The requested job doesn’t exist None

Schedules a Job to run later

Code samples

curl -X POST https://scheduler.example.com/jobs/{job_guid}/schedules \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json'

POST /jobs/{job_guid}/schedules

createSchedule

Body parameter

{
  "enabled": false,
  "expression": "string",
  "expression_type": "string"
}

Parameters

Name In Type Required Description
job_guid path string true job_guid
body body ScheduleRequest true scheduleRequest

Example responses

201 Response

{
  "created_at": "string",
  "enabled": false,
  "expression": "string",
  "expression_type": "string",
  "guid": "string",
  "job_guid": "string",
  "updated_at": "string"
}

Responses

Status Meaning Description Schema
201 Created Schedule created JobScheduleResponse
401 Unauthorized Insufficient permissions to schedule the requested job None
404 Not Found The requested job doesn’t exist None

Deletes the given schedule for the given job_1

Code samples

curl -X DELETE https://scheduler.example.com/jobs/{job_guid}/schedules/{schedule_guid} \
  -H 'Accept: application/json'

DELETE /jobs/{job_guid}/schedules/{schedule_guid}

deleteSchedule

Parameters

Name In Type Required Description
job_guid path string true job_guid
schedule_guid path string true schedule_guid

Example responses

204 Response

{}

Responses

Status Meaning Description Schema
204 No Content Schedule deleted Inline
401 Unauthorized Insufficient permissions to delete the requested schedule for the requested job None
404 Not Found The requested job doesn’t exist or the requested schedule doesn’t exist None

Response Schema

Schemas

CallHistoryResponse

{
  "call_guid": "string",
  "execution_end_time": "string",
  "execution_start_time": "string",
  "guid": "string",
  "message": "string",
  "schedule_guid": "string",
  "scheduled_time": "string",
  "state": "string"
}

Properties

Name Type Required Restrictions Description
call_guid string false none The call guid
execution_end_time string false none Time when the associated schedule finished execution
execution_start_time string false none Time when the associated schedule started execution
guid string false none History guid
message string false none Output message of the scheduled execution
schedule_guid string false none Guid of the schedule associated to this history
scheduled_time string false none Time that the associated schedule was scheduled to execute
state string false none History state

CallRequest

{
  "auth_header": "string",
  "name": "string",
  "url": "string"
}

Properties

Name Type Required Restrictions Description
auth_header string true none Will be populated into the ‘Authorization’ header of the request made to the call’s HTTP endpoint
name string true none Call name
url string true none Http endpoint that the Call will make requests to

CallResponse

{
  "app_guid": "string",
  "auth_header": "string",
  "created_at": "string",
  "guid": "string",
  "name": "string",
  "space_guid": "string",
  "updated_at": "string",
  "url": "string"
}

Properties

Name Type Required Restrictions Description
app_guid string false none Guid of the application associated with this call
auth_header string true none ‘Authorization’ header of the request made to the call’s HTTP endpoint
created_at string false none Call creation time
guid string false none Call guid
name string false none Call name
space_guid string false none Guid of the space containing the app associated with this call
updated_at string false none Last time the call was updated
url string false none Endpoint where the call will make a request

CallScheduleResponse

{
  "call_guid": "string",
  "created_at": "string",
  "enabled": false,
  "expression": "string",
  "expression_type": "string",
  "guid": "string",
  "updated_at": "string"
}

Properties

Name Type Required Restrictions Description
call_guid string false none Call guid
created_at string false none Schedule creation time
enabled boolean false none Whether the schedule is enabled
expression string false none Expression defining when the schedule will run
expression_type string false none Schedule expression type
guid string false none Schedule guid
updated_at string false none Schedule update time

JobCreateRequest

{
  "command": "string",
  "disk_in_mb": 1024,
  "memory_in_mb": 1024,
  "name": "string"
}

Properties

Name Type Required Restrictions Description
command string true none Command to run when the job is executed
disk_in_mb integer false none Disk limit for task in megabytes
memory_in_mb integer false none Memory limit for task in megabytes
name string true none Name of the job

JobHistoryResponse

{
  "execution_end_time": "string",
  "execution_start_time": "string",
  "guid": "string",
  "job_guid": "string",
  "message": "string",
  "schedule_guid": "string",
  "scheduled_time": "string",
  "state": "string",
  "task_guid": "string"
}

Properties

Name Type Required Restrictions Description
execution_end_time string false none Time when the associated schedule finished execution
execution_start_time string false none Time when the associated schedule started execution
guid string false none History guid
job_guid string false none Guid of the job associated with this history
message string false none Output message of the scheduled execution
schedule_guid string false none Guid of the schedule associated to this history
scheduled_time string false none Time that the associated schedule was scheduled to execute
state string false none History state
task_guid string false none Guid of the Cloud Controller task associated with the job’s execution

JobResponse

{
  "app_guid": "string",
  "command": "string",
  "created_at": "string",
  "disk_in_mb": 1024,
  "guid": "string",
  "memory_in_mb": 1024,
  "name": "string",
  "space_guid": "string",
  "state": "string",
  "updated_at": "string"
}

Properties

Name Type Required Restrictions Description
app_guid string false none Guid of the app this job runs commands against
command string false none Command to be executed
created_at string false none Time the job was created
disk_in_mb integer false none Disk limit for task in megabytes
guid string false none Job guid
memory_in_mb integer false none Memory limit for task in megabytes
name string false none Name of the job
space_guid string false none Guid of the space that the app is running inside
state string false none Most recent state of the job
updated_at string false none Time when the job was last updated

JobScheduleResponse

{
  "created_at": "string",
  "enabled": false,
  "expression": "string",
  "expression_type": "string",
  "guid": "string",
  "job_guid": "string",
  "updated_at": "string"
}

Properties

Name Type Required Restrictions Description
created_at string false none Schedule creation time
enabled boolean false none Whether the schedule is enabled
expression string false none Expression defining when the schedule will run
expression_type string false none Schedule expression type
guid string false none Schedule guid
job_guid string false none Guid for the scheduled job
updated_at string false none Schedule update time

{
  "href": "string"
}

Properties

Name Type Required Restrictions Description
href string false none none

Pagination

{
  "first": {
    "href": "string"
  },
  "last": {
    "href": "string"
  },
  "next": {
    "href": "string"
  },
  "previous": {
    "href": "string"
  },
  "total_pages": 0,
  "total_results": 0
}

Properties

Name Type Required Restrictions Description
first Link false none none
last Link false none none
next Link false none none
previous Link false none none
total_pages integer(int64) false none none
total_results integer(int64) false none none

ScheduleRequest

{
  "enabled": false,
  "expression": "string",
  "expression_type": "string"
}

Properties

Name Type Required Restrictions Description
enabled boolean true none Whether or not the schedule will run. Currently, only ‘true’ is supported
expression string true none Expression defining when the scheduled item should run
expression_type string true none Expression format. Currently, only ‘cron_expression’ is supported

ResourceListResponse_CallHistoryResponse_

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "call_guid": "string",
      "execution_end_time": "string",
      "execution_start_time": "string",
      "guid": "string",
      "message": "string",
      "schedule_guid": "string",
      "scheduled_time": "string",
      "state": "string"
    }
  ]
}

Properties

Name Type Required Restrictions Description
pagination Pagination false none none
resources [CallHistoryResponse] false none none

ResourceListResponse_CallResponse_

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "app_guid": "string",
      "auth_header": "string",
      "created_at": "string",
      "guid": "string",
      "name": "string",
      "space_guid": "string",
      "updated_at": "string",
      "url": "string"
    }
  ]
}

Properties

Name Type Required Restrictions Description
pagination Pagination false none none
resources [CallResponse] false none none

ResourceListResponse_CallScheduleResponse_

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "call_guid": "string",
      "created_at": "string",
      "enabled": false,
      "expression": "string",
      "expression_type": "string",
      "guid": "string",
      "updated_at": "string"
    }
  ]
}

Properties

Name Type Required Restrictions Description
pagination Pagination false none none
resources [CallScheduleResponse] false none none

ResourceListResponse_JobHistoryResponse_

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "execution_end_time": "string",
      "execution_start_time": "string",
      "guid": "string",
      "job_guid": "string",
      "message": "string",
      "schedule_guid": "string",
      "scheduled_time": "string",
      "state": "string",
      "task_guid": "string"
    }
  ]
}

Properties

Name Type Required Restrictions Description
pagination Pagination false none none
resources [JobHistoryResponse] false none none

ResourceListResponse_JobResponse_

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "app_guid": "string",
      "command": "string",
      "created_at": "string",
      "disk_in_mb": 1024,
      "guid": "string",
      "memory_in_mb": 1024,
      "name": "string",
      "space_guid": "string",
      "state": "string",
      "updated_at": "string"
    }
  ]
}

Properties

Name Type Required Restrictions Description
pagination Pagination false none none
resources [JobResponse] false none none

ResourceListResponse_JobScheduleResponse_

{
  "pagination": {
    "first": {
      "href": "string"
    },
    "last": {
      "href": "string"
    },
    "next": {
      "href": "string"
    },
    "previous": {
      "href": "string"
    },
    "total_pages": 0,
    "total_results": 0
  },
  "resources": [
    {
      "created_at": "string",
      "enabled": false,
      "expression": "string",
      "expression_type": "string",
      "guid": "string",
      "job_guid": "string",
      "updated_at": "string"
    }
  ]
}

Properties

Name Type Required Restrictions Description
pagination Pagination false none none
resources [JobScheduleResponse] false none none
check-circle-line exclamation-circle-line close-line
Scroll to top icon