Hi there !
I know I am publishing a message about an “old” api endpoint since v2 exists.
Nevertheless, I have a quick and urgent need to use a project that rely on v1.1 and I don’t have the time to rewrite it for v2
So I was exploring thanks to : https://circleci.com/docs/api/v1/#circleci-v1-api-overview.
And I noticed that in many endpoint (if not all, I didn’t check them all), the :username
is not valid anymore …
Example:
Documentation: https://circleci.com/docs/api/v1/#summary-of-api-endpoints
/project/:vcs-type/:username/:project
Tests
curl -v -X GET "https://circleci.com/api/v1.1/project/github/xakraz/ORG_NAME/REPO_NAME?circle-token=XXXXXXXXXXX
...
> Host: circleci.com
> User-Agent: curl/7.67.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Type: text/html;charset=utf-8
< Date: Wed, 04 Nov 2020 09:55:09 GMT
Rather:
curl -v -X GET "https://circleci.com/api/v1.1/project/github//ORG_NAME/REPO_NAME?circle-token=XXXXXXXXXXX
...
> Host: circleci.com
> User-Agent: curl/7.67.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Access-Control-Allow-Origin: *
< Content-Type: text/plain;charset=utf-8
< Date: Wed, 04 Nov 2020 10:02:23 GMT
So my question is, where can I suggest an update to the documentation ?
Thanks