-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Story
As a user of this fine library, I'd like to be able to conduct CRUD operations on the new Autolink References feature, introduced 2019-10-14. This would allow for creating automation, such as a probot app for managing them.
Unfortunately though, there is no real API target yet and only works through github.com -- there is not even a preview for it. Perhaps given that, this feature request should be considered void until they do.
Details
Using browser dev tools, we can see what the requests look like. Below are the observations I made.
Check (POST) /:owner/:repo/settings/key_links/check
Multipart Form Fields:
key_link[key_prefix]:JIRAPROJECTA-key_link[url_template]:https://jira.pygithub.com/browse/JIRAPROJECTA-<num>
Create (POST) /:owner/:repo/settings/key_links/new
Form fields:
utf8:✓No idea what this is about...authenticity_token: REDACTED (string, base64 encoded binary string)timestamp: REDACTED (long, unix epoch of request with millis)timestamp_secret: REDACTED (string, 64 character hexadecimal)key_link[key_prefix]:JIRAPROJECTA-key_link[url_template]:https://jira.pygithub.com/browse/JIRAPROJECTA-<num>
Delete (POST) /:owner/:repo/settings/key_links/<key_link_id>
Form fields:
_method:deleteauthenticity_token: REDACTED (string, base64 encoded binary string)
List
This one doesn't seem to have a REST-y endpoint yet and reloads the page with
a (GET) /:owner/:repo/settings/key_links.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels