Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Retrieve data source by name #164

Merged
merged 2 commits into from
Oct 6, 2023
Merged

Retrieve data source by name #164

merged 2 commits into from
Oct 6, 2023

Conversation

joanlopez
Copy link
Contributor

@joanlopez joanlopez commented Oct 5, 2023

The client does not have support (yet) to get a single data source by name.

So, this adds such support, in a very similar way the DataSourceByUID works now for uids.

PS: I was about to re-use the new method for DataSourceIDByName, but apparently that method is using a different endpoint (/api/datasources/id/, not /api/datasources/name/).

Copy link

@undef1nd undef1nd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@joanlopez joanlopez merged commit c343a57 into master Oct 6, 2023
2 checks passed
@joanlopez joanlopez deleted the data-source-by-name branch October 6, 2023 07:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants