Skip to content

Added classic_policy_set parameter to the Create project API endpoint #3385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/enterprise-api-ref/build-api.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ A project is a set of CFEngine Build modules and custom files/json/policy files.
* **sshKeyId** *(integer)*
Generated SSH private key ID by [SSH keys API][SSH keys API#Generate SSH key] for authentication to the repository.
Required when authentication type is `private_key` and `sshPrivateKey` is not set.
* **classic_policy_set** *(boolean)*
The flag that indicates whether the build project is classic policy set (not cfbs) or not.

**Note:** the SSH key is expected to be in openssh(rfc4716) format as generated by [SSH Keys API][SSH keys API#Generate SSH key] or a command line like:

Expand Down