{"action":"created","comment":{"url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/comments/41222596","id":41222596,"diff_hunk":"@@ -0,0 +1,320 @@\n+# Getting started with the Marketplacer API\n+\n+The Marketplacer API allows developers to connect in to a Marketplacer store on sites such as BikeExchange ([bikeexchange.com.au](https://bikeexchange.com.au)), Tinitrader ([tinitrader.com.au](https://tinitrader.com.au)) and House of Home ([houseofhome.com.au](https://houseofhome.com.au)).\n+\n+This tutorial will cover the steps required to create an advert and a variant on a Bike Exchange store using the Marketplacer API.\n+\n+The first thing that is required to connect to the API is an API key. You can get one of these by logging into your store on a Marketplacer site, then clicking \"API Documentation\" near the bottom of the sidebar:\n+\n+![API Documentation link](/images/getting_started/api-documentation-link.png)\n+\n+After you click this link, you will see the \"API Access & Documentation\" page.\n+\n+![API Documentation](/images/getting_started/api-access-page.png)\n+\n+Clicking \"Generate API Key\" on this page will generate your API key and display it to you, along with the endpoint that you must use to access the API.\n+\n+![API key generated](/images/getting_started/api-key-generated.png)\n+\n+We'll make our first request to the API with the API key and endpoint now.\n+\n+## Testing our API key\n+\n+Before we go creating new adverts, let's make sure that our API key works first. To do that, we'll make a call to the API to retrieve adverts for our new account. To make that request, we'll use the endpoint and API key that we just saw, along with the `curl` command.\n+\n+    curl -H \"Authorization: Bearer 471dfba...\" \\\n+      https://www.bikeexchange.com.au/api/v2/client/adverts \n+\n+In the first part of this command, we're passing an `Authorization` header through. This is done so that the API knows who we are. At the end of the command, we specify the URL that we would like to request. When we make this request, we'll see this response:\n+\n+    {\"data\":[]}\n+\n+Or, if your account has adverts already, you will see those adverts returned along with some `links` metadata. This metadata is explained further in [the API documentation](http://api.marketplacer.com/v2/adverts/)\n+\n+Now that we have confirmed that our API key is working, let's go about creating an advert.\n+\n+## Creating an advert\n+\n+In this section, we'll add a new advert to Bike Exchange. The advert will be for a Giant Cypress DX 2015 bike, which is a hybrid bike.\n+\n+Before we can issue a request to the API to create an advert, we will first need to do a lookup for the relevant taxon and brand slugs. A taxon in Marketplacer can be thought of as a category for the advert. A brand, well, you probably know what that is. We cannot create an advert without linking it to both a brand and a taxon.\n+\n+Note: We don't need to do a request for both taxons and brands if we know their slugs already. For instance, if we want to create another Giant hybrid bike, then we could just make the request to create the advert without making requests for the brands and taxons again.\n+\n+The taxon that we'll be looking for is the \"Hybrid Bikes\" taxon. We can search for it by issuing a request like this:\n+\n+    curl -H \"Authorization: Bearer 471dfba...\" \\\n+      https://www.bikeexchange.com.au/api/v2/taxons/search?name=Hybrid%20Bi\n+\n+Take note: The `name` parameter here is URI-encoded. We've used a partial name here to demonstrate that the taxon search endpoint matches on the beginning of the name. This request will return a list of taxons that best match the search terms:\n+\n+<%= json \\\n+  data: [\n+    {\n+      type: \"taxons\",\n+      id: \"4\",\n+      attributes: {\n+        name: \"Hybrid Bikes\",\n+        tree_name: \"Bikes - Hybrid Bikes\",\n+        slug: \"hybrid-bikes\"\n+      }\n+    }\n+  ]\n+%>\n+\n+You must select from these the taxon that best matches your product.\n+\n+We must now do a similar request to get our brand; this time to `/api/v2/brands/search`.\n+\n+    curl -H \"Authorization: Bearer 471dfba...\" \\\n+      https://www.bikeexchange.com.au/api/v2/brands/search?name=Giant\n+\n+The response we'll look very similar to the taxon response:\n+\n+<%= json \\\n+  data: [\n+    {\n+      type: \"brands\",\n+      id: \"42\",\n+      attributes: {\n+        name: \"Giant\",\n+        slug: \"Giant\"\n+      }\n+    }\n+  ]\n+%>\n+\n+Now that we know the correct brand and taxon slugs, we can create our advert. The bike that we're selling is a Giant Cypress DX 2015; a hybrid bike. We'll sell it for $499 and its in mint condition. With all that in mind, we can build a request to create a bike. This request will be a `POST` request.\n+\n+    curl -i \\\n+      -H \"Authorization: Bearer 471dfba...\" \\\n+      -H \"Content-Type: application/vnd.api+json\" \\\n+      https://www.bikeexchange.com.au/api/v2/client/adverts -d '\n+    {\n+      \"data\": {\n+        \"type\": \"adverts\",\n+        \"attributes\": {\n+          \"title\": \"Giant Cypress DX\",\n+          \"description\": \"Smooth-rolling 700c wheels give Cypress...\",\n+          \"price\": 499,\n+          \"condition\": \"new\",\n+          \"taxon_slug\": \"hybrid-bikes\",\n+          \"brand_slug\": \"giant\",\n+        }\n+      }\n+    }'\n+\n+One thing to note about this request is that we're passing through a `Content-Type` header as well as our typical `Authorization` header. This `Content-Type` header needs to be passed through so that the Marketplacer server knows that we're submitting a JSON blob. `POST` and `PUT` requests that do not use this header will show an error message.\n+\n+When this request finishes, we'll see at the top that this request was successful:\n+\n+    HTTP/1.1 200 OK\n+\n+Underneath, we'll see a JSON representation of the advert that was just created:\n+\n+\n+<%= json \\\n+  links: {\n+    self: \"https://www.bikeexchange.com.au/api/v2/client/adverts/102743768-giant-giant-cypress-dx\"\n+  },\n+  data: {\n+    type: \"adverts\",\n+    id: \"102743768\",\n+    attributes: {\n+      title: \"Giant Cypress DX\",\n+      description: \"Smooth-rolling 700c wheels give Cypress...\",\n+      sale_type: \"classified\",\n+      published: false,\n+      code: \"\"\n+    }\n+  }\n+%>\n+\n+Note that the `published` field here has a value of `false`. This means that the advert is not yet visible on the site. We can toggle this advert to be published by making this request:\n+\n+    curl -i -X PUT -H \"Authorization: Bearer 471dfba...\" \\\n+      -H \"Content-Type: application/vnd.api+json\"\n+      https://www.bikeexchange.com.au/api/v2/client/adverts/102743768 \\\n+      -d '{ \"data\": { \"published\": true } }'\n+\n+A couple of things to note about this request:\n+\n+1. We're using `-X PUT`. This changes the method of the request to be `PUT` rather than `POST`. Using a `POST` here will return a 404 from the server instead.","path":"content/v2/getting_started.md","position":142,"original_position":142,"commit_id":"570b7be441d0690121ff7584f2b72f980edebd28","original_commit_id":"570b7be441d0690121ff7584f2b72f980edebd28","user":{"login":"dnl","id":295007,"avatar_url":"https://avatars.githubusercontent.com/u/295007?v=3","gravatar_id":"","url":"https://api.github.com/users/dnl","html_url":"https://github.com/dnl","followers_url":"https://api.github.com/users/dnl/followers","following_url":"https://api.github.com/users/dnl/following{/other_user}","gists_url":"https://api.github.com/users/dnl/gists{/gist_id}","starred_url":"https://api.github.com/users/dnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnl/subscriptions","organizations_url":"https://api.github.com/users/dnl/orgs","repos_url":"https://api.github.com/users/dnl/repos","events_url":"https://api.github.com/users/dnl/events{/privacy}","received_events_url":"https://api.github.com/users/dnl/received_events","type":"User","site_admin":false},"body":"I got an HTML 404 response, I expected a JSON 404 response, formatted similarly to the 422 response.","created_at":"2015-10-06T03:17:13Z","updated_at":"2015-10-06T03:17:13Z","html_url":"https://github.com/exchangegroup/api.marketplacer.com/pull/6#discussion_r41222596","pull_request_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/comments/41222596"},"html":{"href":"https://github.com/exchangegroup/api.marketplacer.com/pull/6#discussion_r41222596"},"pull_request":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/6","id":46850923,"html_url":"https://github.com/exchangegroup/api.marketplacer.com/pull/6","diff_url":"https://github.com/exchangegroup/api.marketplacer.com/pull/6.diff","patch_url":"https://github.com/exchangegroup/api.marketplacer.com/pull/6.patch","issue_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues/6","number":6,"state":"open","locked":false,"title":"First draft of the Getting Started guide","user":{"login":"radar","id":2687,"avatar_url":"https://avatars.githubusercontent.com/u/2687?v=3","gravatar_id":"","url":"https://api.github.com/users/radar","html_url":"https://github.com/radar","followers_url":"https://api.github.com/users/radar/followers","following_url":"https://api.github.com/users/radar/following{/other_user}","gists_url":"https://api.github.com/users/radar/gists{/gist_id}","starred_url":"https://api.github.com/users/radar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radar/subscriptions","organizations_url":"https://api.github.com/users/radar/orgs","repos_url":"https://api.github.com/users/radar/repos","events_url":"https://api.github.com/users/radar/events{/privacy}","received_events_url":"https://api.github.com/users/radar/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-06T00:29:47Z","updated_at":"2015-10-06T03:17:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc446826fb5a7b9d06a577b392f440f3e3aae5f6","assignee":{"login":"dnl","id":295007,"avatar_url":"https://avatars.githubusercontent.com/u/295007?v=3","gravatar_id":"","url":"https://api.github.com/users/dnl","html_url":"https://github.com/dnl","followers_url":"https://api.github.com/users/dnl/followers","following_url":"https://api.github.com/users/dnl/following{/other_user}","gists_url":"https://api.github.com/users/dnl/gists{/gist_id}","starred_url":"https://api.github.com/users/dnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnl/subscriptions","organizations_url":"https://api.github.com/users/dnl/orgs","repos_url":"https://api.github.com/users/dnl/repos","events_url":"https://api.github.com/users/dnl/events{/privacy}","received_events_url":"https://api.github.com/users/dnl/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/6/commits","review_comments_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/6/comments","review_comment_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues/6/comments","statuses_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/statuses/570b7be441d0690121ff7584f2b72f980edebd28","head":{"label":"exchangegroup:getting_started","ref":"getting_started","sha":"570b7be441d0690121ff7584f2b72f980edebd28","user":{"login":"exchangegroup","id":7156915,"avatar_url":"https://avatars.githubusercontent.com/u/7156915?v=3","gravatar_id":"","url":"https://api.github.com/users/exchangegroup","html_url":"https://github.com/exchangegroup","followers_url":"https://api.github.com/users/exchangegroup/followers","following_url":"https://api.github.com/users/exchangegroup/following{/other_user}","gists_url":"https://api.github.com/users/exchangegroup/gists{/gist_id}","starred_url":"https://api.github.com/users/exchangegroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exchangegroup/subscriptions","organizations_url":"https://api.github.com/users/exchangegroup/orgs","repos_url":"https://api.github.com/users/exchangegroup/repos","events_url":"https://api.github.com/users/exchangegroup/events{/privacy}","received_events_url":"https://api.github.com/users/exchangegroup/received_events","type":"Organization","site_admin":false},"repo":{"id":40164859,"name":"api.marketplacer.com","full_name":"exchangegroup/api.marketplacer.com","owner":{"login":"exchangegroup","id":7156915,"avatar_url":"https://avatars.githubusercontent.com/u/7156915?v=3","gravatar_id":"","url":"https://api.github.com/users/exchangegroup","html_url":"https://github.com/exchangegroup","followers_url":"https://api.github.com/users/exchangegroup/followers","following_url":"https://api.github.com/users/exchangegroup/following{/other_user}","gists_url":"https://api.github.com/users/exchangegroup/gists{/gist_id}","starred_url":"https://api.github.com/users/exchangegroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exchangegroup/subscriptions","organizations_url":"https://api.github.com/users/exchangegroup/orgs","repos_url":"https://api.github.com/users/exchangegroup/repos","events_url":"https://api.github.com/users/exchangegroup/events{/privacy}","received_events_url":"https://api.github.com/users/exchangegroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exchangegroup/api.marketplacer.com","description":"API documentation for Marketplacer","fork":false,"url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com","forks_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/forks","keys_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/teams","hooks_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/hooks","issue_events_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues/events{/number}","events_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/events","assignees_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/assignees{/user}","branches_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/branches{/branch}","tags_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/tags","blobs_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/statuses/{sha}","languages_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/languages","stargazers_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/stargazers","contributors_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/contributors","subscribers_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/subscribers","subscription_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/subscription","commits_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/contents/{+path}","compare_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/merges","archive_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/downloads","issues_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues{/number}","pulls_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls{/number}","milestones_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/milestones{/number}","notifications_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/labels{/name}","releases_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/releases{/id}","created_at":"2015-08-04T05:17:34Z","updated_at":"2015-09-10T02:14:18Z","pushed_at":"2015-10-06T00:29:48Z","git_url":"git://github.com/exchangegroup/api.marketplacer.com.git","ssh_url":"git@github.com:exchangegroup/api.marketplacer.com.git","clone_url":"https://github.com/exchangegroup/api.marketplacer.com.git","svn_url":"https://github.com/exchangegroup/api.marketplacer.com","homepage":null,"size":29854,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"exchangegroup:master","ref":"master","sha":"2b868a3d384281d0a68f4df044c4a8594ce85635","user":{"login":"exchangegroup","id":7156915,"avatar_url":"https://avatars.githubusercontent.com/u/7156915?v=3","gravatar_id":"","url":"https://api.github.com/users/exchangegroup","html_url":"https://github.com/exchangegroup","followers_url":"https://api.github.com/users/exchangegroup/followers","following_url":"https://api.github.com/users/exchangegroup/following{/other_user}","gists_url":"https://api.github.com/users/exchangegroup/gists{/gist_id}","starred_url":"https://api.github.com/users/exchangegroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exchangegroup/subscriptions","organizations_url":"https://api.github.com/users/exchangegroup/orgs","repos_url":"https://api.github.com/users/exchangegroup/repos","events_url":"https://api.github.com/users/exchangegroup/events{/privacy}","received_events_url":"https://api.github.com/users/exchangegroup/received_events","type":"Organization","site_admin":false},"repo":{"id":40164859,"name":"api.marketplacer.com","full_name":"exchangegroup/api.marketplacer.com","owner":{"login":"exchangegroup","id":7156915,"avatar_url":"https://avatars.githubusercontent.com/u/7156915?v=3","gravatar_id":"","url":"https://api.github.com/users/exchangegroup","html_url":"https://github.com/exchangegroup","followers_url":"https://api.github.com/users/exchangegroup/followers","following_url":"https://api.github.com/users/exchangegroup/following{/other_user}","gists_url":"https://api.github.com/users/exchangegroup/gists{/gist_id}","starred_url":"https://api.github.com/users/exchangegroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exchangegroup/subscriptions","organizations_url":"https://api.github.com/users/exchangegroup/orgs","repos_url":"https://api.github.com/users/exchangegroup/repos","events_url":"https://api.github.com/users/exchangegroup/events{/privacy}","received_events_url":"https://api.github.com/users/exchangegroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exchangegroup/api.marketplacer.com","description":"API documentation for Marketplacer","fork":false,"url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com","forks_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/forks","keys_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/teams","hooks_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/hooks","issue_events_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues/events{/number}","events_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/events","assignees_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/assignees{/user}","branches_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/branches{/branch}","tags_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/tags","blobs_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/statuses/{sha}","languages_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/languages","stargazers_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/stargazers","contributors_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/contributors","subscribers_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/subscribers","subscription_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/subscription","commits_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/contents/{+path}","compare_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/merges","archive_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/downloads","issues_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues{/number}","pulls_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls{/number}","milestones_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/milestones{/number}","notifications_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/labels{/name}","releases_url":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/releases{/id}","created_at":"2015-08-04T05:17:34Z","updated_at":"2015-09-10T02:14:18Z","pushed_at":"2015-10-06T00:29:48Z","git_url":"git://github.com/exchangegroup/api.marketplacer.com.git","ssh_url":"git@github.com:exchangegroup/api.marketplacer.com.git","clone_url":"https://github.com/exchangegroup/api.marketplacer.com.git","svn_url":"https://github.com/exchangegroup/api.marketplacer.com","homepage":null,"size":29854,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/6"},"html":{"href":"https://github.com/exchangegroup/api.marketplacer.com/pull/6"},"issue":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues/6"},"comments":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/exchangegroup/api.marketplacer.com/statuses/570b7be441d0690121ff7584f2b72f980edebd28"}}}}