oauth_tickets
Creates, updates, deletes, gets or lists an oauth_tickets
resource.
Overview
Name | oauth_tickets |
Type | Resource |
Id | netlify.ticket.oauth_tickets |
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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
createTicket | insert | client_id | ||
showTicket | exec | ticket_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.
Name | Datatype | Description |
---|---|---|
client_id | string | |
ticket_id | string |
INSERT
examples
- createTicket
- Manifest
No description available.
INSERT INTO netlify.ticket.oauth_tickets (
client_id
)
SELECT
'{{ client_id }}'
RETURNING
id,
client_id,
authorized,
created_at
;
# Description fields are for documentation purposes
- name: oauth_tickets
props:
- name: client_id
value: string
description: Required parameter for the oauth_tickets resource.
Lifecycle Methods
- showTicket
ok
EXEC netlify.ticket.oauth_tickets.showTicket
@ticket_id='{{ ticket_id }}' --required
;