I’m attempting to learn to use the Octopus API via the swaggerui and apparently I’m missing something.
Here’s what I’ve done:
Generated an API key in my profile.
Used the “Authorize” button on the swaggerui and entered the API key in all combinations of “X-Octopus-ApiKey” and “ApiKey”.
Used the “Execute” button in a number of “GET” calls of which I have permissions in my profile to access.
Here is the entirety of what I get in response:
“ErrorMessage”: “The resource you requested was not found.”
content-security-policy: default-src ‘none’; connect-src ‘self’; font-src ‘self’; img-src data: https://www.gravatar.com ‘self’; script-src eval: inline: ‘self’ ‘unsafe-eval’ ‘unsafe-inline’; style-src inline: ‘self’ ‘unsafe-inline’; worker-src ‘self’; block-all-mixed-content; sandbox allow-same-origin allow-scripts allow-forms allow-popups allow-modals;
content-type: application/json; charset=utf-8
date: Tue, 12 Mar 2019 12:23:24 GMT
octopus-node: name=UT-DEPLOY-TEST; version=2018.8.4
x-xss-protection: 1; mode=block
I also tried by copying the Curl and using that in the cmd window of my Windows 10 machine and receive the same Response body in return.
I googled for reasons and haven’t found a resolution.
Very appreciative of your help.