From 096a278ddf69fe6289dd33b8200e2f49c663e24e Mon Sep 17 00:00:00 2001 From: Solexplorer <50027175+Solexplorer@users.noreply.github.com> Date: Fri, 22 Nov 2019 21:40:17 +0100 Subject: [PATCH] Gitcoin docs fixes (#5307) --- docs/API.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/API.md b/docs/API.md index 03bcd33195a..dc0e2c0433b 100644 --- a/docs/API.md +++ b/docs/API.md @@ -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//` - Returns a single bounty by ID. #### Fields @@ -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**