Skip to content
Snippets Groups Projects
Commit 79e76161 authored by Christopher Guindon's avatar Christopher Guindon
Browse files
parent 0296802e
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
......@@ -24,7 +24,7 @@ Retrieve all favorites or retrieve favorites for a specific user.
Fetch favorites for a specific listing on Eclipse MarketPlace.
+ Parameters
+ content_id (string, required) - Unique identifier of the listing, e.g, 123, 134.
+ content_id (string, required) - Unique identifier of the listing, e.g., 123, 134.
+ name (string, optional) - A valid Eclipse username.
+ page (integer, optional) - The index of the page to get, defaults to 1.
+ pagesize (integer, optional) - The number of records to get per page, defaults to 20. Maximum value is 100.
......@@ -37,7 +37,7 @@ Fetch favorites for a specific listing on Eclipse MarketPlace.
X-Rate-Limit-Reset:3463
+ Body
{"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}}
{"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.g.ravatar.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.g.ravatar.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.g.ravatar.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}]
Fetch random favorites.
......@@ -54,12 +54,12 @@ Fetch random favorites.
X-Rate-Limit-Reset:3463
+ 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://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}}
{"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.g.ravatar.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.g.ravatar.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.g.ravatar.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.g.ravatar.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}]
+ Parameters
+ content_id (string) - Unique identifier of the listing, e.g, 123, 134.
+ content_id (string) - Unique identifier of the listing, e.g., 123, 134.
## Add Favorite [POST]
Add a listings from a user favorite list. Requires the `mpc_update` scope.
......@@ -70,7 +70,7 @@ Add a listings from a user favorite list. Requires the `mpc_update` scope.
+ Response 200 (application/json)
+ Headers
Link: <https://ape.gclipse.local:51243/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="last", <https://ape.gclipse.local:51243/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="first", <https://ape.gclipse.local:51243/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="self"
Link: <https://api.eclipse.org/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="last", <https://api.eclipse.org/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="first", <https://api.eclipse.org/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="self"
Etag: "9f76b4dde4cb5146daa5686a7f4376084dbe41bf9c9d4a12b722fe1062eb48eb"
X-Rate-Limit-Limit: 1000
X-Rate-Limit-Remaining: 961
......@@ -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
+ 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://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}}}
{"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://api.eclipse.org/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 a listings from a user favorite list. Requires the `mpc_update` scope.
......@@ -89,7 +89,7 @@ Remove a listings from a user favorite list. Requires the `mpc_update` scope.
+ Response 200 (application/json)
+ Headers
Link: <https://ape.gclipse.local:51243/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="last", <https://ape.gclipse.local:51243/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="first", <https://ape.gclipse.local:51243/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="self"
Link: <https://api.eclipse.org/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="last", <https://api.eclipse.org/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="first", <https://api.eclipse.org/marketplace/favorites/3274405?page=1&amp;pagesize=100>; rel="self"
Etag: "9f76b4dde4cb5146daa5686a7f4376084dbe41bf9c9d4a12b722fe1062eb48eb"
X-Rate-Limit-Limit: 1000
X-Rate-Limit-Remaining: 961
......@@ -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
+ 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://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}}}
{"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://api.eclipse.org/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]
Create a custom name for the user favorite list.
......
......@@ -54,8 +54,8 @@ Retrieve a list of all the blobs for a user. Requires the `uss_retrieve` scope.
Search specific user blob object. Requires the `uss_retrieve` scope.
+ Parameters
+ `application_token` (string, required) - Unique identifer of the project, e.g, eclipse.org.oomph.
+ `blob_key` (string, optional) - Unique identifier of the profile setting to save, e.g, install_xml.
+ `application_token` (string, required) - Unique identifer of the project, e.g., eclipse.org.oomph.
+ `blob_key` (string, optional) - Unique identifier of the profile setting to save, e.g., install_xml.
+ `page` (integer, optional) - The index of the page to get, defaults to 1.
+ `pagesize` (integer, optional) - The number of records to get per page, defaults to 20. Maximum value is 100.
......@@ -95,14 +95,14 @@ Search specific user blob object. Requires the `uss_retrieve` scope.
Content-Type: application/json
+ Body
{"application_token":"MZ04RMOpksKN5GpxKXafq2MSjSP","etag":"9f76b4dde4cb5146daa5686a7f4376084dbe41bf9c9d4a12b722fe1062eb48eb","changed":"1497030093","key":"mpc_favorites","url":"https://ape.gclipse.local:51243/account/profile/1/blob/MZ04RMOpksKN5GpxKXafq2MSjSP/mpc_favorites","value":"MzI3NDQwNQ=="}
{"application_token":"MZ04RMOpksKN5GpxKXafq2MSjSP","etag":"9f76b4dde4cb5146daa5686a7f4376084dbe41bf9c9d4a12b722fe1062eb48eb","changed":"1497030093","key":"mpc_favorites","url":"https://api.eclipse.org/account/profile/1/blob/MZ04RMOpksKN5GpxKXafq2MSjSP/mpc_favorites","value":"MzI3NDQwNQ=="}
## Delete Blobs [DELETE /uss/blob/{application_token}/{blob_key}]
Delete a blob for a user. Requires the `uss_update` scope.
+ Parameters
+ `application_token` (string, required) - Unique identifer of the project, e.g, eclipse.org.oomph.
+ `blob_key` (string, optional, required) - Unique identifier of the profile setting to save, e.g, install_xml.
+ `application_token` (string, required) - Unique identifer of the project, e.g., eclipse.org.oomph.
+ `blob_key` (string, optional, required) - Unique identifier of the profile setting to save, e.g., install_xml.
+ Request
+ Headers
......@@ -131,8 +131,8 @@ Delete a blob for a user. Requires the `uss_update` scope.
Delete a blob for a user. Requires the `uss_update` scope.
+ Parameters
+ `application_token` (string, required) - Unique identifer of the project, e.g, eclipse.org.oomph.
+ `blob_key` (string, optional, required) - Unique identifier of the profile setting to save, e.g, install_xml.
+ `application_token` (string, required) - Unique identifer of the project, e.g., eclipse.org.oomph.
+ `blob_key` (string, optional, required) - Unique identifier of the profile setting to save, e.g., install_xml.
+ Request
+ 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