Cloud Functions Service, REST: Function.Get
Returns the specified function.
To get the list of all available functions, make a List request.
HTTP request
GET https://serverless-functions.api.cloud.yandex.net/functions/v1/functions/{functionId}
Path parameters
Field |
Description |
functionId |
string Required field. ID of the function to return. To get a function ID make a FunctionService.List request. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"httpInvokeUrl": "string",
"status": "string"
}
A serverless function. For details about the concept, see Functions.
Field |
Description |
id |
string ID of the function. Generated at creation time. |
folderId |
string ID of the folder that the function belongs to. |
createdAt |
string (date-time) Creation timestamp for the function. String in RFC3339 To work with values in this field, use the APIs described in the |
name |
string Name of the function. The name is unique within the folder. |
description |
string Description of the function. |
labels |
object (map<string, string>) Function labels as |
httpInvokeUrl |
string URL that needs to be requested to invoke the function. |
status |
enum (Status) Status of the function.
|