Skip to content

Add Spaces Key API#958

Closed
lee-aaron wants to merge 15 commits intodigitalocean:mainfrom
lee-aaron:alee/keys-api
Closed

Add Spaces Key API#958
lee-aaron wants to merge 15 commits intodigitalocean:mainfrom
lee-aaron:alee/keys-api

Conversation

@lee-aaron
Copy link
Copy Markdown
Contributor

OBJECT-6022

This adds information about the Spaces Key API to the OpenAPI spec.

I can add a [Beta] tag somewhere if needed as users would need to be on the flipper to access this!

@lee-aaron lee-aaron force-pushed the alee/keys-api branch 2 times, most recently from 2749a98 to 926ae10 Compare January 6, 2025 20:07
Copy link
Copy Markdown
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

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

Looking good! I did leave a few comments in-line. Let me know if you have any questions about them.

Copy link
Copy Markdown
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

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

Looks great! 🙌 A couple tiny changes needed for the update response bodies.

Co-authored-by: Andrew Starr-Bochicchio <andrewsomething@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@dbrian57 dbrian57 left a comment

Choose a reason for hiding this comment

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

Hi Aaron, all of the feedback here is minor stuff. I reworded some things to be more active and less circular. There are a few questions in here, too. Please ping me when you're done for a quick re-review. Thanks!

@lee-aaron lee-aaron force-pushed the alee/keys-api branch 3 times, most recently from 7bcedff to 4175ea0 Compare February 25, 2025 17:17
Co-authored-by: Dan Brian <daniel.brian@gmail.com>
@lee-aaron lee-aaron force-pushed the alee/keys-api branch 2 times, most recently from 6054cfe to 8fb926e Compare March 3, 2025 16:58
@dbrian57 dbrian57 self-requested a review March 12, 2025 19:39
dbrian57
dbrian57 previously approved these changes Mar 12, 2025
@lee-aaron lee-aaron force-pushed the alee/keys-api branch 2 times, most recently from d07afb7 to 9ed48ba Compare March 14, 2025 00:14
@@ -0,0 +1,75 @@
operationId: spacesKey_create

summary: "[Beta] Create a New Spaces Access Key"
Copy link
Copy Markdown
Member

@andrewsomething andrewsomething Mar 19, 2025

Choose a reason for hiding this comment

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

Suggested change
summary: "[Beta] Create a New Spaces Access Key"
summary: "Create a New Spaces Access Key"

This is now being released directly to GA. We should remove the beta tags here and elsewhere.

@@ -0,0 +1,40 @@
operationId: spacesKey_delete

summary: "[Beta] Delete a Spaces Access Key"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
summary: "[Beta] Delete a Spaces Access Key"
summary: "Delete a Spaces Access Key"

@@ -0,0 +1,40 @@
operationId: spacesKey_delete

summary: "[Beta] Get a Spaces Access Key"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
summary: "[Beta] Get a Spaces Access Key"
summary: "Get a Spaces Access Key"

@@ -0,0 +1,41 @@
operationId: spacesKey_list

summary: "[Beta] List Spaces Access Keys"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
summary: "[Beta] List Spaces Access Keys"
summary: "List Spaces Access Keys"

@@ -0,0 +1,50 @@
operationId: spacesKey_patch

summary: "[Beta] Update Spaces Access Keys"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
summary: "[Beta] Update Spaces Access Keys"
summary: "Update Spaces Access Keys"

@@ -0,0 +1,40 @@
operationId: spacesKey_delete
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
operationId: spacesKey_delete
operationId: spacesKey_get

The operation name must be unique and should reflect the purpose of the endpoint. It is used to generate client method names. This is the cause of the lint error in CI.

@andrewsomething
Copy link
Copy Markdown
Member

Closing in favor of #993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants