docs(datasource): add request objects to docs

This commit is contained in:
bergquist
2016-03-04 08:45:46 +01:00
parent 1d8222ef6a
commit c21a210198
2 changed files with 72 additions and 2 deletions
@@ -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;
});