fossa_get_revision_attribution_json
Fetches a revision's attribution report as structured JSON for programmatic use. Customize the output with options for dependencies, vulnerabilities, and copyrights.
Instructions
Return a revision's attribution report as structured JSON.
Prefer this over the rendered formats when the answer will be reasoned about
rather than handed to a person. api_version="v1" calls the legacy path,
which takes the same options and differs only in response shape.
Requires a Premium subscription; other organizations get a 403. The response shape is not declared in the OpenAPI spec, so it is passed through as FOSSA returns it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | No | ||
| api_version | No | v2 | |
| project_locator | Yes | ||
| revision_locator | Yes | ||
| include_file_matches | No | ||
| include_notice_files | No | ||
| exclude_package_labels | No | ||
| include_copyright_list | No | ||
| include_package_labels | No | ||
| include_deep_dependencies | No | ||
| include_open_vulnerabilities | No | ||
| include_hash_and_version_data | No | ||
| include_closed_vulnerabilities | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||