Docs

Functions List Object

Properties

Name Type Description
total integer

Total number of functions documents that matched your query.

functions function[]

List of functions.

Examples

JSON

{
    "total": 5,
    "functions": {
        "$id": "5e5ea5c16897e",
        "$createdAt": "2020-10-15T06:38:00.000+00:00",
        "$updatedAt": "2020-10-15T06:38:00.000+00:00",
        "execute": [
            "users"
        ],
        "name": "My Function",
        "enabled": false,
        "runtime": "python-3.8",
        "deployment": "5e5ea5c16897e",
        "vars": {
            "$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",
            "functionId": "5e5ea5c16897e"
        },
        "events": [
            "account.create"
        ],
        "schedule": "5 4 * * *",
        "scheduleNext": "2020-10-15T06:38:00.000+00:00",
        "schedulePrevious": "2020-10-15T06:38:00.000+00:00",
        "timeout": 1592981237
    }
}