Skip to main content

items

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

Overview

Nameitems
TypeResource
Idvercel.edge_config.items

Fields

The following fields are returned by SELECT queries:

The EdgeConfig.

NameDatatypeDescription
createdAtnumber
edgeConfigIdstring
keystring
updatedAtnumber
value

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_edge_config_itemsselectedgeConfigId, teamIdReturns all items of an Edge Config.
patcht_edge_config_itemsexecedgeConfigId, teamId, itemsUpdate multiple Edge Config Items in batch.

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
edgeConfigIdstringEdge config id.
teamIdstringThe Team identifier or slug to perform the request on behalf of.

SELECT examples

Returns all items of an Edge Config.

SELECT
createdAt,
edgeConfigId,
key,
updatedAt,
value
FROM vercel.edge_config.items
WHERE edgeConfigId = '{{ edgeConfigId }}' -- required
AND teamId = '{{ teamId }}' -- required
;

Lifecycle Methods

Update multiple Edge Config Items in batch.

EXEC vercel.edge_config.items.patcht_edge_config_items 
@edgeConfigId='{{ edgeConfigId }}' --required,
@teamId='{{ teamId }}' --required
@@json=
'{
"items": "{{ items }}"
}'
;