Get the streaming event manifest
curl --request GET \
--url https://reporter.sandbox.lerian.net/v1/streaming/events \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://reporter.sandbox.lerian.net/v1/streaming/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://reporter.sandbox.lerian.net/v1/streaming/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://reporter.sandbox.lerian.net/v1/streaming/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"events": [
{
"dataContentType": "application/json",
"defaultPolicy": {
"direct": "direct",
"dlq": "on_routable_failure",
"enabled": true,
"outbox": "fallback_on_circuit_open"
},
"eventKey": "report.requested",
"eventType": "requested",
"key": "report.requested",
"resourceType": "report",
"schemaVersion": "1.0.0",
"systemEvent": false
}
],
"publisher": {
"outboxSupported": true,
"routePath": "/v1/streaming/events",
"serviceName": "reporter",
"source": "reporter"
},
"routes": [],
"version": "1.0.0"
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Get the streaming event manifest
Returns the static catalog of business events Reporter can publish without disclosing broker topology.
GET
/
v1
/
streaming
/
events
Get the streaming event manifest
curl --request GET \
--url https://reporter.sandbox.lerian.net/v1/streaming/events \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://reporter.sandbox.lerian.net/v1/streaming/events"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://reporter.sandbox.lerian.net/v1/streaming/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://reporter.sandbox.lerian.net/v1/streaming/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"events": [
{
"dataContentType": "application/json",
"defaultPolicy": {
"direct": "direct",
"dlq": "on_routable_failure",
"enabled": true,
"outbox": "fallback_on_circuit_open"
},
"eventKey": "report.requested",
"eventType": "requested",
"key": "report.requested",
"resourceType": "report",
"schemaVersion": "1.0.0",
"systemEvent": false
}
],
"publisher": {
"outboxSupported": true,
"routePath": "/v1/streaming/events",
"serviceName": "reporter",
"source": "reporter"
},
"routes": [],
"version": "1.0.0"
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}{
"code": "<string>",
"detail": "Property foo is required but is missing.",
"errors": [
{
"location": "body.templateId",
"message": "expected string to match 'uuid' format",
"value": "not-a-uuid"
}
],
"instance": "https://example.com/error-log/abc123",
"status": 400,
"title": "Bad Request",
"type": "https://example.com/errors/example",
"upstream": {
"code": "E4001",
"message": "account not found at provider"
}
}Authorizations
JWT bearer token issued by the identity provider.
Response
OK
Business events Reporter can publish.
Show child attributes
Show child attributes
Example:
[ { "dataContentType": "application/json", "defaultPolicy": { "direct": "direct", "dlq": "on_routable_failure", "enabled": true, "outbox": "fallback_on_circuit_open" }, "eventKey": "report.requested", "eventType": "requested", "key": "report.requested", "resourceType": "report", "schemaVersion": "1.0.0", "systemEvent": false } ]
Metadata identifying the Reporter event publisher.
Show child attributes
Show child attributes
Example:
{ "outboxSupported": true, "routePath": "/v1/streaming/events", "serviceName": "reporter", "source": "reporter" }
Sanitized delivery routes when topology publication is enabled; Reporter omits this field.
Show child attributes
Show child attributes
Example:
[]
Semantic version of the manifest wire format.
Example:
"1.0.0"
Was this page helpful?

