JSON structure

The Cloud Observability API is based on the JSON API standard. As such, all non-error responses are formatted as a JSON document with a top-level data field.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
"data":[
	0:{
		"type":"stream"
		"id":"dh9DvmPN"
		"attributes":{
			"name":"component:"iOS" operation:"/api/get-transactions""
			"query":"operation IN ("/api/get-transactions") AND service IN ("iOS")"
			"created-by":"user@lightstep.com"
			"created-time":"2019-10-28T18:08:26.581137Z"
		}
		"relationships":{
			"project":{
				"links":{
					"related":"https://api.lightstep.com/public/v0.2/LightStep/projects/demo"
				}
			}
			"conditions":{
				"links":{
				"related":"https://api.lightstep.com/public/v0.2/LightStep/projects/demo/streams/dh9DvmPN/conditions"
			}
		}
	}
	"links":{
		"self":"https://api.lightstep.com/public/v0.2/LightStep/projects/demo/streams/dh9DvmPN/timeseries"
		"ui":"https://app.lightstep.com/demo/operation/dh9DvmPN"
		"ui-p90":"https://app.lightstep.com/demo/operation/dh9DvmPN?filter_percentile=90.0"
		"ui-p95":"https://app.lightstep.com/demo/operation/dh9DvmPN?filter_percentile=95.0"
		"ui-p99":"https://app.lightstep.com/demo/operation/dh9DvmPN?filter_percentile=99.0"
		}
	}
	1:{...}
 ]
}

Updated Jan 6, 2023