https://ns.adobe.com/helix/pipeline/rawrequest
The Request Object used for Invoking OpenWhisk
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | rawrequest.schema.json |
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
headers | object |
Optional | No | Raw Request (this schema) |
method | string |
Optional | No | Raw Request (this schema) |
params | object |
Optional | No | Raw Request (this schema) |
* |
any | Additional | Yes | this schema allows additional properties |
The headers of the request made to OpenWhisk (or Simulator)
headers
- is optional
- type:
object
- defined in this schema
object
with following properties:
Property | Type | Required |
---|---|---|
x-backend-name |
string | Optional |
x-cdn-request-id |
string | Optional |
x-openwhisk-activation-id |
string | Optional |
x-request-id |
string | Optional |
Name of the Backend handling the request.
x-backend-name
- is optional
- type:
string
string
Value | Description |
---|---|
localhost--F_Petridish |
Fake Backend name of the local Simulator server |
Request ID generated by the CDN
x-cdn-request-id
- is optional
- type:
string
string
OpenWhisk Activation ID
x-openwhisk-activation-id
- is optional
- type:
string
string
Request ID generated by OpenWhisk
x-request-id
- is optional
- type:
string
string
The HTTP method of the request made to OpenWhisk (or Simulator). Note: OpenWhisk converts all methods to lowercase.
method
- is optional
- type:
string
- defined in this schema
string
Value | Description |
---|---|
get |
GET request |
post |
POST request |
put |
PUT request (not handled by Helix) |
delete |
DELETE request (not handled by Helix) |
Parameters used to invoke the OpenWhisk action. These are either URL parameters added when invoking the action from the CDN or default parameters set during creation of the action.
params
- is optional
- type:
object
- defined in this schema
object
with following properties:
Property | Type | Required |
---|---|---|
__ow_headers |
object | Optional |
branch |
string | Optional |
owner |
string | Optional |
path |
string | Optional |
ref |
string | Optional |
repo |
string | Optional |
rootPath |
string | Optional |
strain |
string | Optional |
Deprecated: The original OpenWhisk request headers
__ow_headers
- is optional
- type:
object
object
with following properties:
Property | Type | Required |
---|
Name of the branch or tag. defaults back to the value of 'ref' if missing.
branch
- is optional
- type:
string
string
Owner of the GitHub repository. This is the name of a user or organization.
owner
- is optional
- type:
string
string
Path to the requested (Markdown) file
path
- is optional
- type:
string
string
/general/index.md
Name of the branch or tag or the SHA of the commit
ref
- is optional
- type:
string
string
Repository where content originates
repo
- is optional
- type:
string
string
The request root path of the current strain.
rootPath
- is optional
- type:
string
string
/docs/api
The resolved strain (variant)
strain
- is optional
- type:
string
string
All of the following requirements need to be fulfilled.