Stream application logs
GEThttps://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
- 101
switching protocols. This is a websocket upgrade
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
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());