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

feat: api key and standardization of uid action #128

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Conversation

wcrum
Copy link
Member

@wcrum wcrum commented Sep 5, 2024

Summary

Adding the below functions to support user interactions with API tokens via SDK.

func (h *V1Client) GetAPIKeys() (*models.V1APIKeys, error) {}
func (h *V1Client) DeleteAPIKeyByName(name string) error {}
func (h *V1Client) DeleteAPIKey(uid string) error {}

Other Changes

References of DoXByUID changed to just DoX as there are more refernces of DoX then DoXByUID.

Examples are DeleteProject(uid string) GetTeam(uid string) GetPack(uid string)

To note, searching all these changed functions I have not found any other project within SpectroCloud which utilizes these functions.

@wcrum wcrum merged commit d5dfc0c into main Sep 9, 2024
5 checks passed
@wcrum wcrum deleted the wcrum-api-keys branch September 9, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants