GET
/
cloud
/
v1
/
faas
/
flavors
/
{project_id}
/
{region_id}
curl --request GET \
  --url https://api.gcore.com/cloud/v1/faas/flavors/{project_id}/{region_id} \
  --header 'Authorization: <api-key>'
{
  "count": 1,
  "results": [
    {
      "cpu": 128,
      "name": "128m-128MB",
      "ram": 128
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

Examples:

1

region_id
integer
required

Region ID

Examples:

1

Query Parameters

name
string | null

Function name

Examples:

"function-name"

Response

200 - application/json

OK

The response is of type object.