Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
@hostname=localhost
@port=9090
@path=/message/receive
### DIDs
@from=did:peer:2.Ez6LSmg6eZ5FdMcE8PPSMMBWXDvDPQ2weFhbTWjabmgeo3hQh.Vz6Mknr5Zt1YeLF6XpCchBSCrepSoaXpFV93TR5YyhnU3nu8A.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTA5MC9tZXNzYWdlL3JlY2VpdmUiLCJhIjpbImRpZGNvbW0vdjIiXSwiciI6W119fQ
@to=did:peer:2.Ez6LSmg6eZ5FdMcE8PPSMMBWXDvDPQ2weFhbTWjabmgeo3hQh.Vz6Mknr5Zt1YeLF6XpCchBSCrepSoaXpFV93TR5YyhnU3nu8A.SeyJ0IjoiZG0iLCJzIjp7InVyaSI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTA5MC9tZXNzYWdlL3JlY2VpdmUiLCJhIjpbImRpZGNvbW0vdjIiXSwiciI6W119fQ
### Message (Coordinate-Mediation): Mediation request
POST http://{{hostname}}:{{port}}{{path}}
Content-Type: application/json
{
"id": "123456789abcdefghi",
"type": "https://didcomm.org/coordinate-mediation/3.0/mediate-request",
"body": {
},
"from": "{{from}}",
"to": [
"{{to}}"
],
"created_time": 5,
"expires_time": 50,
"attachments": []
}
### Message (Coordinate-Mediation): recipient update add
POST http://{{hostname}}:{{port}}{{path}}
Content-Type: application/json
{
"id": "123456789abcdefghi",
"type": "https://didcomm.org/coordinate-mediation/3.0/recipient-update",
"body": {
"updates":[
{
"recipient_did": "did:peer:alice_did_for_bob",
"action": "add"
}
]
},
"from": "{{from}}",
"to": [
"{{to}}"
],
"created_time": 5,
"expires_time": 50,
"attachments": []
}
### Message (Coordinate-Mediation): recipient update remove
POST http://{{hostname}}:{{port}}{{path}}
Content-Type: application/json
{
"id": "123456789abcdefghi",
"type": "https://didcomm.org/coordinate-mediation/3.0/recipient-update",
"body": {
"updates":[
{
"recipient_did": "did:peer:alice_did_for_bob",
"action": "remove"
}
]
},
"from": "{{from}}",
"to": [
"{{to}}"
],
"created_time": 5,
"expires_time": 50,
"attachments": []
}
### Message (Coordinate-Mediation): recipient query
POST http://{{hostname}}:{{port}}{{path}}
Content-Type: application/json
{
"id": "123456780",
"type": "https://didcomm.org/coordinate-mediation/3.0/recipient-query",
"body": {
"paginate": {
"limit": 30,
"offset": 0
}
},
"from": "{{from}}",
"to": [
"{{to}}"
]
}
### Message (Trust-Ping): response requested : true
POST http://{{hostname}}:{{port}}{{path}}
Content-Type: application/json
{
"type": "https://didcomm.org/trust-ping/2.0/ping",
"id": "123456789",
"from": "{{from}}",
"to": [
"{{to}}"
],
"body": {
"response_requested": true
}
}
### Message (Trust-Ping): response requested : false
POST http://{{hostname}}:{{port}}{{path}}
Content-Type: application/json
{
"type": "https://didcomm.org/trust-ping/2.0/ping",
"id": "123456789",
"from": "{{from}}",
"to": [
"{{to}}"
],
"body": {
"response_requested": false
}
}