Actions
Defect #32315
closedImpossible to validate API key without modifying anything
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
AFAICT the Redmine API has no way of validating whether a given API key is valid, short of actually attempting a write operation (POST, PUT, DELETE).
With the GitHub API, you can do:
curl --silent https://api.github.com/repos/myuser/myrepo/pulls/19999?access_token=invalid { "message": "Bad credentials", "documentation_url": "https://developer.github.com/v3" }
Would be great to have something like this in the Redmine API as well! Thanks for the cool software.
Related issues
Actions