Get Issue Counts
https://app.fossa.com/api/issue_countsFetch the daily issue counts based on provided filters.
Query parameters
startstring <date-time>The start date to pull Issue Overview data for. Defaults to 30 days before the end date.
endstring <date-time>The start date to pull Issue Overview data for. Defaults to the current date and time.
labels[]integer[]The project labels to filter Issue Overview data to.
categoryenumThe issue category to filter Issue Overview data to. If no category is chosen, it will fetch data for all issue categories.
licensingvulnerabilityqualityprojectIdstringThe specific project ID to filter Issue Overview data to.
teamIdstring | number[]Filter by one or more team IDs. Providing "null" will return all unassigned projects.
Responses
200Okaycountsobject[]requiredAn array of daily issue count summaries.
datestring <date-time>activeintegerignoredintegerremediatedintegertotalProjectsintegerrequiredlicensingobjecttypeobjectpolicy_conflictintegerpolicy_flagintegerunlicensed_dependencyintegerstatusobjectactiveintegerignoredintegerremediatedintegervulnerabilityobjecttypeobjectcriticalintegerhighintegermediumintegerlowintegerunknownintegerstatusobjectactiveintegerignoredintegerremediatedintegerqualityobjecttypeobjectoutdated_dependencyintegerblacklisted_dependencyintegerrisk_abandonwareintegerrisk_empty-packageintegerrisk_native-codeintegerstatusobjectactiveintegerignoredintegerremediatedinteger400Bad 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
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/issue_countscurl --request GET \ --url 'https://app.fossa.com/api/issue_counts' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN'Real request. Mutating methods can change data.
Query params
startstringThe start date to pull Issue Overview data for. Defaults to 30 days before the end date.
endstringThe start date to pull Issue Overview data for. Defaults to the current date and time.
labels[]arrayThe project labels to filter Issue Overview data to.
categoryenumThe issue category to filter Issue Overview data to. If no category is chosen, it will fetch data for all issue categories.
projectIdstringThe specific project ID to filter Issue Overview data to.
teamIdstringFilter by one or more team IDs. Providing "null" will return all unassigned projects.