Skip to content

Commit 7cede63

Browse files
committed
token-scopes: Align endpoint table
1 parent f5f12a7 commit 7cede63

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

text/0000-crates-io-token-scopes.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ registries.
9090

9191
The scopes proposed by this RFC allow access to the following endpoints:
9292

93-
| Endpoint | Required scope |
94-
| --- | --- |
95-
| `PUT /crates/new` (new crates) | **publish-new** |
96-
| `PUT /crates/new` (existing crates) | **publish-update** |
97-
| `DELETE /crates/:crate_id/:version/yank` | **yank** |
98-
| `PUT /crates/:crate_id/:version/unyank` | **yank** |
99-
| `PUT /crates/:crate_id/owners` | **change-owners** |
100-
| `DELETE /crates/:crate_id/owners` | **change-owners** |
101-
| everything except `PUT /me/tokens` | **legacy** |
93+
| Endpoint | Required scope |
94+
|------------------------------------------|--------------------|
95+
| `PUT /crates/new` (new crates) | **publish-new** |
96+
| `PUT /crates/new` (existing crates) | **publish-update** |
97+
| `DELETE /crates/:crate_id/:version/yank` | **yank** |
98+
| `PUT /crates/:crate_id/:version/unyank` | **yank** |
99+
| `PUT /crates/:crate_id/owners` | **change-owners** |
100+
| `DELETE /crates/:crate_id/owners` | **change-owners** |
101+
| everything except `PUT /me/tokens` | **legacy** |
102102

103103
Removing an endpoint from a scope or adding an existing endpoint to an existing
104104
scope will be considered a breaking change. Adding newly created endpoints to

0 commit comments

Comments
 (0)