Cloud Functions Service, REST: Function.listTagHistory
Returns the log of tags assigned to versions of the specified function.
HTTP request
GET https://serverless-functions.api.cloud.yandex.net/functions/v1/functions/{functionId}:tagHistory
Path parameters
Parameter | Description |
---|---|
functionId | Required. ID of the function to retrieve tag history for. To get a function ID, make a list request. |
Query parameters
Parameter | Description |
---|---|
tag | Specific tag that history should be limited to. Value must match the regular expression |
pageSize | The maximum number of results per page that should be returned. If the number of available results is larger than Acceptable values are 0 to 1000, inclusive. |
pageToken | Page token. To get the next page of results, set The maximum string length in characters is 100. |
filter | A filter expression that filters resources listed in the response. The expression must specify:
The maximum string length in characters is 1000. |
Response
HTTP Code: 200 - OK
{
"functionTagHistoryRecord": [
{
"functionId": "string",
"functionVersionId": "string",
"tag": "string",
"effectiveFrom": "string",
"effectiveTo": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
functionTagHistoryRecord[] | object Set of relevant tag history records. |
functionTagHistoryRecord[]. functionId |
string ID of the function that the record is about. |
functionTagHistoryRecord[]. functionVersionId |
string ID of the function version that the record is about. |
functionTagHistoryRecord[]. tag |
string Tag that was set for the version at some point. |
functionTagHistoryRecord[]. effectiveFrom |
string (date-time) Timestamp when the tag started being active 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). |
functionTagHistoryRecord[]. effectiveTo |
string (date-time) Timestamp when the tag stopped being active 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). |
nextPageToken | string Token for getting the next page of the list. If the number of results is greater than the specified pageSize, use Each subsequent page will have its own |