Create issue if custom endpoint is called #1707
-
Hey, how do I create custom api endpoint for the ProBot, if this endpoint is called I want to create an issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm just starting to attempt to answer this question as well, I'm surprised its not as clearly covered, I presume the expectation is folks are used to working with the octokit. I'm new to octokit but at this point I think I'm going to just attempt to authenticate it directly. have you had any forward movement? |
Beta Was this translation helpful? Give feedback.
-
Yep I used this to make a lil express middleware to enrich the request object with context-like octokit. In our use case the concern raised in the final message doesnt apply so the code is ok mostly as is. |
Beta Was this translation helpful? Give feedback.
Yep I used this to make a lil express middleware to enrich the request object with context-like octokit. In our use case the concern raised in the final message doesnt apply so the code is ok mostly as is.
#1323 (comment)