experimentation_edge_config
Creates, updates, deletes, gets or lists an experimentation_edge_config resource.
Overview
| Name | experimentation_edge_config |
| Type | Resource |
| Id | vercel.marketplace.experimentation_edge_config |
Fields
The following fields are returned by SELECT queries:
- get
The Global Config data
| Name | Datatype | Description |
|---|
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | integration_configuration_id, resource_id | When the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config. | |
replace | replace | integration_configuration_id, resource_id, data | When the user enabled Global Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Global Config. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
integration_configuration_id | string | |
resource_id | string |
SELECT examples
- get
When the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config.
SELECT
*
FROM vercel.marketplace.experimentation_edge_config
WHERE integration_configuration_id = '{{ integration_configuration_id }}' -- required
AND resource_id = '{{ resource_id }}' -- required
;
REPLACE examples
- replace
When the user enabled Global Config syncing, then this endpoint can be used by the partner to push their configuration data into the relevant Global Config.
REPLACE vercel.marketplace.experimentation_edge_config
SET
data = '{{ data }}'
WHERE
integration_configuration_id = '{{ integration_configuration_id }}' --required
AND resource_id = '{{ resource_id }}' --required
AND data = '{{ data }}' --required
RETURNING
digest,
items,
purpose,
updated_at;