Recent Builds For A Single Project endpoint returning "No Project Found"

https://circleci.com/docs/api/#recent-builds-for-a-single-project

Using the endpoint from the above docs:

curl https://circleci.com/api/v1.1/project/github/{github username}/{project in circle}?circle-token={project level token}&limit=20&offset=5&filter=completed

Returning:

{
  "message" : "Project not found"
}

PS: I’ve also tried to create a personal API token (Under user-settings in circle), to no avail.

Answered my own question with the endpoint from above answer:

curl -X GET "https://circleci.com/api/v1.1/project/github/:org/:repo?circle-token=:token&limit=1&shallow=true"

Documents say /:vcs-type/:username/:repo… this doesn’t work. Please update docs!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.