influxdata / influxdata/influxdb
InfluxDB 2: Cannot find owner of Dashboard
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
```bash
# Create Dashboard
--> POST http://127.0.0.1:9999/api/v2/dashboards
--> {
"orgID": "cf6cf88984580114",
"name": "dashboard1605172054649-IT",
"description": "coolest dashboard"
}
<-- 201 Created http://127.0.0.1:9999/api/v2/dashboards
### Find owners
--> GET http://127.0.0.1:9999/api/v2/dashboards/069aeccba6663000/owners
<-- 200 OK http://127.0.0.1:9999/api/v2/dashboards/069aeccba6663000/owners
<-- {
"links": {
"self": "/api/v2/dashboards/069aeccba6663000/owners"
},
"users": []
}
```
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
1. Create Dashboard
2. List owners of Dashboard
__Expected behavior:__
Return list with owner - user who created the dashboard
__Actual behavior:__
Return empty list.
__Environment info:__
* InfluxDB version: InfluxDB v2 nightly from 2020-11-12
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the POST /api/v2/dashboards request followed by GET /api/v2/dashboards/{id}/owners against the reported InfluxDB version. Trace the dashboard creation and owners API paths, then verify that the response includes the user who created the dashboard while preserving the existing links and response shape.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100