Skip to main content

Get Organization Project

Get one project of the organization by project ID.

Basic Parameters

ParameterDescription
Organization IDThe ID of the org to which the project belongs to.
Project IDThe ID of the project.

Advanced Parameters

ParameterDescription
ExpandExpand relationships.

Example Output

{
"data": {
"attributes": {
"build_args": {
"root_workspace": "string"
},
"business_criticality": [
"medium"
],
"created": "2021-05-29T09:50:54.014Z",
"environment": [
"external",
"hosted"
],
"lifecycle": [
"production"
],
"name": "snyk/goof",
"origin": "github",
"settings": {
"auto_dependency_upgrade": {
"ignored_dependencies": [
"typescript"
],
"is_enabled": true,
"is_inherited": true,
"is_major_upgrade_enabled": true,
"limit": 10,
"minimum_age": 365
},
"auto_remediation_prs": {
"is_backlog_prs_enabled": true,
"is_fresh_prs_enabled": true,
"is_patch_remediation_enabled": true
},
"manual_remediation_prs": {
"is_patch_remediation_enabled": true
},
"pull_request_assignment": {
"assignees": [
"my-github-username"
],
"is_enabled": true,
"type": "auto"
},
"pull_requests": {
"fail_only_for_issues_with_fix": true,
"policy": "all",
"severity_threshold": "high"
},
"recurring_tests": {
"frequency": "daily"
}
},
"status": "active",
"tags": [
{
"key": "tag-key",
"value": "tag-value"
}
],
"target_file": "package.json",
"target_reference": "main",
"target_runtime": "string",
"type": "maven"
},
"id": "1892a820-0520-4000-8779-ae3cc31a4c01",
"meta": {
"cli_monitored_at": "2021-05-29T09:50:54.014Z"
},
"relationships": {
"importer": {
"data": {
"id": "4a72d1db-b465-4764-99e1-ecedad03b06a",
"type": "resource"
},
"links": {
"related": {
"href": "https://example.com/api/resource/4a72d1db-b465-4764-99e1-ecedad03b06a"
}
}
},
"organization": {
"data": {
"id": "4a72d1db-b465-4764-99e1-ecedad03b06a",
"type": "resource"
},
"links": {
"related": {
"href": "https://example.com/api/resource/4a72d1db-b465-4764-99e1-ecedad03b06a"
}
}
},
"owner": {
"data": {
"id": "4a72d1db-b465-4764-99e1-ecedad03b06a",
"type": "resource"
},
"links": {
"related": {
"href": "https://example.com/api/resource/4a72d1db-b465-4764-99e1-ecedad03b06a"
}
}
},
"target": {
"data": {
"id": "4a72d1db-b465-4764-99e1-ecedad03b06a",
"type": "resource"
},
"links": {
"related": {
"href": "https://example.com/api/resource/4a72d1db-b465-4764-99e1-ecedad03b06a"
}
}
}
},
"type": "project"
},
"jsonapi": {
"version": "1.0"
},
"links": {
"first": "https://example.com/api/resource",
"last": "https://example.com/api/resource",
"next": "https://example.com/api/resource",
"prev": "https://example.com/api/resource",
"related": "https://example.com/api/resource",
"self": "https://example.com/api/resource"
}
}

Workflow Library Example

Get Organization Project with Snyk and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop