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

add more ssh key endpoints #7

Merged
merged 5 commits into from
Jul 20, 2020
Merged

add more ssh key endpoints #7

merged 5 commits into from
Jul 20, 2020

Conversation

hilary
Copy link
Contributor

@hilary hilary commented Jul 1, 2020

Merge PR #4 before merging this PR, as it is based on #4.

adds:

  • GET /v2/account/keys/{ssh_key_identifier}
  • DELETE /v2/account/keys/{ssh_key_identifier}

I'm impressed by how robust the OpenAPI Preview extension for VS Code is.

@hilary hilary changed the title add retrieve an existing ssh key endpoint add more ssh key endpoints Jul 1, 2020
@hilary hilary requested a review from andrewsomething July 9, 2020 18:57
Comment on lines +6 to +8
oneOf:
- $ref: '../attributes/ssh_key_id.yml'
- $ref: '../attributes/ssh_key_fingerprint.yml'
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm testing with the mocked proxy and it looks like the prism proxy is having an issue matching integer ids here.
I'll have to keep testing to see if I could identify what exactly is happening before I decide if this is an issue or not.

Copy link
Contributor

@scotchneat scotchneat left a comment

Choose a reason for hiding this comment

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

This change looks good and is valid.
I'll create a task to investigate a potential issue with prism proxy/mock down the line.

@hilary hilary merged commit 8fe6b27 into digitalocean:main Jul 20, 2020
@hilary hilary deleted the APICLI-381 branch July 20, 2020 06:11
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.

3 participants