PPA: Inputs & Outputs
Each plugin uses a set of dictionaries to store data.
These are used by plugin actions as both inputs and outputs.
This page will cover:
- The dictionaries used in this plugin
- The information each dictionary contains
Generated by the create_approval_request action
reject_urlvalues should be sent to one or more request approvers
All ApprovalRequest Keys
approve_url: A unique URL for approving the request.
reject_url: A unique URL for rejecting the request.
secret: The secret associated with the approval hook.
- Contains the output from wait_approval_response
All ApprovalResponse Keys
approved: Indicates whether the request was approved (either
responder: The name of the PPA user who responded to the request.
- Contains email attachment details
All Attachment Keys
name: The name of the file on the task workspace (including the extension).
- Describes a key to get from the task payload
All PayloadKey Keys
name: The name of the key in the payload.
default_value: An optional default value to use if the key is missing from the payload.
- Contains submitted date picker information
All TimeStamp Keys
day: The selected day.
month: The selected month.
year: The selected year.
hour: The selected hour.
minute: The selected minute.
second: The submitted second.
timezone: The chosen timezone.
timestamp: The supplied date & time in
hh/mm/ss dd/mm/yyyy format.
- Contains data about a file uploaded using input_file
All UploadedFile Keys
data: File contents.
filename: Original filename.
size: Size of the file in bytes.
type: Content type (if the browser was able to detect it).
All WaitHook Keys
url: A unique URL assigned to trigger the waithook.
secret: The secret associated with the
- Contains the output from wait
All WaitHookResponse Keys
username: The name of the PPA user who responded to the waithook.
values: A dictionary containing the URL parameters from the WaitHook URL responded to.