Skip to content

Commit

Permalink
Merge pull request #5536 from Solexplorer/patch-1
Browse files Browse the repository at this point in the history
Gitcoin docs fixes (#5307)
  • Loading branch information
thelostone-mc authored Nov 28, 2019
2 parents 8d68319 + 096a278 commit dc27e7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ Beyond simple datatypes like `string` or `integer` the API returns datatypes lik

### `bounties`

The bounties endpoint provides a listing of bounties and their current status. There are two endpoints that access bounties:
The bounties endpoint provides a listing of bounties and their current status. There is one endpoint that access bounties:

- `https://gitcoin.co/api/v0.1/bounties/` - Returns a list of bounties
- `https://gitcoin.co/api/v0.1/bounties/<bountyId>/` - Returns a single bounty by ID.

#### Fields

Expand Down Expand Up @@ -72,7 +71,8 @@ The bounties endpoint provides a listing of bounties and their current status. T

**Filters**

You can filter the data returned from the API by providing these keys as URL parameters `experience_level`, `project_length`, `bounty_type`, `bounty_owner_address`, `is_open`, and `github_url`. `github_url` can take a comma-separated list of GitHub urls
You can filter the data returned from the API by providing these keys as URL parameters `experience_level`, `project_length`, `bounty_type`, `bounty_owner_address`, `is_open`, `github_url` and `pk`. `github_url` can take a comma-separated list of GitHub urls. `pk` takes an ID and returns a single bounty.


**Order By**

Expand Down

0 comments on commit dc27e7c

Please sign in to comment.