mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
# The problems I attempt to solve - `RepositoryKey.created_at` is available on the Github API, but not in PyGithub - `RepositoryKey.edit()` is not supported anymore by the Github API, see https://developer.github.com/v3/repos/keys/#edit-a-deploy-key # How I went about solving the problem I added myself a new deploy key to one of my repositories, and recorded the existing tests using my account. I could not keep the existing test data as the specified key does not exist anymore, I added a comment for the next contributor to help him figure out how to record new tests.
12 lines
1.2 KiB
Plaintext
12 lines
1.2 KiB
Plaintext
https
|
|
DELETE
|
|
api.github.com
|
|
None
|
|
/repos/lra/mackup/keys/21870881
|
|
{'Authorization': 'Basic login_and_password_removed', 'User-Agent': 'PyGithub/Python'}
|
|
None
|
|
204
|
|
[('status', '204 No Content'), ('x-ratelimit-remaining', '4941'), ('x-github-media-type', 'github.v3; format=json'), ('x-content-type-options', 'nosniff'), ('content-security-policy', "default-src 'none'"), ('access-control-expose-headers', 'ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval'), ('x-github-request-id', 'D0B4:6161:CBE73FE:F6C4EF4:58AD4917'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('vary', 'Accept-Encoding'), ('server', 'GitHub.com'), ('access-control-allow-origin', '*'), ('x-ratelimit-limit', '5000'), ('x-xss-protection', '1; mode=block'), ('x-served-by', '52437fedc85beec8da3449496900fb9a'), ('date', 'Wed, 22 Feb 2017 08:17:27 GMT'), ('x-frame-options', 'deny'), ('x-oauth-scopes', 'admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user'), ('x-accepted-oauth-scopes', ''), ('x-ratelimit-reset', '1487754126')]
|
|
|
|
|