digitalocean / digitalocean/api-v2
Search by Droplet name
- Dominant language
- No language data
- Stars
- 138
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
In the digital ocean dashboard, there is a search box at the top that allows a client to search droplets by name (hostname). It looks to be using V1 of the API: `https://cloud.digitalocean.com/api/v1/droplets/search?include_failed=true&page=1&preserveScrollPosition=false&query=the&sort=created_at&sort_direction=desc`
I'm trying to replicate that exact same functionality so users in our CRM can locate droplets based off of the domain name. In the V2 docs I don't see how I am able to do that. I see that I can "tag" droplets and lookup droplets based on that tag [list droplets by tag](https://developers.digitalocean.com/documentation/v2/#listing-droplets-by-tag). Maybe that is now the preferred way? Seems like tags are meant to group droplets and not have unique tags for every droplet?
Any reason I can't lookup droplets by hostname in V2 of the API? What am I missing or what is the recommended approach to search droplets by domain/hostname?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.