Reputation: 321
I am trying to fetch my apiary documentation (on the apiary server) to my local drive. I am the owner of the API and have access to the Settings button (I thought maybe this is important since i get a 403 forbidden response in the end, see below).
After installing the apiary CLI i followed these steps:
Note: running on windows (using cmd/powershell to execute the commands).
Running the following command (i can easily find the API Name on apiary.io)
apiary fetch --api-name="<API_NAME>"
I expect to get the API documentation (so far I have been working on apiary.io through the browser) fetched to my local drive - this allows me to edit it locally to run additional tools (dredd) to validate my API against the fetched document.
What happens instead is that i get this response:
Apiary service responded with an error: 403 Forbidden
What could be the issue, i can easily see/edit my API on apiary.io so why can't i access it using the apiary CLI?
Upvotes: 1
Views: 522
Reputation: 101
Two possible problems come to mind:
Upvotes: 1