fossa_get_component_upload_url
Generate a pre-signed URL to upload a component archive, SBOM, or binary to FOSSA. The URL expires in five minutes.
Instructions
Get a pre-signed URL for uploading a component archive, SBOM, or binary to FOSSA. The URL expires in five minutes.
Read-only: this mints an upload URL, it does not upload anything. This server cannot perform the upload either — the returned URL has to be PUT to by whoever holds the file. Call fossa_build_component afterwards to start the analysis. file_type="binary" is billing-gated and 403s when the organization is out of binary decompositions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | ||
| file_type | No | ||
| package_spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||