XDI Messenger Help     >>> Back...
This is version 0.8-SNAPSHOT 2017-06-23T19:18:32Z, Git commit d522da 06.06.2017 @ 10:46:32 CEST.

Information

Here you can send XDI messages to XDI endpoints and view results.
  • Messages can be entered in any format.
  • Messages are sent to the endpoint in JSON format by default.
  • Message results are requested from the endpoint in JSON format.
  • Only $get operations will result in a direct response.
  • If you get the error "Unknown serialization format", use the XDI Validator to debug your message.
Graphs can also be accessed with HTTP GET requests containing an XDI address. If you enter the endpoint URI in your browser, you will get the whole graph. If you enter a subject XRI after the endpoint URI, you will get only the statements rooted in that subject, etc.

Example XDI endpoints

The following XDI endpoints are deployed together with the XDI Messenger for testing purposes:

https://server.xdi2.org/xdi/mem-graph/

This is an XDI endpoint backed by an in-memory store.
Versioning: disabled. Link contracts: disabled.

https://server.xdi2.org/xdi/bdb-graph/

This is an XDI endpoint backed by a Berkely DB store.
Versioning: disabled. Link contracts: disabled.

https://server.xdi2.org/xdi/file-graph/

This is an XDI endpoint backed by an XDI/JSON text file.
Versioning: disabled. Link contracts: disabled.

External Call

The fields of the XDI Messenger tool can be "pre-filled" by passing them as URI parameters as follows:

  • "recipient": The XDI identifier that is the recipient of the message. If this is a string that starts with "ote:" or "prod:", then the XDI identifier will be discovered from a suitable XDI discovery service.
  • "sender": The XDI identifier that is the sender of the message. If this is a string that starts with "ote:" or "prod:", then the XDI identifier will be discovered from a suitable XDI discovery service. Default: "$anon".
  • "linkContract": The address of the link contract in the target graph. Default: "$do".
  • "operation": The operation in the message. Default: "$get".
  • "target": The target of the operation. Default: "".
  • "secretToken": An optional secret token for the message.
  • "signature": An optional signature for the message.
  • "endpoint": The XDI endpoint URI for the message. If this is a string that starts with "ote:" or "prod:", then the XDI endpoint URI will be discovered from a suitable XDI discovery service.