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
Parameter | Description |
---|---|
functionId | Required. ID of the function to return. To get a function ID make a list request. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"logGroupId": "string",
"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 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Name of the function. The name is unique within the folder. The string length in characters must be 3-63. |
description | string Description of the function. The string length in characters must be 0-256. |
labels | object Function labels as No more than 64 per resource. |
logGroupId | string ID of the log group for the function. |
httpInvokeUrl | string URL that needs to be requested to invoke the function. |
status | string Status of the function.
|