Help Center/ FunctionGraph/ API Reference (ME-Abu Dhabi Region)/ Permissions Policies and Supported Actions
Updated on 2022-02-22 GMT+08:00

Permissions Policies and Supported Actions

Table 1 FunctionGraph actions

Permission

API

Action

Querying a function list

GET /v2/{project_id}/fgs/functions

FunctionGraph:function:list

Querying the metadata of a function

GET /v2/{project_id}/fgs/functions/{function_urn}/config

FunctionGraph:function:getConfig

Querying the code of a function

GET /v2/{project_id}/fgs/functions/{function_urn}/code

FunctionGraph:function:getCode

Creating a function

POST /v2/{project_id}/fgs/functions

FunctionGraph:function:create

Deleting a function or function version

DELETE /v2/{project_id}/fgs/functions/{function_urn}

FunctionGraph:function:delete

Modifying the code of a function

PUT /v2/{project_id}/fgs/functions/{function_urn}/code

FunctionGraph:function:updateCode

Modifying the metadata of a function

PUT /v2/{project_id}/fgs/functions/{function_urn}/config

FunctionGraph:function:updateConfig

Publishing a function version

POST /v2/{project_id}/fgs/functions/{function_urn}/versions

FunctionGraph:function:createVersion

Querying the versions of a function

GET /v2/{project_id}/fgs/functions/{function_urn}/versions

FunctionGraph:function:listVersion

Creating an alias for a function version

POST /v2/{project_id}/fgs/functions/{function_urn}/aliases

FunctionGraph:function:createAlias

Modifying the alias information about a function version

PUT /v2/{project_id}/fgs/functions/{function_urn}/aliases/{alias_name}

FunctionGraph:function:updateAlias

Deleting an alias of a function version

DELETE /v2/{project_id}/fgs/functions/{function_urn}/aliases/{alias_name}

FunctionGraph:function:deleteAlias

Querying the alias information about a function version

GET /v2/{project_id}/fgs/functions/{function_urn}/aliases/{alias_name}

FunctionGraph:function:getAlias

Querying all version aliases of a function

GET /v2/{project_id}/fgs/functions/{function_urn}/aliases

FunctionGraph:function:listAlias

Querying all triggers of a function

GET /v2/{project_id}/fgs/triggers/{function_urn}

FunctionGraph:trigger: listSpecifiedFunctionTriggers

Querying the information about a trigger

GET /v2/{project_id}/fgs/triggers/{function_urn}/{trigger_type_code}/{trigger_id}

FunctionGraph:trigger:get

Deleting all triggers of a function

DELETE /v2/{project_id}/fgs/triggers/{function_urn}

FunctionGraph:trigger: deleteSpecifiedFunctionTriggers

Creating a trigger

POST /v2/{project_id}/fgs/triggers/{function_urn}

FunctionGraph:trigger:create

Deleting a trigger

DELETE /v2/{project_id}/fgs/triggers/{function_urn}/{trigger_type_code}/{trigger_id}

FunctionGraph:trigger:delete

Implementing synchronous function invocation

POST /v2/{project_id}/fgs/functions/{function_urn}/invocations

FunctionGraph:function:invoke

Implementing asynchronous function invocation

POST /v2/{project_id}/fgs/functions/{function_urn}/invocations-async

FunctionGraph:function:invokeAsync