Closed wibblymat closed 10 years ago
This adds a new feature to the server allowing people to unregister packages.
You send an HTTP DELETE request to https://{server url}/packages/{package name}?access_token={token} where token is an OAuth token issued by GitHub.
DELETE
https://{server url}/packages/{package name}?access_token={token}
token
The request will succeed if and only if you have commit access to the github repo that is registered for the package.
Actually generating the tokens for a user will be handled in an update to the client.
It'd be really great to get some test coverage into registry in general — especially if we're planning on big changes structurally, it'd be great to have some client integration tests in place.
Agreed.
This adds a new feature to the server allowing people to unregister packages.
You send an HTTP
DELETE
request tohttps://{server url}/packages/{package name}?access_token={token}
wheretoken
is an OAuth token issued by GitHub.The request will succeed if and only if you have commit access to the github repo that is registered for the package.
Actually generating the tokens for a user will be handled in an update to the client.