from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.bounties.list_submissions(request={
"bounty_id": "<id>",
"page_size": 50,
})
# Handle response
print(res)[
{
"id": "<string>",
"bountyId": "<string>",
"partnerId": "<string>",
"description": "<string>",
"urls": [
"<string>"
],
"files": [
{
"url": "<string>",
"fileName": "<string>",
"size": 123
}
],
"status": "draft",
"performanceCount": 123,
"createdAt": "<string>",
"completedAt": "<string>",
"reviewedAt": "<string>",
"rejectionReason": "<string>",
"rejectionNote": "<string>"
}
]List all submissions for a specific bounty.
from dub import Dub
with Dub(
token="DUB_API_KEY",
) as d_client:
res = d_client.bounties.list_submissions(request={
"bounty_id": "<id>",
"page_size": 50,
})
# Handle response
print(res)[
{
"id": "<string>",
"bountyId": "<string>",
"partnerId": "<string>",
"description": "<string>",
"urls": [
"<string>"
],
"files": [
{
"url": "<string>",
"fileName": "<string>",
"size": 123
}
],
"status": "draft",
"performanceCount": 123,
"createdAt": "<string>",
"completedAt": "<string>",
"reviewedAt": "<string>",
"rejectionReason": "<string>",
"rejectionNote": "<string>"
}
]Default authentication mechanism
The status of the submissions to list.
draft, submitted, approved, rejected The ID of the group to list submissions for.
The ID of the partner to list submissions for.
The field to sort the submissions by.
completedAt, performanceCount The order to sort the submissions by.
asc, desc The page number for pagination.
x > 01
The number of items per page.
0 < x <= 10050
The list of bounty submissions.
Show child attributes
draft, submitted, approved, rejected Was this page helpful?