Approve a bounty submission. Optionally specify a custom reward amount.
Python
from dub import Dub with Dub( token="DUB_API_KEY", ) as d_client: res = d_client.bounties.approve_submission(request={ "bounty_id": "<id>", "submission_id": "<id>", }) # 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 approved bounty submission.
Show child attributes
draft
submitted
approved
rejected
Was this page helpful?