| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

How can data in an XDI PDS be referenced in a global and location independent way

Page history last edited by Markus Sabadello 13 years, 5 months ago

One of the most interesting features of XDI is its ability to address any part of an XDI graph in a global and location independent way.

 

Given an XDI address, two steps are generally involved:

  1. Discover the XDI endpoint that is authoritative for the referenced data.
  2. Send an XDI $get message to request the referenced data .

 

For more information about step 1, see:

How can a PDS XDI endpoint be discovered from a user's identifier(s)?

 

Example:

 

Given the following XDI address:

=markus/+email$


Step 1:

Using XRI Resolution, the following PDS XDI endpoint can be discovered:

https://xdi.fullxri.com/=!91F2.8153.F600.AE24/

 

Step 2:

To request the referenced data, we send the following XDI message (in X3 Simple format):

 

=sender
        $get
                /
                        =markus
                                +email$


The response should look like this (in XDI/JSON format):

{
    "=markus": {
        "+email$": "markus.sabadello@gmail.com"
    }
}

Comments (0)

You don't have permission to comment on this page.