Fetch/Allow project settings via API
C
Cameron [not provided]
I'm wanting to enforce across my organisation that open source projects doesn't allow to build from forks, and to only build from PR.
I'm thinking I need to scape my projects within with my org, check if they have 'only build from PR' allowed, and then alarm from it (and ideally rectify it).
O
Olaf Molenveld
Hi Cameron, i'm the product manager of our public API.
We are looking for your feedback while we are improving and expanding our public APIs.
We have just released several new API v2 endpoints that help in the automated creation and configuration of projects through our API v2.
You can find more info here:
https://discuss.circleci.com/t/create-follow-project-v2-api-endpoint-now-in-open-preview/49953
and
https://discuss.circleci.com/t/project-settings-api-v2-endpoints-now-in-open-preview/49999
Please let us know what you think, all feedback is welcome!