Sha256: d903b7359bcd95b1efcaf0b2a37e36a0498799cf74392d0bc294690f5f86fcd6

Contents?: true

Size: 1.85 KB

Versions: 31

Compression:

Stored size: 1.85 KB

Contents

# AutomationRun

## Example AutomationRun Object

```
{
  "id": 1,
  "automation_id": 1,
  "completed_at": "2000-01-01T01:00:00Z",
  "created_at": "2000-01-01T01:00:00Z",
  "status": "success",
  "status_messages_url": "https://www.example.com/log_file.txt"
}
```

* `id` (int64): ID.
* `automation_id` (int64): ID of the associated Automation.
* `completed_at` (date-time): Automation run completion/failure date/time.
* `created_at` (date-time): Automation run start date/time.
* `status` (string): The success status of the AutomationRun. One of `running`, `success`, `partial_failure`, or `failure`.
* `status_messages_url` (string): Link to status messages log file.


---

## List Automation Runs

```
Files::AutomationRun.list(
  per_page: 1, 
  automation_id: 1
)
```

### Parameters

* `cursor` (string): Used for pagination.  When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`.  Send one of those cursor value here to resume an existing list from the next available record.  Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
* `per_page` (int64): Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction (e.g. `sort_by[automation_id]=desc`). Valid fields are `automation_id`, `created_at` or `status`.
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `status` and `automation_id`. Valid field combinations are `[ automation_id, status ]`.
* `automation_id` (int64): Required - ID of the associated Automation.


---

## Show Automation Run

```
Files::AutomationRun.find(id)
```

### Parameters

* `id` (int64): Required - Automation Run ID.

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
files.com-1.1.24 docs/automation_run.md
files.com-1.1.23 docs/automation_run.md
files.com-1.1.22 docs/automation_run.md
files.com-1.1.21 docs/automation_run.md
files.com-1.1.20 docs/automation_run.md
files.com-1.1.19 docs/automation_run.md
files.com-1.1.18 docs/automation_run.md
files.com-1.1.17 docs/automation_run.md
files.com-1.1.16 docs/automation_run.md
files.com-1.1.15 docs/automation_run.md
files.com-1.1.14 docs/automation_run.md
files.com-1.1.13 docs/automation_run.md
files.com-1.1.12 docs/automation_run.md
files.com-1.1.11 docs/automation_run.md
files.com-1.1.10 docs/automation_run.md
files.com-1.1.9 docs/automation_run.md
files.com-1.1.8 docs/automation_run.md
files.com-1.1.7 docs/automation_run.md
files.com-1.1.6 docs/automation_run.md
files.com-1.1.5 docs/automation_run.md