docs(datasource): add request objects to docs

This commit is contained in:
bergquist committed 2016-03-04 08:45:46 +01:00
1 parent 1d8222ef6a
commit c21a210198
2 files changed
+72 -2

No files matched your search

@@ -40,7 +40,8 @@ export class GenericDatasource {
annotationQuery(options) {
return this.backendSrv.datasourceRequest({
url: this.url + '/annotations',
method: 'GET'
method: 'POST',
data: options
}).then(result => {
return result.data;
});