Skip to main content

Stream application logs

GET 

https://api.astropulse.io/api/v1/applications/:appId/logs/ws

Stream application logs

Request

Path Parameters

    appId stringrequired

    Application Id

Query Parameters

    follow boolean

    Follow logs

    tail integer

    Number of lines to show from the end of the logs

    previous boolean

    Show previous logs

Header Parameters

    X-Astro-API-Key stringrequired

    APIKey

Responses

switching protocols. This is a websocket upgrade

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.astropulse.io/api/v1/applications/:appId/logs/ws");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.astropulse.io
Parameters
— pathrequired
— headerrequired
— query
— query
— query