thiDucTran commented on issue #5207:
URL: 
https://github.com/apache/incubator-devlake/issues/5207#issuecomment-2050985395

   referencing https://devlake.apache.org/docs/Plugins/webhook/#deployment . I 
am making the REST call as below but is seeing the error: 
`{"success":false,"message":"path doesn't match api key's scope"}` ...what path 
is the error speaking of?
   ```bash
   curl 
'http://apache-devlake-ui.infra.svc:4000/api/rest/plugins/webhook/1/deployments'
 -X 'POST' -H 'Authorization: Bearer abc123' -d '{
       "repo_url":"https://github.com/apache/incubator-devlake/";,
       "commit_sha":"015e3d3b480e417aede5a1293bd61de9b0fd051d",
       "commit_msg":"optional-commit-message",
       "start_time":"2020-01-01T12:00:00+00:00",
       "end_time":"2020-01-02T13:00:00+00:00",
       "result": "FAILURE"
     }' 
   ```


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to