Pending Work Events

A PendingWorkEvent is a log record for pending file work failures, such as GPG Encryption and GPG Decryption.

List Pending Work Events

Command

files-cli pending-work-events list

Output

Outputs a list of PendingWorkEvent objects according to the output format.

Authorization Requirement

Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.

Additional Arguments

Example Request

files-cli pending-work-events list

Show Pending Work Event

Command

files-cli pending-work-events find

Output

Outputs a PendingWorkEvent object according to the output format.

Authorization Requirement

Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.

Flags

FlagDescription
--id=
int64
Required
Pending Work Event ID.

Example Request

files-cli pending-work-events find \
  --id=1

The PendingWorkEvent Object

Some of the commands above return a PendingWorkEvent object. The attributes of this object are listed below.

AttributeDescription
id
int64
Event ID
event_type
string
Type of pending work event being recorded.
status
string
Status of event.
Possible values: success, failure, partial_failure, in_progress, skipped
body
string
Event body.
event_errors
array(string)
Event errors.
created_at
date-time
Event create date/time.
body_url
string
Link to log file.
folder_behavior_id
int64
Folder Behavior ID.