api.yaml in vgs_api_client-0.0.1.alpha202205220113 vs api.yaml in vgs_api_client-0.0.1.alpha202205220158
- old
+ new
@@ -117,10 +117,12 @@
paths:
/functions:
post:
operationId: createFunction
summary: Creates a new function
+ security:
+ - OAuth2: [functions:write]
tags:
- functions
description: |
Creates a new function.
requestBody:
@@ -168,10 +170,12 @@
default:
$ref: '#/components/responses/ApiErrorsResponse'
get:
operationId: listFunctions
summary: Lists all functions
+ security:
+ - OAuth2: [functions:read]
tags:
- functions
description: |
Lists all functions
responses:
@@ -198,10 +202,12 @@
get:
operationId: getFunction
tags:
- functions
summary: Retrieve a single function
+ security:
+ - OAuth2: [functions:read]
description: |
Retrieves a function
parameters:
- $ref: '#/components/parameters/functionName'
responses:
@@ -236,10 +242,12 @@
put:
operationId: updateFunction
tags:
- functions
summary: Update function
+ security:
+ - OAuth2: [functions:write]
description: |
Update an existing function definition
requestBody:
content:
application/json:
@@ -254,9 +262,11 @@
delete:
operationId: deleteFunction
tags:
- functions
summary: Deletes a function
+ security:
+ - OAuth2: [functions:write]
description: |
Removes a single alias.
parameters:
- $ref: '#/components/parameters/functionName'
responses: