question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spec for `ob://` links

See original GitHub issue

What are the valid ob://? It seems we have /store/... for listings. Are we still going to have /about, /followers? IPFS has it’s own path system and I’m concerned there will be collisions. Already QmZXGKrRRe5RTDhvzhZfSTe8vYBDGV7HBoNz5FS3U9FnUa/store is ambiguous, because in the context of IPFS this means the store object under QmZXGKrRRe5RTDhvzhZfSTe8vYBDGV7HBoNz5FS3U9FnUa. cc @cpacia

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
jjeffryescommented, Jul 25, 2017

Here’s a list of the valid addresses in the reference client:

  • @[handle] - navigate to a user page based on a handle. Resolves to /store if the user has vendor set to true in their profile, otherwise resolves to /home.
  • peerID - navigate to a user page based on the peerID. Resolves to /store if the user has vendor set to true in their profile, otherwise resolves to /home.
    • @[handle] or peerID can be followed by a / and ‘home’, ‘store’, ‘following’, or ‘followers’.
    • ‘/store’ can be followed by the slug for a listing, which will show the listing.
  • transactions - will resolve to transactions/sales.
    • transactions can be followed by a / and ‘purchases’, ‘sales’, or ‘cases’.
  • search?[query] - will load the search screen and execute the query. The query can have the following parameters:
    • providerQ = encoded url for the provider query. ex: providerQ=https%3A%2F%2Fsearch.ob1.io%2Fsearch%2Flistings%3Fq%3Dbananas%26p%3D0%26ps%3D12
    • q the term to search for
    • p the page to start on. If p = 3, page 3 of X will be shown.
    • ps the page size.
    • sortBy the value to sort by.
    • Other parameters will be treated as filters.
1reaction
rmisiocommented, Jul 26, 2017

Does transactions/ take a query? The reference client currently creates the following URI:

Yes, the url params map to the different ways to filter / sort the transactions list, for example:

ob://transactions/purchases?search=abcde&sortBy=UNREAD&states=0-1-2-3-4-5-6-7-8-9-10-11-12

Can we link to ratings?

You mean the “Reviews” section within the listing overlay? No, not that I’m aware of.

Can we link to a specific purchase?

Yes, add the orderId as query param:

ob://transactions/purchases?sortBy=UNREAD&states=0-1-2-3-4-5-6-7-8-9-10-11-12&orderId=QmVvcLYWk2z4itE9t8Jzbava8rs9iPw8HGKabYKay5evXv

FWIW, transactions and orders are something specific to a particular node, so I’m not sure how much it would make sense to share these (i.e. a link with an orderId could be shared between vendor and buyer, but for anyone else it will result in a Order not found state). The main reason the state is tracked in the url is a.) to be able to internally link to an order or a transactions list filtered in some specific way b.) If the user refreshes the page, their state is maintained.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OB-LINK | ELECTRONICS | PRODUCT - HKS
OB -LINK extracts vehicle data from the on board diagnostics port (OBD) and sends it via Bluetooth to an Android device (Tablet/Smartphone etc.)...
Read more >
Meta Quest Link Compatibility
If you'd like to use Meta Quest Link to connect your Meta Quest headset to a PC, please start by reviewing the compatibility...
Read more >
Open Badges Version 2.1 | IMS Global Learning Consortium
The Open Badges 2.0 specification [ OB-20 ] defines the properties ... Evidence: Links to and descriptions of evidence related to the issuance...
Read more >
Requirements - ABOG
Specialty (OB GYN) Certification Overview. You can start the process of board certification from the American Board of Obstetrics and Gynecology in your ......
Read more >
Step 2 CK Content Outline & Specifications - USMLE.org
Step 2 CK Content Outline & Specifications ... Table 2: Step 2 CK Physician Task/Competencies Specifications* ... Obstetrics & Gynecology, 10–20.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found