cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/faas/flavors/{project_id}/{region_id} \ --header 'Authorization: <api-key>'
{ "count": 1, "results": [ { "cpu": 1000, "ram": 1000, "name": "128m-128MB" } ] }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
1
Region ID
Function name
"function-name"
OK
Number of objects
x >= 0
Objects
Show child attributes
Was this page helpful?