Contributor

Endpoints for contributor operations.

Apply to a bounty

post
Authorizations
Body
bountyIdstringRequired
Responses
200
Application submitted
post
POST /api/contributor/apply HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "bountyId": "text"
}
200

Application submitted

No content

Submit work for a bounty

post
Authorizations
Body
bountyIdstringRequired
submittedLinkstring · uriRequired
Responses
200
Work submitted
post
POST /api/contributor/submit HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 57

{
  "bountyId": "text",
  "submittedLink": "https://example.com"
}
200

Work submitted

No content

Fetch available bounties

get
Authorizations
Path parameters
uidstringRequired
Responses
200
List of bounties
get
GET /api/contributor/bounties/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

List of bounties

No content

Get contributor profile

get
Authorizations
Path parameters
uidstringRequired
Responses
200
Contributor profile
get
GET /api/contributor/profile/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Contributor profile

No content

Update contributor profile

put
Authorizations
Path parameters
uidstringRequired
Body
namestringOptional
emailstring · emailOptional
linkedinstring · uriOptional
portfoliostring · uriOptional
roleTitlestringOptional
skillsstringOptional
Responses
200
Profile updated
put
PUT /api/contributor/profile/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 142

{
  "name": "text",
  "email": "[email protected]",
  "linkedin": "https://example.com",
  "portfolio": "https://example.com",
  "roleTitle": "text",
  "skills": "text"
}
200

Profile updated

No content

Unassign from a bounty

put
Authorizations
Body
bountyIdstringRequired
Responses
200
Unassigned
put
PUT /api/contributor/unassign HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "bountyId": "text"
}
200

Unassigned

No content

List contributor payments

get
Authorizations
Path parameters
uidstringRequired
Responses
200
Payment history
get
GET /api/contributor/payments/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Payment history

No content

View contributor analytics

get
Authorizations
Path parameters
uidstringRequired
Responses
200
Analytics information
get
GET /api/contributor/analytics/{uid} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Analytics information

No content

Last updated