Advertisement
Guest User

Random Metaverse API notes

a guest
Dec 16th, 2019
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. auth code in
  2. C:\Users\martin.INDIGO\Source\Repos\hifi\libraries\ui\src\ui\types\RequestFilters.cpp
  3. void RequestFilters::interceptHFWebEngineRequest(QWebEngineUrlRequestInfo& info, QQmlContext* context) {
  4.  
  5. BACKGROUND:
  6.  
  7. https://metaverse.highfidelity.com/api/v1/user_stories?include_actions=announcement&restriction=open,hifi&require_online=true&protocol=%2Ff9dS5RDfvCdjLFNDF8yeA%3D%3D&per_page=10
  8.  
  9. https://metaverse.highfidelity.com/api/v1/commerce/available_updates?per_page=10
  10. https://metaverse.highfidelity.com/api/v1/commerce/marketplace_key
  11. https://metaverse.highfidelity.com/api/v1/commerce/hfc_account
  12. https://metaverse.highfidelity.com/api/v1/commerce/history?per_page=10&since=1563314672.336
  13.  
  14. https://metaverse.highfidelity.com/api/v1/user_stories?include_actions=announcement&restriction=open,hifi&require_online=true&protocol=%2Ff9dS5RDfvCdjLFNDF8yeA%3D%3D&per_page=10&page=2
  15. https://metaverse.highfidelity.com/api/v1/user/heartbeat
  16.  
  17. OPENING GOTO:
  18.  
  19. https://metaverse.highfidelity.com/api/v1/user_stories?include_actions=snapshot&restriction=open,hifi&require_online=true&protocol=%2Ff9dS5RDfvCdjLFNDF8yeA%3D%3D&per_page=4&page=1
  20. https://metaverse.highfidelity.com/api/v1/user_stories?include_actions=concurrency&restriction=open,hifi&require_online=true&protocol=%2Ff9dS5RDfvCdjLFNDF8yeA%3D%3D&per_page=4&page=1
  21. https://metaverse.highfidelity.com/api/v1/user_stories?include_actions=announcement&restriction=open,hifi&require_online=true&protocol=%2Ff9dS5RDfvCdjLFNDF8yeA%3D%3D&per_page=4&page=1
  22.  
  23.  
  24. OPENING MARKET:
  25.  
  26. https://metaverse.highfidelity.com/api/v1/marketplace/categories
  27. https://metaverse.highfidelity.com/api/v1/marketplace/items?q&view&category&adminFilter&adminFilterCost&sort=recent&sort_dir=desc&page=1&perPage=7
  28. Clicked category:
  29. https://metaverse.highfidelity.com/api/v1/marketplace/items?q&view&category=animals&adminFilter&adminFilterCost&sort=recent&sort_dir=desc&page=1&perPage=7
  30.  
  31.  
  32. OPENING INVENTORY:
  33.  
  34. PUT: https://metaverse.highfidelity.com/api/v1/commerce/hfc_account
  35. POST: https://metaverse.highfidelity.com/api/v1/commerce/inventory
  36. PUT: https://metaverse.highfidelity.com/api/v1/commerce/available_updates
  37. clicked recent activity:
  38. POST: https://metaverse.highfidelity.com/api/v1/commerce/balance
  39. POST: https://metaverse.highfidelity.com/api/v1/commerce/history
  40.  
  41.  
  42.  
  43. METAVERSE_BASE_URL = "https://metaverse.highfidelity.com";
  44. BASE_URL = "https://metaverse.highfidelity.com/";
  45.  
  46. METAVERSE_URL: 'https://metaverse.highfidelity.com',
  47. PLACE_URL: 'https://hifi.place',
  48.  
  49. // If you want to use STAGING instead of STABLE,
  50. // links from the Domain Server web interface (like the connect account token generation)
  51. // will still point at stable unless you ALSO change the Domain Server Metaverse Server URL inside of:
  52. // <hifi repo>\domain-server\resources\web\js\shared.js
  53.  
  54. // You can avoid changing that and still effectively use a connected domain on staging
  55. // if you manually generate a personal access token for the domains scope
  56. // at https://staging.highfidelity.com/user/tokens/new?for_domain_server=true
  57.  
  58. const QUrl METAVERSE_SERVER_URL_STABLE { "https://metaverse.highfidelity.com" };
  59. const QUrl METAVERSE_SERVER_URL_STAGING { "https://staging.highfidelity.com" };
  60. QUrl METAVERSE_SERVER_URL();
  61.  
  62.  
  63. var METAVERSE_API_URL = "https://metaverse.highfidelity.com/api/v1/users?status=online";
  64.  
  65. https://metaverse.highfidelity.com/api/v1/places?limit=21
  66. https://metaverse.highfidelity.com/api/v1/marketplace?category=head+%26+body&limit=2
  67.  
  68. URLs.METAVERSE_URL + '/api/v1/domains/' + Settings.data.values.metaverse.id, function(data)
  69.  
  70. var MARKETPLACE_API_URL = Account.metaverseServerURL + "/api/v1/marketplace/items/";
  71.  
  72. Account.metaverseServerURL + "/users/" + userName;
  73.  
  74. var DIRECTORY_WINDOW_URL = Account.metaverseServerURL + "/directory";
  75.  
  76. Account.metaverseServerURL + '/api/v1/user/connection_request';
  77. Account.metaverseServerURL + '/api/v1/users/' + Account.username + '/location
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement