docs(datasource): add request objects to docs
This commit is contained in:
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;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user