v1

latestOpenAPI 3.1.02026-07-24261240.7 KB
Repositories

Get Status of Project Repository

Returns the status of a repository and whether it was assigned and/or shared to a project, to multiple projects, or to all projects.

Note: When you assign a resource to a project, the project owns and manages the resource. When you share a resource with a project, the project does not own the resource.

Security: Requires Platform Admin privileges.

get/access/api/v1/projects/_/repositories/{repoName}

Path parameters

repoNamestring required

The repository name

Response

Success

resource_namestring

The repository name

assigned_tostring

The project key the repository is assigned to

environmentsstring[]

Environments the repository belongs to

shared_with_projectsstring[]

List of project keys the repository is shared with

shared_with_all_projectsboolean

Whether the repository is shared with all projects

shared_read_onlyboolean

Whether the repository is shared as read-only