I'm not sure if this is already possible or not.
The current entries endpoint might be susceptible to abuse as anyone can make the request to https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/
Is there a way to authorise the request, maybe with an access token? So that only the requests with valid tokens make a PR?
Something like, https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/ with token=xxyyzz as POST data
This way we can safely get rid of the moderation as well
I'm not sure if this is already possible or not.
The current entries endpoint might be susceptible to abuse as anyone can make the request to
https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/Is there a way to authorise the request, maybe with an access token? So that only the requests with valid tokens make a PR?
Something like,
https://api.staticman.net/v2/entry/{GITHUB USERNAME}/{GITHUB REPOSITORY}/{BRANCH}/withtoken=xxyyzzas POST dataThis way we can safely get rid of the moderation as well