List subscriptions
GET/subscriptions
List all subscriptions.
Request
Query Parameters
sink string
Filter by the exact specified sink.
source string
Filter by the exact specified source.
Responses
- 200
- application/json
- Schema
- Example (auto)
Schema
subscriptions object[]required
{
"subscriptions": [
{
"id": "string",
"source": "string",
"sink": "string",
"options": {}
}
]
}
- 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://restatedeployment.documentation-beg.pages.dev/subscriptions");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());