Bryan Boreham
|
dcadb32eb1
|
web/api: use stream encoder for embedded labels
This is much more efficient.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2023-07-24 20:42:36 +01:00 |
Bryan Boreham
|
bb528d4a55
|
Add jsoniter encoder for Labels
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
|
2023-07-24 20:13:34 +01:00 |
Charles Korn
|
097faf33c6
|
Merge branch 'main' into api-response-format-extension-point
# Conflicts:
# web/api/v1/api.go
# web/api/v1/api_test.go
|
2023-07-04 13:26:13 +10:00 |
Charles Korn
|
46a28899a0
|
Implement fully-featured content negotiation for API requests, and allow overriding the default API codec.
Signed-off-by: Charles Korn <charles.korn@grafana.com>
|
2023-03-09 12:02:45 +11:00 |
Charles Korn
|
a0dd1468be
|
Move custom jsoniter code into json_codec.go.
Signed-off-by: Charles Korn <charles.korn@grafana.com>
|
2023-02-02 13:10:20 +11:00 |
Charles Korn
|
3e94dd8c8f
|
Add extension point for returning different content types from API endpoints
Signed-off-by: Charles Korn <charles.korn@grafana.com>
|
2023-02-02 13:10:19 +11:00 |