Func list

GET /funcs

List all functions.

Example request:

GET /funcs HTTP/1.1
Content-Type: application/json

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

[
    {
        "Name": "helloworld",
        "ContainerSize": "s4",
        "Timeout": 300,
        "UUID": "e62c014e-386c-42ea-8d07-41d44e98cc3d",
        "Created": "2017-03-16T07:05:24.473Z",
        "Config": {
            "Env": [],
            "Cmd": [
                "echo",
                "HelloWorld"
            ],
            "Image": "ubuntu",
            "StopSignal": "SIGTERM"
        },
        "HostConfig": {
            "NetworkMode": "bridge"
        },
        "NetworkingConfig": {
            "EndpointsConfig": null
        }
    }
]

Status Codes:

  • 200 - no error

  • 500 - server error

Last updated