services
Creates, updates, deletes, gets or lists a services resource.
Overview​
| Name | services |
| Type | Resource |
| Id | netlify.services.services |
Fields​
The following fields are returned by SELECT queries:
- get
- list
services
| Name | Datatype | Description |
|---|---|---|
id | string | |
name | string | |
created_at | string (dateTime) | |
description | string | |
environments | array | |
events | array | |
icon | string | |
long_description | string | |
manifest_url | string | |
service_path | string | |
slug | string | |
tags | array | |
updated_at | string (dateTime) |
services
| Name | Datatype | Description |
|---|---|---|
id | string | |
name | string | |
created_at | string (dateTime) | |
description | string | |
environments | array | |
events | array | |
icon | string | |
long_description | string | |
manifest_url | string | |
service_path | string | |
slug | string | |
tags | array | |
updated_at | string (dateTime) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | addon_name | ||
list | select | search |
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 |
|---|---|---|
addon_name | string | |
search | string |
SELECT examples​
- get
- list
services
SELECT
id,
name,
created_at,
description,
environments,
events,
icon,
long_description,
manifest_url,
service_path,
slug,
tags,
updated_at
FROM netlify.services.services
WHERE addon_name = '{{ addon_name }}' -- required
;
services
SELECT
id,
name,
created_at,
description,
environments,
events,
icon,
long_description,
manifest_url,
service_path,
slug,
tags,
updated_at
FROM netlify.services.services
WHERE search = '{{ search }}'
;