Skip to main content

sites

Creates, updates, deletes, gets or lists a sites resource.

Overview

Namesites
TypeResource
Idnetlify.metadata.sites

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getSiteMetadataexecsite_id
updateSiteMetadataexecsite_id

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
site_idstring

Lifecycle Methods

OK

EXEC netlify.metadata.sites.getSiteMetadata 
@site_id='{{ site_id }}' --required
;