Set repository open source
set_repository_open_sourceMark a repository already connected to a project as the project's open source repository, or take the mark off. Marking asks its host, without a token, whether anybody can read it and under which licence, and is refused for a private one. Taking the mark off the last marked repository of a public project closes the project to readers outside at once, as the screen does — confirm with the person first. Only the project's lead, a board administrator or a company admin may; both are written to the company's journal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| openSource | Yes | true to mark it open source, false to take the mark off. | |
| projectKey | Yes | Key of the project, e.g. 'LIB'. | |
| repository | Yes | The repository: its id from list_repositories, or its path, e.g. 'owner/repo'. |