Humbedooh commented on issue #32:
URL: https://github.com/apache/kibble/issues/32#issuecomment-636056450
the token fetched from the preferences URI must currently be handed in the
Kibble-Token header of the request, such as in this python example:
~~~python
issues = requests.post('https://demo.kibble.apache.org/api/issue/issues',
headers = {
'Content-Type': 'application/json',
'Kibble-Token': TOKEN,
},
json = {
"page":"issues",
"quick":True,
"interval": "week",
"subfilter":"/(?:incubator-)?" + project + ".*\\.git",
"distinguish":True
}
).json()
~~~
It would be nice if it accepted a token in the Authorization header as well,
and when I'm back home, I'll work on making that happen.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]