Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 1:1 of search endpoints #18

Merged
merged 3 commits into from
Sep 2, 2021
Merged

Added 1:1 of search endpoints #18

merged 3 commits into from
Sep 2, 2021

Conversation

applejag
Copy link
Contributor

@applejag applejag commented Sep 1, 2021

Summary

  • Added new methods:

    • Client.SearchProject(Project) []Project: POST /api/projects/search
    • Client.SearchProvider(Provider) []Provider: POST /api/providers/search
    • Client.SearchToken(Token) []Token: POST /api/tokens/search

Motivation

These endpoints were missing from the wharf-api-client-go. They sort of existed in the GetProvider and GetToken that called the search endpoint, but they did not return the full search result list.

There is a POST /api/builds/search as well but that one is marked as "NOT IMPLEMENTED" so I'm waiting with that one.

@applejag applejag added the enhancement New feature or request label Sep 1, 2021
@applejag applejag self-assigned this Sep 1, 2021
@applejag applejag merged commit 13d4208 into master Sep 2, 2021
@applejag applejag deleted the feature/search-endpoints branch September 2, 2021 14:17
@applejag applejag mentioned this pull request Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants