<< Back to GForge REST API

Entity: Admin

GET

getAdmin

Parameters (0)

Name Type Description
No parameters

Return: (none)

No return type is defined

getCron

Searches for cron history matching criteria, or gets a specific record by ID.

Parameters (8)

Name Type Description
sort_field string Field to sort by (In search requests). (Options include id, rundate, job) Not required
sort_dir string Direction to sort (In search requests). (Either asc or desc) Not required
page_num int Page number of request (In search requests). Not required
page_size int Number of entries to show per request (In search requests). Not required
id int The specific, unique ID to be retrieved. Other params are ignored.
dateStart string Return entries *after* this date. Not required
dateEnd string Return entries *before* this date. Not required
job string Filter entries by this job name (automatically wildcarded). Not required
Sortable
Use the sort_field and sort_dir parameters to control the order in which records are returned.
Pageable
Use the page_size and page_num parameters to control the set of records returned.

Return: Array

Array of data rows, each of which is an associative array of the output values (id, job, rundate, output)

POST

PUT

DELETE