StediDOCS
This product is in Developer Preview

Functions

Download OpenAPI

ListFunctions

GET/functions
Retrieve a list containing every function.
Parameters
Optionalquery
Limit response to this number of resources. Default to 25.
Optionalquery
The value of token returned in prior request (used for pagination).

Example

GET
https://functions.cloud.us.stedi.com/2021-11-16/functions?pageSize=5&pageToken=...

CreateFunction

POST/functions
Create a new function.
Parameters
Optionalheader

[EXPERIMENTAL FEATURE] The operation preference for asynchronous responses based on RFC 7240: https://datatracker.ietf.org/doc/html/rfc7240

Possible values

respond-async

Request body

application/json

Requiredstring
Optionalstring
Optionalbyte
The function code that has been packaged. Write-only.
Optionalpassword
EnvironmentVariables object.

Optionalstring
How long the log events will be retained.

Possible values

one_day three_days five_days one_week two_weeks one_month two_months three_months four_months five_months ...

Example

POST
https://functions.cloud.us.stedi.com/2021-11-16/functions

ReadFunction

GET/functions/{functionName}
Retrieve an existing function.
Parameters
Requiredpath
Pattern: ^([a-zA-Z0-9-_]+)$

Example

GET
https://functions.cloud.us.stedi.com/2021-11-16/functions/HoU

UpdateFunction

PUT/functions/{functionName}
Update an existing function.
Parameters
Requiredpath
Pattern: ^([a-zA-Z0-9-_]+)$
Optionalheader

[EXPERIMENTAL FEATURE] The operation preference for asynchronous responses based on RFC 7240: https://datatracker.ietf.org/doc/html/rfc7240

Possible values

respond-async

Request body

application/json

Optionalstring
Optionalbyte
The function code that has been packaged. Write-only.
Optionalpassword
EnvironmentVariables object.

Optionalstring
How long the log events will be retained.

Possible values

one_day three_days five_days one_week two_weeks one_month two_months three_months four_months five_months ...

Example

PUT
https://functions.cloud.us.stedi.com/2021-11-16/functions/bk5_j6

DeleteFunction

DELETE/functions/{functionName}
Delete an existing function.
Parameters
Requiredpath
Pattern: ^([a-zA-Z0-9-_]+)$
Optionalheader

[EXPERIMENTAL FEATURE] The operation preference for asynchronous responses based on RFC 7240: https://datatracker.ietf.org/doc/html/rfc7240

Possible values

respond-async

Example

DELETE
https://functions.cloud.us.stedi.com/2021-11-16/functions/_

InvokeFunction

POST/functions/{functionName}/invocations
Invoke function.
Parameters
Requiredpath
Pattern: ^([a-zA-Z0-9-_]+)$
Optionalheader
Request body

application/octet-stream

The input data that you want to provide during execution.

Requiredstring

body
Requiredapplication/octet-stream

Binary representation of the file

Example

POST
https://functions.cloud.us.stedi.com/2021-11-16/functions/h-_8/invocations

ListFunctionOperationStatus

GET/operations
Parameters
Optionalquery
Limit response to this number of resources. Default to 25.
Optionalquery
The value of token returned in prior request (used for pagination).

Example

GET
https://functions.cloud.us.stedi.com/2021-11-16/operations?pageSize=45&pageToken=...

ReadFunctionOperationStatus

GET/operations/{operationToken}
Parameters
Requiredpath

Example

GET
https://functions.cloud.us.stedi.com/2021-11-16/operations/...

CreateFunctionAccessRequest

POST/request-access
Request Access to functions.
Request body

application/json

Requiredstring

Example

POST
https://functions.cloud.us.stedi.com/2021-11-16/request-access