List Fossabot Dependency Upgrade PRs
https://app.fossa.com/api/fossabot/dependency-upgrade-prsOne cursor-paginated slice of fossabot dependency-upgrade PRs for a project's repository. Provide either first (with optional after) or last (with optional before). A project that is not a fossabot-connected GitHub repository reads as an empty connection.
Query parameters
projectLocatorstringrequiredThe project whose repository's PRs to list.
firstintegerNumber of PRs to return while traversing forward. Cannot be combined with last or before.
afterstringOpaque end cursor from the preceding forward slice. Requires first.
lastintegerNumber of PRs to return while traversing backward. Cannot be combined with first or after.
beforestringOpaque start cursor from the following backward slice. Requires last.
stateenumFilter by VCS state.
opendraftclosedmergedsearchstringFilter PRs by title.
sortenumSort order; newest first by default.
newestoldestResponses
200One cursor-paginated slice of fossabot PRs.nodesobject[]requiredtitlestringrequiredprNumberinteger | nullrequiredvcsUrlstring | nullrequiredfossabotUrlstring | nullrequiredPR detail page in the fossabot app. Null when fossabot did not give one.
stateenumrequiredopendraftclosedmergedanalysisBadgeenumrequiredscanninganalyzedneedsReviewnullinitiatedByUserIdinteger | nullrequiredFOSSA user id of the initiator; null for automated PRs.
initiatedByNamestring | nullrequiredDisplay name of the initiator; null for automated PRs and for ids with no user in the calling organization.
openedAtstring <date-time>requiredclosedAtstring | null <date-time>requiredmergedAtstring | null <date-time>requiredpageInfoobjectrequiredCursor metadata for the requested traversal direction. Clients should retain cursors from visited slices to navigate back to them.
startCursorstring | nullrequiredendCursorstring | nullrequiredhasNextPagebooleanrequiredFor forward requests, whether another forward slice exists. Always false for backward requests.
hasPreviousPagebooleanrequiredFor backward requests, whether another backward slice exists. Always false for forward requests.
400Bad RequestuuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
403The fossabot feature is not enabled or the caller lacks permission.uuidstringUnique identifier associated with the error
codeintegerfossa specific error code
messagestringmessage associated with this error
namestringname of the error
httpStatusCodeintegerhttp status code number
404The project does not exist in the calling organization.uuidstringUnique 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/fossabot/dependency-upgrade-prscurl --request GET \ --url 'https://app.fossa.com/api/fossabot/dependency-upgrade-prs' \ --header 'accept: application/json' \ --header 'authorization: Bearer YOUR_API_TOKEN'Real request. Mutating methods can change data.
Query params
projectLocatorstringrequiredThe project whose repository's PRs to list.
firstintegerNumber of PRs to return while traversing forward. Cannot be combined with last or before.
afterstringOpaque end cursor from the preceding forward slice. Requires first.
lastintegerNumber of PRs to return while traversing backward. Cannot be combined with first or after.
beforestringOpaque start cursor from the following backward slice. Requires last.
stateenumFilter by VCS state.
searchstringFilter PRs by title.
sortenumSort order; newest first by default.