Variables
Last updated
Last updated
POST
/variables/:flowId/fetch
Get variables. Variables are placeholders that can be used in component config or inputs. These placeholders are replaced either at runtime by data coming from components connected back in the chain (dynamic variables) or by real values (static variables).
Headers
Name | Value |
---|---|
Body
Name | Type | Description |
---|---|---|
Response
curl --location 'https://api.YOUR_TENANT.appmixer.cloud/variables/bfc64735-7cf0-4061-844c-e15a7147cbc7/fetch' --header 'Authorization: Bearer [ACCESS_TOKEN]' --header 'Content-Type: application/json' --data '{ "useCache": true, "flow": false, "components": { "IDs": [ "bd9891a7-3303-43d4-a223-714a8db11e05" ], "properties": true, "links": false } }'
Content-Type
application/json
Authorization
Bearer <token>
useCache
boolean
Default true
.
flow
boolean
Default true
. If true
, the response object will contain flow variables, too.
components
object
components.IDs
array<string>
Array of component IDs
components.links
boolean
Default true
. If true
, the response object will contain input link variables for the given component IDs.
components.properties
boolean
Default true
. If true, the response object will contains properties variables for the given component IDs.