Get Global Issues CSV
https://app.fossa.com/api/v2/issues/csv/globalDownload the global issues report (CSV) or submit it for background processing. Requires the `Create` permission on either `OrganizationReport` or `TeamReport`; requests from users without one of these permissions are rejected with a `403`.
Query parameters
emailbooleanWhen provided, we will submit the report for background processing and deliver via email when ready. Otherwise the report will be streamed via API
teamIdsstring | string[] | enumScope the report to one or more team IDs. Accepts a single team ID, an array of team IDs, or the literal string `"null"`. Invalid (non-integer) team IDs are rejected with a `400`. Ignored for organizations on the free tier.
Responses
200CSV report (as a zip file) or background task metadataidintegerUnique identifier for the task
taskstringName of the task being run
jobTokenstringToken used to poll for the task's status and result
statusenumCurrent status of the task
CREATEDASSIGNEDRUNNINGSUCCEEDEDFAILEDattempt_numberintegerNumber of times the task has been attempted
maxRetriesinteger | nullMaximum number of retries permitted for the task
startedstring | null <date-time>When the task started running, or null if it has not started
finishedstring | null <date-time>When the task finished, or null if it has not finished
scheduledStartTimestring | null <date-time>When the task is scheduled to start, or null
podstring | nullIdentifier of the pod running the task, or null
contextobjectTask-specific context payload
createdAtstring <date-time>When the task record was created
updatedAtstring <date-time>When the task record was last updated
400Bad RequestuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
403ForbiddenuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
500Server ErroruuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
Try this endpoint
Build a request and run it against app.fossa.com.
Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.
GET https://app.fossa.com/api/v2/issues/csv/globalcurl --request GET \ --url 'https://app.fossa.com/api/v2/issues/csv/global' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN'Real request. Mutating methods can change data.
Query params
emailbooleanWhen provided, we will submit the report for background processing and deliver via email when ready. Otherwise the report will be streamed via API
teamIdsstringScope the report to one or more team IDs. Accepts a single team ID, an array of team IDs, or the literal string `"null"`. Invalid (non-integer) team IDs are rejected with a `400`. Ignored for organizations on the free tier.