dehaze

Available Variables

What are variables?link

Each transformation that is performed in Space Cloud has a context associated with it. For example, the token claims for that request or the request body itself.

Such context information is available in the form of variables to each transformation. You can take advantage of these context variables to enrich your transformations.

Available variableslink

Following are the variables available in the transformations of Space Cloud for different modules:

Event triggerslink

Variable Data type Description
args Object Object containing the event payload.

Event payload structures for different types of events:

Remote serviceslink

Variable Data type Description
args Object Object containing the request/response body.
auth Object Object containing the JWT claims present in the token.
token String Raw token present under the Authorization header in the request. (with the Bearer prefix removed)

Ingress routeslink

Variable Data type Description
args Object Object containing the request/response body.
auth Object Object containing the JWT claims present in the token.

Have a technical question?

Improve the docs!