Skip to main content

experimentation_edge_config

Creates, updates, deletes, gets or lists an experimentation_edge_config resource.

Overview​

Nameexperimentation_edge_config
TypeResource
Idvercel.marketplace.experimentation_edge_config

Fields​

The following fields are returned by SELECT queries:

The Global Config data

NameDatatypeDescription

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectintegration_configuration_id, resource_idWhen the user enabled Global Config syncing, then this endpoint can be used by the partner to fetch the contents of the Global Config.
replacereplaceintegration_configuration_id, resource_id, dataWhen 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.

NameDatatypeDescription
integration_configuration_idstring
resource_idstring

SELECT examples​

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​

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;