Skip to content

buildin_endpoints_get_outputs

Marcel Kloubert edited this page Feb 10, 2017 · 1 revision

Home >> Build-in endpoints >> [GET] /api/outputs

[GET] /api/outputs

Gets all output channels handled by the extension.

Example

Request:

GET /api/outputs

Possible response:

Content-type: application/json; charset=utf-8
X-Vscode-Restapi: 1.0.0
Date: Fri, 10 Feb 2017 17:50:28 GMT
Connection: keep-alive
Transfer-Encoding: chunked

{
    "code": 0,
    "data": [
        {
            "name": "REST API"
        },
        {
            "name": "My output channel",
            "id": 0,
            "path": "/api/outputs/0"
        }
    ]
}
Clone this wiki locally