Project API
API to manage projects, versions, and documents in Ketryx
Last updated
Was this helpful?
API to manage projects, versions, and documents in Ketryx
Last updated
Was this helpful?
Ketryx exposes an API to manage projects programmatically. There is also a formal OpenAPI specification defining this API, and a separate page about authentication and API keys.
Use this API to generate and download the SBOM document for a given project. Optionally, a certain version ID can be specified:
If no versionId
is specified, the document for the "current draft" state (corresponding to the main analyzed branch, not specific to a certain version) is downloaded.
If a versionId
is specified, the document is generated for the given version (and its corresponding release ref).
By default, the response is an Excel file in binary form (xslx
). Optionally, a format
parameter with value cyclonedx
can be used to generate and download the SBOM document in CycloneDX JSON format (specifically, CyclonedX version 1.5).
Gets a list of Ketryx projects in the current organization.
/projects
Project name to filter for
Start listing projects at the given index. Defaults to 0.
Maximum number of projects to return. Defaults to no limit.
/projects
Name of the new project
My project
Git repositories to connect to the new project
/projects/{projectId}
Object with advanced setting names as keys and a JSON value for each setting
{ "statusMapping": { "Backlog": "OPEN", "Done": "RESOLVED" } }
/projects/{projectId}/generated-documents/sbom
Ketryx version ID. If not specified, defaults to using the "current draft" state.
SBOM format to return. Defaults to "xslx".
cyclonedx
xslx
, cyclonedx