-
Notifications
You must be signed in to change notification settings - Fork 3
Peer Info API
Philipp Zeppezauer edited this page Nov 19, 2014
·
1 revision
{
"id" : {
"type" : "PEER",
"id" : "Peer1",
"postfix" : ""
},
"deliveryPolicy" : "AT_LEAST_ONE",
"privacyPolicies" : null,
"addresses" : [ {
"peerId" : {
"type" : "PEER",
"id" : "545a24b0041063c4bcfec30f",
"postfix" : ""
},
"channelType" : {
"type" : "CHANNEL",
"id" : "Email",
"postfix" : ""
},
"contactParameters" : [ "some.email@provider.com" ]
}, {
"peerId" : {
"type" : "PEER",
"id" : "545a24b0041063c4bcfec30f",
"postfix" : ""
},
"channelType" : {
"type" : "CHANNEL",
"id" : "REST",
"postfix" : ""
},
"contactParameters" : [ "http://localhost:8080/peer1" ]
} ]
}
GET | `/{id}` | Get the peer info for a peer with a given Id |
Returns a peer info for a peer with a given id. Returns a JSON object of peer info.
Parameter:
id required - defines the id of the peer
Respond:
200 peer info instance is returned in the body
404 there is no peer with such an id
Copyright (c) 2014 Technische Universitat Wien (TUW), Distributed Systems Group E184 (http://dsg.tuwien.ac.at)
This work was partially supported by the EU FP7 FET SmartSociety (http://www.smart-society-project.eu/).
SmartCom
Communication as a Service