Skip to content

Instantly share code, notes, and snippets.

@luisffc
Created December 12, 2022 21:34
Show Gist options
  • Save luisffc/b5d15b4836db28d8797228bef8b58d52 to your computer and use it in GitHub Desktop.
Save luisffc/b5d15b4836db28d8797228bef8b58d52 to your computer and use it in GitHub Desktop.
Scope and params of Circle CI API endpoints we use for the SP plugin
API v1 endpoints:
project
- list:
- limited to projects you follow
- lists across your organizations
- get: not available on v1
build
- list:
- limited to projects you follow
- lists across your organizations
- list (per project):
- NOT limited to projects you follow
- get:
- params: org slug + project + build number
- NOT limited to projects you follow
orb
- list:
- public library
- private library: only those your orgs owns
API v2 endpoints:
project
- list: removed on v2
- get:
- NOT limited to projects you follow
pipeline
- list:
- requires org slug param
- limited to projects you follow
- limited to latest 250
- get:
- requires org slug param
- NOT limited to projects you follow
workflow
- list:
- requires pipeline id
- NOT limited to projects you follow
- get:
- requires workspace id
- NOT limited to projects you follow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment