Skip to content
Snippets Groups Projects
Commit 0296802e authored by Christopher Guindon's avatar Christopher Guindon :palm_tree:
Browse files

fix typo in api urls


Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>
parent a8f44a14
No related branches found
No related tags found
No related merge requests found
source diff could not be displayed: it is too large. Options to address this: view the blob.
FORMAT: 1A FORMAT: 1A
HOST: https://ape.gclipse.org HOST: https://api.eclipse.org
# Eclipse RESTful API # Eclipse RESTful API
This describes the resources that make up the official Eclipse Foundation REST API. This describes the resources that make up the official Eclipse Foundation REST API.
...@@ -13,13 +13,13 @@ This API currently limits users to 1000 authenticated requests and 1000 anonymou ...@@ -13,13 +13,13 @@ This API currently limits users to 1000 authenticated requests and 1000 anonymou
Information about pagination is provided in the Link header of an API call. For example, let’s make Information about pagination is provided in the Link header of an API call. For example, let’s make
a curl request to the eclipse_profile API, to find out how many org_eclipse_oomph records exist for the user: a curl request to the eclipse_profile API, to find out how many org_eclipse_oomph records exist for the user:
```curl -I "https://ape.gclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=1&pagesize=2"``` ```curl -I "https://api.eclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=1&pagesize=2"```
The -I parameter indicates that we only care about the headers, not the content. The -I parameter indicates that we only care about the headers, not the content.
In examining the result, you’ll notice some information in the Link header that looks like this: In examining the result, you’ll notice some information in the Link header that looks like this:
``` ```
<https://ape.gclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=2&amp;pagesize=2>; rel="next", <https://ape.gclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=27&amp;pagesize=2>; rel="last", <https://ape.gclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=1&amp;pagesize=2>; rel="first", <https://ape.gclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=1&amp;pagesize=2>; rel="self" <https://api.eclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=2&amp;pagesize=2>; rel="next", <https://api.eclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=27&amp;pagesize=2>; rel="last", <https://api.eclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=1&amp;pagesize=2>; rel="first", <https://api.eclipse.org/api/blob/KJBNCEW08231nkJKCEW32898239?page=1&amp;pagesize=2>; rel="self"
``` ```
Let’s break that down. rel="next" says that the next page is page=2. This makes sense, since by default, Let’s break that down. rel="next" says that the next page is page=2. This makes sense, since by default,
......
...@@ -52,7 +52,7 @@ This method returns forum post associated with a user. ...@@ -52,7 +52,7 @@ This method returns forum post associated with a user.
+ Response 200 (application/json) + Response 200 (application/json)
+ Headers + Headers
Link: <https://ape.gclipse.org/account/profile/cguindon/forum?page=1&amp;pagesize=20>; rel="last", <https://ape.gclipse.org/account/profile/cguindon/forum?page=1&amp;pagesize=20>; rel="first", <https://ape.gclipse.org/account/profile/cguindon/forum?page=1&amp;pagesize=20>; rel="self" Link: <https://api.eclipse.org/account/profile/cguindon/forum?page=1&amp;pagesize=20>; rel="last", <https://api.eclipse.org/account/profile/cguindon/forum?page=1&amp;pagesize=20>; rel="first", <https://api.eclipse.org/account/profile/cguindon/forum?page=1&amp;pagesize=20>; rel="self"
X-Rate-Limit-Limit: 1000 X-Rate-Limit-Limit: 1000
X-Rate-Limit-Remaining: 964 X-Rate-Limit-Remaining: 964
X-Rate-Limit-Reset: 3553 X-Rate-Limit-Reset: 3553
......
This diff is collapsed.
...@@ -12,7 +12,7 @@ Retrieve all favorites or retrieve favorites for a specific user. ...@@ -12,7 +12,7 @@ Retrieve all favorites or retrieve favorites for a specific user.
+ Response 200 (application/json) + Response 200 (application/json)
+ Headers + Headers
Link:<https://ape.gclipse.org/marketplace/favorites?page=2&amp;pagesize=5>; rel="next", <https://ape.gclipse.org/marketplace/favorites?page=294&amp;pagesize=5>; rel="last", <https://ape.gclipse.org/marketplace/favorites?page=1&amp;pagesize=5>; rel="first", <https://ape.gclipse.org/marketplace/favorites?page=1&amp;pagesize=5>; rel="self" Link:<https://api.eclipse.org/marketplace/favorites?page=2&amp;pagesize=5>; rel="next", <https://api.eclipse.org/marketplace/favorites?page=294&amp;pagesize=5>; rel="last", <https://api.eclipse.org/marketplace/favorites?page=1&amp;pagesize=5>; rel="first", <https://api.eclipse.org/marketplace/favorites?page=1&amp;pagesize=5>; rel="self"
X-Rate-Limit-Limit:1000 X-Rate-Limit-Limit:1000
X-Rate-Limit-Remaining:964 X-Rate-Limit-Remaining:964
X-Rate-Limit-Reset:3553 X-Rate-Limit-Reset:3553
...@@ -31,13 +31,13 @@ Fetch favorites for a specific listing on Eclipse MarketPlace. ...@@ -31,13 +31,13 @@ Fetch favorites for a specific listing on Eclipse MarketPlace.
+ Response 200 (application/json) + Response 200 (application/json)
+ Headers + Headers
Link:<https://ape.gclipse.org/marketplace/favorites/114?page=2&amp;pagesize=5>; rel="next", <https://ape.gclipse.org/marketplace/favorites/114?page=99&amp;pagesize=5>; rel="last", <https://ape.gclipse.org/marketplace/favorites/114?page=1&amp;pagesize=5>; rel="first", <https://ape.gclipse.org/marketplace/favorites/114?page=1&amp;pagesize=5>; rel="self" Link:<https://api.eclipse.org/marketplace/favorites/114?page=2&amp;pagesize=5>; rel="next", <https://api.eclipse.org/marketplace/favorites/114?page=99&amp;pagesize=5>; rel="last", <https://api.eclipse.org/marketplace/favorites/114?page=1&amp;pagesize=5>; rel="first", <https://api.eclipse.org/marketplace/favorites/114?page=1&amp;pagesize=5>; rel="self"
X-Rate-Limit-Limit:1000 X-Rate-Limit-Limit:1000
X-Rate-Limit-Remaining:961 X-Rate-Limit-Remaining:961
X-Rate-Limit-Reset:3463 X-Rate-Limit-Reset:3463
+ Body + Body
{"users":[{"uid":"1","name":"webdev","full_name":"Christopher Guindon","picture":"https://ape.gclipse.org/sites/default/files/styles/site_login_profile_thumbnail/public/profile_pictures/picture-1-1490713016.png?itok=j23V_zvl","mpc_list_name":"Eclipse Foundation Webdev team list","timestamp":"1461185652","profile_url":"https://ape.gclipse.org/account/profile/webdev","html_profile_url":"https://accounts.eclipse.org/users/webdev","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=webdev","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/webdev/favorites"},{"uid":"12","name":"creckord","full_name":"Carsten Reckord","picture":"https://secure.gravatar.com/avatar/cfa23205cce07923a8c4e3f4b0824389.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Carsten Reckord","timestamp":"1494936399","profile_url":"https://ape.gclipse.org/account/profile/creckord","html_profile_url":"https://accounts.eclipse.org/users/creckord","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=creckord","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/creckord/favorites"},{"uid":"70","name":"bandruschuk","full_name":"Borislav Andruschuk","picture":"https://secure.gravatar.com/avatar/c1d9c95b0675f3b6e0bf7868207841c2.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Borislav Andruschuk","timestamp":"1461162980","profile_url":"https://ape.gclipse.org/account/profile/bandruschuk","html_profile_url":"https://accounts.eclipse.org/users/bandruschuk","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=bandruschuk","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/bandruschuk/favorites"},{"uid":"97","name":"cvedovinid70","full_name":"Claude Vedovini","picture":"https://secure.gravatar.com/avatar/8ed6098669efdf6ac398b47b262effcf.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Claude Vedovini","timestamp":"1461162986","profile_url":"https://ape.gclipse.org/account/profile/cvedovinid70","html_profile_url":"https://accounts.eclipse.org/users/cvedovinid70","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=cvedovinid70","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/cvedovinid70/favorites"},{"uid":"102","name":"fzadroznyr0g","full_name":"Fabio Zadrozny","picture":"https://secure.gravatar.com/avatar/70fc26faedcbfc82344a0b347053aaa0.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Fabio Zadrozny","timestamp":"1461162987","profile_url":"https://ape.gclipse.org/account/profile/fzadroznyr0g","html_profile_url":"https://accounts.eclipse.org/users/fzadroznyr0g","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=fzadroznyr0g","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/fzadroznyr0g/favorites"}],"result":{"count":494}} {"users":[{"uid":"1","name":"webdev","full_name":"Christopher Guindon","picture":"https://api.eclipse.org/sites/default/files/styles/site_login_profile_thumbnail/public/profile_pictures/picture-1-1490713016.png?itok=j23V_zvl","mpc_list_name":"Eclipse Foundation Webdev team list","timestamp":"1461185652","profile_url":"https://api.eclipse.org/account/profile/webdev","html_profile_url":"https://accounts.eclipse.org/users/webdev","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=webdev","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/webdev/favorites"},{"uid":"12","name":"creckord","full_name":"Carsten Reckord","picture":"https://secure.gravatar.com/avatar/cfa23205cce07923a8c4e3f4b0824389.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Carsten Reckord","timestamp":"1494936399","profile_url":"https://api.eclipse.org/account/profile/creckord","html_profile_url":"https://accounts.eclipse.org/users/creckord","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=creckord","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/creckord/favorites"},{"uid":"70","name":"bandruschuk","full_name":"Borislav Andruschuk","picture":"https://secure.gravatar.com/avatar/c1d9c95b0675f3b6e0bf7868207841c2.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Borislav Andruschuk","timestamp":"1461162980","profile_url":"https://api.eclipse.org/account/profile/bandruschuk","html_profile_url":"https://accounts.eclipse.org/users/bandruschuk","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=bandruschuk","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/bandruschuk/favorites"},{"uid":"97","name":"cvedovinid70","full_name":"Claude Vedovini","picture":"https://secure.gravatar.com/avatar/8ed6098669efdf6ac398b47b262effcf.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Claude Vedovini","timestamp":"1461162986","profile_url":"https://api.eclipse.org/account/profile/cvedovinid70","html_profile_url":"https://accounts.eclipse.org/users/cvedovinid70","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=cvedovinid70","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/cvedovinid70/favorites"},{"uid":"102","name":"fzadroznyr0g","full_name":"Fabio Zadrozny","picture":"https://secure.gravatar.com/avatar/70fc26faedcbfc82344a0b347053aaa0.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Fabio Zadrozny","timestamp":"1461162987","profile_url":"https://api.eclipse.org/account/profile/fzadroznyr0g","html_profile_url":"https://accounts.eclipse.org/users/fzadroznyr0g","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=fzadroznyr0g","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/fzadroznyr0g/favorites"}],"result":{"count":494}}
## Random Favorites [GET /marketplace/favorites/random{?page,pagesize}] ## Random Favorites [GET /marketplace/favorites/random{?page,pagesize}]
Fetch random favorites. Fetch random favorites.
...@@ -48,13 +48,13 @@ Fetch random favorites. ...@@ -48,13 +48,13 @@ Fetch random favorites.
+ Response 200 (application/json) + Response 200 (application/json)
+ Headers + Headers
Link:<https://ape.gclipse.org/marketplace/favorites/random?page=1&amp;pagesize=5>; rel="last", <https://ape.gclipse.org/marketplace/favorites/random?page=1&amp;pagesize=5>; rel="first", <https://ape.gclipse.org/marketplace/favorites/random?page=1&amp;pagesize=5>; rel="self" Link:<https://api.eclipse.org/marketplace/favorites/random?page=1&amp;pagesize=5>; rel="last", <https://api.eclipse.org/marketplace/favorites/random?page=1&amp;pagesize=5>; rel="first", <https://api.eclipse.org/marketplace/favorites/random?page=1&amp;pagesize=5>; rel="self"
X-Rate-Limit-Limit:1000 X-Rate-Limit-Limit:1000
X-Rate-Limit-Remaining:961 X-Rate-Limit-Remaining:961
X-Rate-Limit-Reset:3463 X-Rate-Limit-Reset:3463
+ Body + Body
{"users":[{"uid":"3470","name":"xxieuk4","full_name":"Xie Xie","picture":"https://secure.gravatar.com/avatar/c026fd755eb489e0005df10f11cfc1d3.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Xie Xie","timestamp":"1461163708","profile_url":"https://ape.gclipse.org/account/profile/xxieuk4","html_profile_url":"https://accounts.eclipse.org/users/xxieuk4","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=xxieuk4","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/xxieuk4/favorites","count":"6"},{"uid":"348551","name":"szampini","full_name":"Simone Zampini","picture":"https://secure.gravatar.com/avatar/71eb311c431ee16ed29833aeff0d87d2.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Simone Zampini","timestamp":"1490352801","profile_url":"https://ape.gclipse.org/account/profile/szampini","html_profile_url":"https://accounts.eclipse.org/users/szampini","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=szampini","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/szampini/favorites","count":"8"},{"uid":"32625","name":"swilke","full_name":"Steffen Wilke","picture":"https://secure.gravatar.com/avatar/dba2f866944d0d813d3977b3d70e4be9.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Steffen Wilke","timestamp":"1491998786","profile_url":"https://ape.gclipse.org/account/profile/swilke","html_profile_url":"https://accounts.eclipse.org/users/swilke","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=swilke","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/swilke/favorites","count":"2"},{"uid":"168","name":"bgrill","full_name":"Balazs Grill","picture":"https://secure.gravatar.com/avatar/6da5a9178b8752078c97909601c80ba9.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Balazs Grill","timestamp":"1461163003","profile_url":"https://ape.gclipse.org/account/profile/bgrill","html_profile_url":"https://accounts.eclipse.org/users/bgrill","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=bgrill","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/bgrill/favorites","count":"9"},{"uid":"4337","name":"kvr978","full_name":"K R","picture":"https://secure.gravatar.com/avatar/d5f2eaa1a249b0ce0911db783e0c5531.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for K R","timestamp":"1461163897","profile_url":"https://ape.gclipse.org/account/profile/kvr978","html_profile_url":"https://accounts.eclipse.org/users/kvr978","mpc_favorites_url":"https://ape.gclipse.org/marketplace/favorites/?name=kvr978","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/kvr978/favorites","count":"7"}],"result":{"count":5}} {"users":[{"uid":"3470","name":"xxieuk4","full_name":"Xie Xie","picture":"https://secure.gravatar.com/avatar/c026fd755eb489e0005df10f11cfc1d3.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Xie Xie","timestamp":"1461163708","profile_url":"https://api.eclipse.org/account/profile/xxieuk4","html_profile_url":"https://accounts.eclipse.org/users/xxieuk4","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=xxieuk4","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/xxieuk4/favorites","count":"6"},{"uid":"348551","name":"szampini","full_name":"Simone Zampini","picture":"https://secure.gravatar.com/avatar/71eb311c431ee16ed29833aeff0d87d2.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Simone Zampini","timestamp":"1490352801","profile_url":"https://api.eclipse.org/account/profile/szampini","html_profile_url":"https://accounts.eclipse.org/users/szampini","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=szampini","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/szampini/favorites","count":"8"},{"uid":"32625","name":"swilke","full_name":"Steffen Wilke","picture":"https://secure.gravatar.com/avatar/dba2f866944d0d813d3977b3d70e4be9.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Steffen Wilke","timestamp":"1491998786","profile_url":"https://api.eclipse.org/account/profile/swilke","html_profile_url":"https://accounts.eclipse.org/users/swilke","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=swilke","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/swilke/favorites","count":"2"},{"uid":"168","name":"bgrill","full_name":"Balazs Grill","picture":"https://secure.gravatar.com/avatar/6da5a9178b8752078c97909601c80ba9.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for Balazs Grill","timestamp":"1461163003","profile_url":"https://api.eclipse.org/account/profile/bgrill","html_profile_url":"https://accounts.eclipse.org/users/bgrill","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=bgrill","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/bgrill/favorites","count":"9"},{"uid":"4337","name":"kvr978","full_name":"K R","picture":"https://secure.gravatar.com/avatar/d5f2eaa1a249b0ce0911db783e0c5531.jpg?d=mm&s=185&r=G","mpc_list_name":"Favorites for K R","timestamp":"1461163897","profile_url":"https://api.eclipse.org/account/profile/kvr978","html_profile_url":"https://accounts.eclipse.org/users/kvr978","mpc_favorites_url":"https://api.eclipse.org/marketplace/favorites/?name=kvr978","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/kvr978/favorites","count":"7"}],"result":{"count":5}}
## Favorite List [/marketplace/favorites/{content_id}] ## Favorite List [/marketplace/favorites/{content_id}]
...@@ -78,7 +78,7 @@ Add a listings from a user favorite list. Requires the `mpc_update` scope. ...@@ -78,7 +78,7 @@ Add a listings from a user favorite list. Requires the `mpc_update` scope.
Last-Modified: Fri, 09 Jun 2017 17:41:33 GMT Last-Modified: Fri, 09 Jun 2017 17:41:33 GMT
+ Body + Body
{"mpc_favorites":[{"content_id":"3274405","count":"70","timestamp":"1497030093"}],"mpc_list_name":"<b>Jaa<b>","user":{"uid":"1","name":"webdev","full_name":"Christopher Guindon","picture":"https://secure.gravatar.com/avatar/81d7b21d89fa05b42a5e8103ee70cb14.jpg?d=mm&s=185&r=G","profile_url":"https://ape.gclipse.org/account/profile/webdev","html_profile_url":"https://accounts.eclipse.org/users/webdev","mpc_favorites_url":"https://ape.gclipse.local:51243/marketplace/favorites/?name=webdev","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/webdev/favorites"},"result":{"count":1,"range":{"since":0,"until":1497030093}}} {"mpc_favorites":[{"content_id":"3274405","count":"70","timestamp":"1497030093"}],"mpc_list_name":"<b>Jaa<b>","user":{"uid":"1","name":"webdev","full_name":"Christopher Guindon","picture":"https://secure.gravatar.com/avatar/81d7b21d89fa05b42a5e8103ee70cb14.jpg?d=mm&s=185&r=G","profile_url":"https://api.eclipse.org/account/profile/webdev","html_profile_url":"https://accounts.eclipse.org/users/webdev","mpc_favorites_url":"https://ape.gclipse.local:51243/marketplace/favorites/?name=webdev","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/webdev/favorites"},"result":{"count":1,"range":{"since":0,"until":1497030093}}}
## Remove Favorite [DELETE] ## Remove Favorite [DELETE]
Remove a listings from a user favorite list. Requires the `mpc_update` scope. Remove a listings from a user favorite list. Requires the `mpc_update` scope.
...@@ -97,7 +97,7 @@ Remove a listings from a user favorite list. Requires the `mpc_update` scope. ...@@ -97,7 +97,7 @@ Remove a listings from a user favorite list. Requires the `mpc_update` scope.
Last-Modified: Fri, 09 Jun 2017 17:41:33 GMT Last-Modified: Fri, 09 Jun 2017 17:41:33 GMT
+ Body + Body
{"mpc_favorites":[{"content_id":"3274405","count":"70","timestamp":"1497030093"}],"mpc_list_name":"<b>Jaa<b>","user":{"uid":"1","name":"webdev","full_name":"Christopher Guindon","picture":"https://secure.gravatar.com/avatar/81d7b21d89fa05b42a5e8103ee70cb14.jpg?d=mm&s=185&r=G","profile_url":"https://ape.gclipse.org/account/profile/webdev","html_profile_url":"https://accounts.eclipse.org/users/webdev","mpc_favorites_url":"https://ape.gclipse.local:51243/marketplace/favorites/?name=webdev","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/webdev/favorites"},"result":{"count":1,"range":{"since":0,"until":1497030093}}} {"mpc_favorites":[{"content_id":"3274405","count":"70","timestamp":"1497030093"}],"mpc_list_name":"<b>Jaa<b>","user":{"uid":"1","name":"webdev","full_name":"Christopher Guindon","picture":"https://secure.gravatar.com/avatar/81d7b21d89fa05b42a5e8103ee70cb14.jpg?d=mm&s=185&r=G","profile_url":"https://api.eclipse.org/account/profile/webdev","html_profile_url":"https://accounts.eclipse.org/users/webdev","mpc_favorites_url":"https://ape.gclipse.local:51243/marketplace/favorites/?name=webdev","html_mpc_favorites_url":"https://marketplace.eclipse.org/user/webdev/favorites"},"result":{"count":1,"range":{"since":0,"until":1497030093}}}
## Rename Favorite List [POST /marketplace/favorites/rename_list] ## Rename Favorite List [POST /marketplace/favorites/rename_list]
Create a custom name for the user favorite list. Create a custom name for the user favorite list.
......
...@@ -41,14 +41,14 @@ Retrieve a list of all the blobs for a user. Requires the `uss_retrieve` scope. ...@@ -41,14 +41,14 @@ Retrieve a list of all the blobs for a user. Requires the `uss_retrieve` scope.
+ Response 200 (application/json) + Response 200 (application/json)
+ Headers + Headers
Link: <https://ape.gclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="last", <https://ape.gclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="first", <https://ape.gclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="self" Link: <https://api.eclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="last", <https://api.eclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="first", <https://api.eclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="self"
X-Rate-Limit-Limit: 1000 X-Rate-Limit-Limit: 1000
X-Rate-Limit-Remaining: 964 X-Rate-Limit-Remaining: 964
X-Rate-Limit-Reset: 3553 X-Rate-Limit-Reset: 3553
Content-Type: application/json Content-Type: application/json
+ Body + Body
[{"application_token":"MZ04RMOpksKN5GpxKXafq2MSjSP","etag":"9f76b4dde4cb5146daa5686a7f4376084dbe41bf9c9d4a12b722fe1062eb48eb","changed":"1497030093","key":"mpc_favorites","url":"https://ape.gclipse.org/account/profile/1/blob/MZ04RMOpksKN5GpxKXafq2MSjSP/mpc_favorites"}] [{"application_token":"MZ04RMOpksKN5GpxKXafq2MSjSP","etag":"9f76b4dde4cb5146daa5686a7f4376084dbe41bf9c9d4a12b722fe1062eb48eb","changed":"1497030093","key":"mpc_favorites","url":"https://api.eclipse.org/account/profile/1/blob/MZ04RMOpksKN5GpxKXafq2MSjSP/mpc_favorites"}]
## Search Blobs [GET /uss/blob/{application_token}/{blob_key}{?page,pagesize}] ## Search Blobs [GET /uss/blob/{application_token}/{blob_key}{?page,pagesize}]
Search specific user blob object. Requires the `uss_retrieve` scope. Search specific user blob object. Requires the `uss_retrieve` scope.
...@@ -87,7 +87,7 @@ Search specific user blob object. Requires the `uss_retrieve` scope. ...@@ -87,7 +87,7 @@ Search specific user blob object. Requires the `uss_retrieve` scope.
+ Response 200 (application/json) + Response 200 (application/json)
+ Headers + Headers
Link: <https://ape.gclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="last", <https://ape.gclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="first", <https://ape.gclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="self" Link: <https://api.eclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="last", <https://api.eclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="first", <https://api.eclipse.org/uss/blob?page=1&amp;pagesize=20>; rel="self"
X-Rate-Limit-Limit: 1000 X-Rate-Limit-Limit: 1000
X-Rate-Limit-Remaining: 964 X-Rate-Limit-Remaining: 964
X-Rate-Limit-Reset: 3553 X-Rate-Limit-Reset: 3553
...@@ -159,7 +159,7 @@ Delete a blob for a user. Requires the `uss_update` scope. ...@@ -159,7 +159,7 @@ Delete a blob for a user. Requires the `uss_update` scope.
Etag: "9f76b4dde4cb5146daa5686a7f4376084dbe41bf9c9d4a12b722fe1062eb48eb" Etag: "9f76b4dde4cb5146daa5686a7f4376084dbe41bf9c9d4a12b722fe1062eb48eb"
+ Body + Body
{"url":"https://ape.gclipse.org/api/blob/:namespace/:key"} {"url":"https://api.eclipse.org/api/blob/:namespace/:key"}
+ Response 200 (application/json) + Response 200 (application/json)
+ Headers + Headers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment