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 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.