Skip to content

Commit

Permalink
Gitcoin docs fixes (#5307)
Browse files Browse the repository at this point in the history
  • Loading branch information
Solexplorer authored Nov 22, 2019
1 parent 005935d commit 096a278
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 096a278

Please sign in to comment.