/components/build

Upload a component and start asynchronously building it. Only SBOM imports are supported for non-premium accounts.

Log in to see full request history
Query Params
string
required

The unresolved spec (i.e. a URL) that can be passed to a fetcher and resolved to a package id. For example:, underscore (npm), https://github.com/fossas/fossa (git), nokogiri (gem),

string
required

The branch or revision of the component project being built.

boolean
string

The project description for the archive

string

The kind of component file to be built., If 'archive', the signed URL is for uplaoding a directory of source code., If 'sbom', the signed URL is for uploading an SBOM file (CycloneDX or SPDX).,

string
string

The corresponding Jira project for this component

string
string

The URL of the project being uploaded

string

The name of the policy for this build.

number

The ID of the policy for this build.

string

The name of the team connected to the project.

string

The title of the component.

string

The title of release group to add the project to.

string

The title of release to add the project to.

labels
array of strings

Set of labels to apply to a project. If the org or the project have too many labels, then the labels will be applied in order until limits are hit.

labels
Body Params
archives
object

File upload metadata

selectedTeams
array
selectedTeams
boolean

Force a rebuild no matter what

Responses
201

Created

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json