Skip to main content

functions

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

Overview

Namefunctions
TypeResource
Idnetlify.functions.functions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
branchstring
created_atstring (dateTime)
functionsarray
log_typestring
providerstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsite_idfilter

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
filterstring

SELECT examples

OK

SELECT
id,
branch,
created_at,
functions,
log_type,
provider
FROM netlify.functions.functions
WHERE site_id = '{{ site_id }}' -- required
AND filter = '{{ filter }}'
;