Properties
NAME | TYPE | DESCRIPTION |
$id | string | Variable ID. |
$createdAt | string | Variable creation date in ISO 8601 format. |
$updatedAt | string | Variable creation date in ISO 8601 format. |
key | string | Variable key. |
value | string | Variable value. |
resourceType | string | Service to which the variable belongs. Possible values are "project", "function" |
resourceId | string | ID of resource to which the variable belongs. If resourceType is "project", it is empty. If resourceType is "function", it is ID of the function. |
Example
JSON
{
"$id": "5e5ea5c16897e",
"$createdAt": "2020-10-15T06:38:00.000+00:00",
"$updatedAt": "2020-10-15T06:38:00.000+00:00",
"key": "API_KEY",
"value": "myPa$$word1",
"resourceType": "function",
"resourceId": "myAwesomeFunction"
}
JSON
{
"_id": "5e5ea5c16897e",
"_createdAt": "2020-10-15T06:38:00.000+00:00",
"_updatedAt": "2020-10-15T06:38:00.000+00:00",
"key": "API_KEY",
"value": "myPa$$word1",
"resourceType": "function",
"resourceId": "myAwesomeFunction"
}