Projects

circle-info

이 문서는 REST API를 설명합니다. 자세한 내용은 API 인증 페이지를 참조하십시오.

참고: 프로젝트 유형 목록은 API의 프로젝트 유형 응답을 참조하십시오.

List all Projects for an Org with the given Org ID.

get

List all Projects for an Org.

Required permissions

  • View Projects (org.project.read)
Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
org_idstring · uuidRequired

The ID of the org that the projects belong to.

Query parameters
target_idstring · uuid[]Optional

Return projects that belong to the provided targets

target_referencestringOptional

Return projects that match the provided target reference

target_filestringOptional

Return projects that match the provided target file

target_runtimestringOptional

Return projects that match the provided target runtime

meta_countstring · enumOptional

The collection count.

Possible values:
idsstring · uuid[]Optional

Return projects that match the provided IDs.

namesstring[]Optional

Return projects that match the provided names.

names_start_withstring[]Optional

Return projects with names starting with the specified prefix.

originsstring[]Optional

Return projects that match the provided origins.

typesstring[]Optional

Return projects that match the provided types.

meta.latest_issue_countsbooleanOptional

Include a summary count for the issues found in the most recent scan of this project

meta.latest_dependency_totalbooleanOptional

Include the total number of dependencies found in the most recent scan of this project

cli_monitored_beforestring · date-timeOptional

Filter projects uploaded and monitored before this date (encoded value)

Example: 2021-05-29T09:50:54.014Z
cli_monitored_afterstring · date-timeOptional

Filter projects uploaded and monitored after this date (encoded value)

Example: 2021-05-29T09:50:54.014Z
importing_user_public_idstring[]Optional

Return projects that match the provided importing user public ids.

tagsstring[]Optional

Return projects that match all the provided tags

Example: ["key1:value1","key2:value2"]
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
starting_afterstringOptional

Return the page of results immediately after this cursor

Example: v1.eyJpZCI6IjEwMDAifQo=
ending_beforestringOptional

Return the page of results immediately before this cursor

Example: v1.eyJpZCI6IjExMDAifQo=
limitinteger · int32 · min: 10 · max: 100Optional

Number of results to return per page

Default: 10Example: 10
Responses
chevron-right
200

A list of projects is returned for the targeted org

application/vnd.api+json
get
/orgs/{org_id}/projects

Updates project by project ID.

patch

Updates one project of the organization by project ID.

Required permissions

  • View Organization (org.read)

  • View Projects (org.project.read)

  • Edit Projects (org.project.edit)

Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
org_idstring · uuidRequired

The ID of the Org the project belongs to.

project_idstring · uuidRequired

The ID of the project to patch.

Query parameters
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Body
Responses
chevron-right
200

A project is updated for the targeted org

application/vnd.api+json
patch
/orgs/{org_id}/projects/{project_id}

Get project by project ID.

get

Get one project of the organization by project ID.

Required permissions

  • View Projects (org.project.read)
Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
org_idstring · uuidRequired

The ID of the org to which the project belongs to.

project_idstring · uuidRequired

The ID of the project.

Query parameters
meta.latest_issue_countsbooleanOptional

Include a summary count for the issues found in the most recent scan of this project

meta.latest_dependency_totalbooleanOptional

Include the total number of dependencies found in the most recent scan of this project

versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
chevron-right
200

A project is returned for the targeted org

application/vnd.api+json
get
/orgs/{org_id}/projects/{project_id}

Delete project by project ID.

delete

Delete one project in the organization by project ID.

Required permissions

  • View Organization (org.read)

  • View Projects (org.project.read)

  • Remove Projects (org.project.delete)

Authorizations
AuthorizationstringRequired

API key value must be prefixed with "Token ".

Path parameters
org_idstring · uuidRequired

The ID of the org to which the project belongs to.

project_idstring · uuidRequired

The ID of the project.

Query parameters
versionstringRequired

Requested API version

Example: 2025-11-05Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
delete
/orgs/{org_id}/projects/{project_id}

No content

Last updated