API Overview

FunctionGraph provides developers and partners with open APIs for development, deployment, hosting, and O&M, helping users quickly implement service innovations at low costs and shorten the rollout period of applications.

FunctionGraph provides the following types of APIs:

Table 1 API overview

Type

Description

Function Management Zone APIs

Query, create, modify, and publish functions.

Function Data Zone APIs

Implement synchronous or asynchronous function execution.

Function Management Zone APIs

Table 2 Function management zone APIs

API

Description

Obtaining a Dependency List

Obtain the dependency list.

Creating a Dependency

Create a dependency.

Deleting a Dependency

Delete a dependency.

Obtaining a Specified Dependency

Obtain a dependency.

Updating a Dependency

Update a dependency.

Obtaining Test Events

Obtain the test event list of a function.

Creating a Test Event

Create a test event.

Deleting a Test Event

Delete a test event.

Obtaining the Details of a Test Event

Obtain the details of a test event.

Updating a Test Event

Update a test event.

Querying a Resource Quota

Query the tenant quota.

Obtaining Function Running Metrics in a Specified Period

Obtain the function running metrics in a specified period.

Querying Tenant-Level Function Statistics

Query tenant-level function statistics.

Updating a Trigger

Update a trigger.

Querying a Function List

Query a function list.

Creating a Function

Create a function.

Deleting a Function or Function Version

Delete a function or function version except the LATEST version.

Querying All Version Aliases of a Function

Query the version alias list of a function.

Creating an Alias for a Function Version

Create an alias for a function version.

Deleting an Alias of a Function Version

Delete an alias of a function version.

Querying the Alias Information About a Function Version

Query the alias information about a function version.

Modifying the Alias Information About a Function Version

Modify the alias information about a function version.

Querying the Code of a Function

Query the code of a function.

Modifying the Code of a Function

Modify the code of a function.

Querying the Metadata of a Function

Query the metadata of a function.

Modifying the Metadata of a Function

Modify the metadata of a function.

Querying the Versions of a Function

Query the versions of a function.

Publishing a Function Version

Publish a function version.

Setting the Number of RIs

Set the number of reserved instances.

Deleting All Triggers of a Function

Delete all triggers of a function.

Querying the Triggers of a Function

Query all triggers of a function.

Creating a Trigger

Create a trigger.

Deleting a Trigger

Delete a trigger.

Querying the Information About a Trigger

Query the information about a trigger.

Function Data Zone APIs

Table 3 Function data zone APIs

API

Description

Implementing Synchronous Function Execution

Implement synchronous function execution.

Implementing Asynchronous Function Execution

Implement asynchronous function execution.