@twin.org/node 0.9.2-next.1 → 0.9.2-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/locales/en.json +277 -158
- package/docs/changelog.md +141 -0
- package/docs/open-api/spec.json +746 -12
- package/docs/usage.md +8 -8
- package/package.json +2 -2
package/docs/open-api/spec.json
CHANGED
|
@@ -153,11 +153,13 @@
|
|
|
153
153
|
"components": [
|
|
154
154
|
{
|
|
155
155
|
"source": "Database",
|
|
156
|
-
"status": "ok"
|
|
156
|
+
"status": "ok",
|
|
157
|
+
"category": "connectivity"
|
|
157
158
|
},
|
|
158
159
|
{
|
|
159
160
|
"source": "Storage",
|
|
160
|
-
"status": "ok"
|
|
161
|
+
"status": "ok",
|
|
162
|
+
"category": "connectivity"
|
|
161
163
|
}
|
|
162
164
|
]
|
|
163
165
|
}
|
|
@@ -170,11 +172,13 @@
|
|
|
170
172
|
{
|
|
171
173
|
"source": "Database",
|
|
172
174
|
"status": "warning",
|
|
173
|
-
"description": "slowRunning"
|
|
175
|
+
"description": "slowRunning",
|
|
176
|
+
"category": "connectivity"
|
|
174
177
|
},
|
|
175
178
|
{
|
|
176
179
|
"source": "Storage",
|
|
177
|
-
"status": "ok"
|
|
180
|
+
"status": "ok",
|
|
181
|
+
"category": "connectivity"
|
|
178
182
|
}
|
|
179
183
|
]
|
|
180
184
|
}
|
|
@@ -186,12 +190,14 @@
|
|
|
186
190
|
"components": [
|
|
187
191
|
{
|
|
188
192
|
"source": "Database",
|
|
189
|
-
"status": "ok"
|
|
193
|
+
"status": "ok",
|
|
194
|
+
"category": "connectivity"
|
|
190
195
|
},
|
|
191
196
|
{
|
|
192
197
|
"source": "Storage",
|
|
193
198
|
"status": "error",
|
|
194
|
-
"description": "storageFull"
|
|
199
|
+
"description": "storageFull",
|
|
200
|
+
"category": "connectivity"
|
|
195
201
|
}
|
|
196
202
|
]
|
|
197
203
|
}
|
|
@@ -2384,6 +2390,15 @@
|
|
|
2384
2390
|
},
|
|
2385
2391
|
"style": "simple",
|
|
2386
2392
|
"example": "did:iota:tst:0xe3088ba9aa8c28e1d139708a14e8c0fdff11ee8223baac4aa5bcf3321e4bfc6a"
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
"name": "removeKeys",
|
|
2396
|
+
"description": "Also remove any associated private keys from the vault.",
|
|
2397
|
+
"in": "query",
|
|
2398
|
+
"required": false,
|
|
2399
|
+
"schema": {
|
|
2400
|
+
"type": "string"
|
|
2401
|
+
}
|
|
2387
2402
|
}
|
|
2388
2403
|
],
|
|
2389
2404
|
"security": [
|
|
@@ -2724,6 +2739,15 @@
|
|
|
2724
2739
|
},
|
|
2725
2740
|
"style": "simple",
|
|
2726
2741
|
"example": "my-assertion"
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
"name": "removeKeys",
|
|
2745
|
+
"description": "Also remove any associated private key from the vault.",
|
|
2746
|
+
"in": "query",
|
|
2747
|
+
"required": false,
|
|
2748
|
+
"schema": {
|
|
2749
|
+
"type": "string"
|
|
2750
|
+
}
|
|
2727
2751
|
}
|
|
2728
2752
|
],
|
|
2729
2753
|
"security": [
|
|
@@ -5061,6 +5085,463 @@
|
|
|
5061
5085
|
}
|
|
5062
5086
|
}
|
|
5063
5087
|
},
|
|
5088
|
+
"/identity/profile/{userIdentity}": {
|
|
5089
|
+
"get": {
|
|
5090
|
+
"operationId": "identityProfileAdminGet",
|
|
5091
|
+
"summary": "Get the identity profile properties of another user",
|
|
5092
|
+
"tags": [
|
|
5093
|
+
"Identity Profile"
|
|
5094
|
+
],
|
|
5095
|
+
"parameters": [
|
|
5096
|
+
{
|
|
5097
|
+
"name": "userIdentity",
|
|
5098
|
+
"description": "The identity of the user whose profile is to be retrieved.",
|
|
5099
|
+
"in": "path",
|
|
5100
|
+
"required": true,
|
|
5101
|
+
"schema": {
|
|
5102
|
+
"type": "string"
|
|
5103
|
+
},
|
|
5104
|
+
"style": "simple",
|
|
5105
|
+
"example": "did:iota:tst:0xc57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70"
|
|
5106
|
+
},
|
|
5107
|
+
{
|
|
5108
|
+
"name": "publicPropertyNames",
|
|
5109
|
+
"description": "The public properties to get for the profile, defaults to all, should be a comma separated list.",
|
|
5110
|
+
"in": "query",
|
|
5111
|
+
"required": false,
|
|
5112
|
+
"schema": {
|
|
5113
|
+
"type": "string"
|
|
5114
|
+
},
|
|
5115
|
+
"example": "name,jobTitle"
|
|
5116
|
+
},
|
|
5117
|
+
{
|
|
5118
|
+
"name": "privatePropertyNames",
|
|
5119
|
+
"description": "The private properties to get for the profile, defaults to all, should be a comma separated list.",
|
|
5120
|
+
"in": "query",
|
|
5121
|
+
"required": false,
|
|
5122
|
+
"schema": {
|
|
5123
|
+
"type": "string"
|
|
5124
|
+
}
|
|
5125
|
+
}
|
|
5126
|
+
],
|
|
5127
|
+
"security": [
|
|
5128
|
+
{
|
|
5129
|
+
"jwtBearerAuthScheme": []
|
|
5130
|
+
}
|
|
5131
|
+
],
|
|
5132
|
+
"responses": {
|
|
5133
|
+
"200": {
|
|
5134
|
+
"description": "Response to get an identity details.",
|
|
5135
|
+
"content": {
|
|
5136
|
+
"application/json": {
|
|
5137
|
+
"schema": {
|
|
5138
|
+
"$ref": "#/components/schemas/IdentityProfileGetResponse"
|
|
5139
|
+
},
|
|
5140
|
+
"examples": {
|
|
5141
|
+
"identityProfileAdminGetResponseExample": {
|
|
5142
|
+
"value": {
|
|
5143
|
+
"identity": "did:iota:tst:0xc57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
5144
|
+
"publicProfile": {
|
|
5145
|
+
"@context": "https://schema.org",
|
|
5146
|
+
"@type": "Person",
|
|
5147
|
+
"jobTitle": "Professor",
|
|
5148
|
+
"name": "Jane Doe"
|
|
5149
|
+
}
|
|
5150
|
+
}
|
|
5151
|
+
}
|
|
5152
|
+
}
|
|
5153
|
+
}
|
|
5154
|
+
}
|
|
5155
|
+
},
|
|
5156
|
+
"400": {
|
|
5157
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
5158
|
+
"content": {
|
|
5159
|
+
"application/json": {
|
|
5160
|
+
"schema": {
|
|
5161
|
+
"$ref": "#/components/schemas/Error"
|
|
5162
|
+
},
|
|
5163
|
+
"examples": {
|
|
5164
|
+
"exampleResponse": {
|
|
5165
|
+
"value": {
|
|
5166
|
+
"name": "GeneralError",
|
|
5167
|
+
"message": "errorMessage",
|
|
5168
|
+
"properties": {
|
|
5169
|
+
"foo": "bar"
|
|
5170
|
+
}
|
|
5171
|
+
}
|
|
5172
|
+
}
|
|
5173
|
+
}
|
|
5174
|
+
}
|
|
5175
|
+
}
|
|
5176
|
+
},
|
|
5177
|
+
"401": {
|
|
5178
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
5179
|
+
"content": {
|
|
5180
|
+
"application/json": {
|
|
5181
|
+
"schema": {
|
|
5182
|
+
"$ref": "#/components/schemas/Error"
|
|
5183
|
+
},
|
|
5184
|
+
"examples": {
|
|
5185
|
+
"exampleResponse": {
|
|
5186
|
+
"value": {
|
|
5187
|
+
"name": "UnauthorizedError",
|
|
5188
|
+
"message": "errorMessage"
|
|
5189
|
+
}
|
|
5190
|
+
}
|
|
5191
|
+
}
|
|
5192
|
+
}
|
|
5193
|
+
}
|
|
5194
|
+
},
|
|
5195
|
+
"403": {
|
|
5196
|
+
"description": "The operation that you tried to perform is not possible, see the content for more details.",
|
|
5197
|
+
"content": {
|
|
5198
|
+
"application/json": {
|
|
5199
|
+
"schema": {
|
|
5200
|
+
"$ref": "#/components/schemas/Error"
|
|
5201
|
+
},
|
|
5202
|
+
"examples": {
|
|
5203
|
+
"exampleResponse": {
|
|
5204
|
+
"value": {
|
|
5205
|
+
"name": "ForbiddenError",
|
|
5206
|
+
"message": "errorMessage",
|
|
5207
|
+
"properties": {
|
|
5208
|
+
"foo": "bar"
|
|
5209
|
+
}
|
|
5210
|
+
}
|
|
5211
|
+
}
|
|
5212
|
+
}
|
|
5213
|
+
}
|
|
5214
|
+
}
|
|
5215
|
+
},
|
|
5216
|
+
"404": {
|
|
5217
|
+
"description": "The resource you tried to access does not exist, see the content for more details.",
|
|
5218
|
+
"content": {
|
|
5219
|
+
"application/json": {
|
|
5220
|
+
"schema": {
|
|
5221
|
+
"$ref": "#/components/schemas/NotFoundResponse"
|
|
5222
|
+
},
|
|
5223
|
+
"examples": {
|
|
5224
|
+
"exampleResponse": {
|
|
5225
|
+
"value": {
|
|
5226
|
+
"name": "NotFoundError",
|
|
5227
|
+
"message": "errorMessage",
|
|
5228
|
+
"properties": {
|
|
5229
|
+
"notFoundId": "1"
|
|
5230
|
+
}
|
|
5231
|
+
}
|
|
5232
|
+
}
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
5235
|
+
}
|
|
5236
|
+
},
|
|
5237
|
+
"500": {
|
|
5238
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
5239
|
+
"content": {
|
|
5240
|
+
"application/json": {
|
|
5241
|
+
"schema": {
|
|
5242
|
+
"$ref": "#/components/schemas/Error"
|
|
5243
|
+
},
|
|
5244
|
+
"examples": {
|
|
5245
|
+
"exampleResponse": {
|
|
5246
|
+
"value": {
|
|
5247
|
+
"name": "InternalServerError",
|
|
5248
|
+
"message": "errorMessage"
|
|
5249
|
+
}
|
|
5250
|
+
}
|
|
5251
|
+
}
|
|
5252
|
+
}
|
|
5253
|
+
}
|
|
5254
|
+
}
|
|
5255
|
+
}
|
|
5256
|
+
},
|
|
5257
|
+
"put": {
|
|
5258
|
+
"operationId": "identityProfileAdminUpdate",
|
|
5259
|
+
"summary": "Update the identity profile properties of another user",
|
|
5260
|
+
"tags": [
|
|
5261
|
+
"Identity Profile"
|
|
5262
|
+
],
|
|
5263
|
+
"parameters": [
|
|
5264
|
+
{
|
|
5265
|
+
"name": "userIdentity",
|
|
5266
|
+
"description": "The identity of the user whose profile is to be updated.",
|
|
5267
|
+
"in": "path",
|
|
5268
|
+
"required": true,
|
|
5269
|
+
"schema": {
|
|
5270
|
+
"type": "string"
|
|
5271
|
+
},
|
|
5272
|
+
"style": "simple",
|
|
5273
|
+
"example": "did:iota:tst:0xc57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70"
|
|
5274
|
+
}
|
|
5275
|
+
],
|
|
5276
|
+
"security": [
|
|
5277
|
+
{
|
|
5278
|
+
"jwtBearerAuthScheme": []
|
|
5279
|
+
}
|
|
5280
|
+
],
|
|
5281
|
+
"requestBody": {
|
|
5282
|
+
"description": "Request to update the profile of another user as an admin.",
|
|
5283
|
+
"required": true,
|
|
5284
|
+
"content": {
|
|
5285
|
+
"application/json": {
|
|
5286
|
+
"schema": {
|
|
5287
|
+
"$ref": "#/components/schemas/IdentityProfileAdminUpdateRequest"
|
|
5288
|
+
},
|
|
5289
|
+
"examples": {
|
|
5290
|
+
"identityProfileAdminUpdateRequestExample": {
|
|
5291
|
+
"value": {
|
|
5292
|
+
"publicProfile": {
|
|
5293
|
+
"@context": "https://schema.org",
|
|
5294
|
+
"@type": "Person",
|
|
5295
|
+
"jobTitle": "Professor",
|
|
5296
|
+
"name": "Jane Doe"
|
|
5297
|
+
},
|
|
5298
|
+
"privateProfile": {
|
|
5299
|
+
"@context": "https://schema.org",
|
|
5300
|
+
"@type": "Person",
|
|
5301
|
+
"telephone": "(425) 123-4567",
|
|
5302
|
+
"url": "http://www.janedoe.com"
|
|
5303
|
+
}
|
|
5304
|
+
}
|
|
5305
|
+
}
|
|
5306
|
+
}
|
|
5307
|
+
}
|
|
5308
|
+
}
|
|
5309
|
+
},
|
|
5310
|
+
"responses": {
|
|
5311
|
+
"204": {
|
|
5312
|
+
"description": "The rest request ended in success with no data."
|
|
5313
|
+
},
|
|
5314
|
+
"400": {
|
|
5315
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
5316
|
+
"content": {
|
|
5317
|
+
"application/json": {
|
|
5318
|
+
"schema": {
|
|
5319
|
+
"$ref": "#/components/schemas/Error"
|
|
5320
|
+
},
|
|
5321
|
+
"examples": {
|
|
5322
|
+
"exampleResponse": {
|
|
5323
|
+
"value": {
|
|
5324
|
+
"name": "GeneralError",
|
|
5325
|
+
"message": "errorMessage",
|
|
5326
|
+
"properties": {
|
|
5327
|
+
"foo": "bar"
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
}
|
|
5331
|
+
}
|
|
5332
|
+
}
|
|
5333
|
+
}
|
|
5334
|
+
},
|
|
5335
|
+
"401": {
|
|
5336
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
5337
|
+
"content": {
|
|
5338
|
+
"application/json": {
|
|
5339
|
+
"schema": {
|
|
5340
|
+
"$ref": "#/components/schemas/Error"
|
|
5341
|
+
},
|
|
5342
|
+
"examples": {
|
|
5343
|
+
"exampleResponse": {
|
|
5344
|
+
"value": {
|
|
5345
|
+
"name": "UnauthorizedError",
|
|
5346
|
+
"message": "errorMessage"
|
|
5347
|
+
}
|
|
5348
|
+
}
|
|
5349
|
+
}
|
|
5350
|
+
}
|
|
5351
|
+
}
|
|
5352
|
+
},
|
|
5353
|
+
"403": {
|
|
5354
|
+
"description": "The operation that you tried to perform is not possible, see the content for more details.",
|
|
5355
|
+
"content": {
|
|
5356
|
+
"application/json": {
|
|
5357
|
+
"schema": {
|
|
5358
|
+
"$ref": "#/components/schemas/Error"
|
|
5359
|
+
},
|
|
5360
|
+
"examples": {
|
|
5361
|
+
"exampleResponse": {
|
|
5362
|
+
"value": {
|
|
5363
|
+
"name": "ForbiddenError",
|
|
5364
|
+
"message": "errorMessage",
|
|
5365
|
+
"properties": {
|
|
5366
|
+
"foo": "bar"
|
|
5367
|
+
}
|
|
5368
|
+
}
|
|
5369
|
+
}
|
|
5370
|
+
}
|
|
5371
|
+
}
|
|
5372
|
+
}
|
|
5373
|
+
},
|
|
5374
|
+
"404": {
|
|
5375
|
+
"description": "The resource you tried to access does not exist, see the content for more details.",
|
|
5376
|
+
"content": {
|
|
5377
|
+
"application/json": {
|
|
5378
|
+
"schema": {
|
|
5379
|
+
"$ref": "#/components/schemas/NotFoundResponse"
|
|
5380
|
+
},
|
|
5381
|
+
"examples": {
|
|
5382
|
+
"exampleResponse": {
|
|
5383
|
+
"value": {
|
|
5384
|
+
"name": "NotFoundError",
|
|
5385
|
+
"message": "errorMessage",
|
|
5386
|
+
"properties": {
|
|
5387
|
+
"notFoundId": "1"
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
}
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
}
|
|
5394
|
+
},
|
|
5395
|
+
"500": {
|
|
5396
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
5397
|
+
"content": {
|
|
5398
|
+
"application/json": {
|
|
5399
|
+
"schema": {
|
|
5400
|
+
"$ref": "#/components/schemas/Error"
|
|
5401
|
+
},
|
|
5402
|
+
"examples": {
|
|
5403
|
+
"exampleResponse": {
|
|
5404
|
+
"value": {
|
|
5405
|
+
"name": "InternalServerError",
|
|
5406
|
+
"message": "errorMessage"
|
|
5407
|
+
}
|
|
5408
|
+
}
|
|
5409
|
+
}
|
|
5410
|
+
}
|
|
5411
|
+
}
|
|
5412
|
+
}
|
|
5413
|
+
}
|
|
5414
|
+
},
|
|
5415
|
+
"delete": {
|
|
5416
|
+
"operationId": "identityProfileAdminRemove",
|
|
5417
|
+
"summary": "Remove the identity profile of another user",
|
|
5418
|
+
"tags": [
|
|
5419
|
+
"Identity Profile"
|
|
5420
|
+
],
|
|
5421
|
+
"parameters": [
|
|
5422
|
+
{
|
|
5423
|
+
"name": "userIdentity",
|
|
5424
|
+
"description": "The identity of the user whose profile is to be removed.",
|
|
5425
|
+
"in": "path",
|
|
5426
|
+
"required": true,
|
|
5427
|
+
"schema": {
|
|
5428
|
+
"type": "string"
|
|
5429
|
+
},
|
|
5430
|
+
"style": "simple",
|
|
5431
|
+
"example": "did:iota:tst:0xc57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70"
|
|
5432
|
+
}
|
|
5433
|
+
],
|
|
5434
|
+
"security": [
|
|
5435
|
+
{
|
|
5436
|
+
"jwtBearerAuthScheme": []
|
|
5437
|
+
}
|
|
5438
|
+
],
|
|
5439
|
+
"responses": {
|
|
5440
|
+
"204": {
|
|
5441
|
+
"description": "The rest request ended in success with no data."
|
|
5442
|
+
},
|
|
5443
|
+
"400": {
|
|
5444
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
5445
|
+
"content": {
|
|
5446
|
+
"application/json": {
|
|
5447
|
+
"schema": {
|
|
5448
|
+
"$ref": "#/components/schemas/Error"
|
|
5449
|
+
},
|
|
5450
|
+
"examples": {
|
|
5451
|
+
"exampleResponse": {
|
|
5452
|
+
"value": {
|
|
5453
|
+
"name": "GeneralError",
|
|
5454
|
+
"message": "errorMessage",
|
|
5455
|
+
"properties": {
|
|
5456
|
+
"foo": "bar"
|
|
5457
|
+
}
|
|
5458
|
+
}
|
|
5459
|
+
}
|
|
5460
|
+
}
|
|
5461
|
+
}
|
|
5462
|
+
}
|
|
5463
|
+
},
|
|
5464
|
+
"401": {
|
|
5465
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
5466
|
+
"content": {
|
|
5467
|
+
"application/json": {
|
|
5468
|
+
"schema": {
|
|
5469
|
+
"$ref": "#/components/schemas/Error"
|
|
5470
|
+
},
|
|
5471
|
+
"examples": {
|
|
5472
|
+
"exampleResponse": {
|
|
5473
|
+
"value": {
|
|
5474
|
+
"name": "UnauthorizedError",
|
|
5475
|
+
"message": "errorMessage"
|
|
5476
|
+
}
|
|
5477
|
+
}
|
|
5478
|
+
}
|
|
5479
|
+
}
|
|
5480
|
+
}
|
|
5481
|
+
},
|
|
5482
|
+
"403": {
|
|
5483
|
+
"description": "The operation that you tried to perform is not possible, see the content for more details.",
|
|
5484
|
+
"content": {
|
|
5485
|
+
"application/json": {
|
|
5486
|
+
"schema": {
|
|
5487
|
+
"$ref": "#/components/schemas/Error"
|
|
5488
|
+
},
|
|
5489
|
+
"examples": {
|
|
5490
|
+
"exampleResponse": {
|
|
5491
|
+
"value": {
|
|
5492
|
+
"name": "ForbiddenError",
|
|
5493
|
+
"message": "errorMessage",
|
|
5494
|
+
"properties": {
|
|
5495
|
+
"foo": "bar"
|
|
5496
|
+
}
|
|
5497
|
+
}
|
|
5498
|
+
}
|
|
5499
|
+
}
|
|
5500
|
+
}
|
|
5501
|
+
}
|
|
5502
|
+
},
|
|
5503
|
+
"404": {
|
|
5504
|
+
"description": "The resource you tried to access does not exist, see the content for more details.",
|
|
5505
|
+
"content": {
|
|
5506
|
+
"application/json": {
|
|
5507
|
+
"schema": {
|
|
5508
|
+
"$ref": "#/components/schemas/NotFoundResponse"
|
|
5509
|
+
},
|
|
5510
|
+
"examples": {
|
|
5511
|
+
"exampleResponse": {
|
|
5512
|
+
"value": {
|
|
5513
|
+
"name": "NotFoundError",
|
|
5514
|
+
"message": "errorMessage",
|
|
5515
|
+
"properties": {
|
|
5516
|
+
"notFoundId": "1"
|
|
5517
|
+
}
|
|
5518
|
+
}
|
|
5519
|
+
}
|
|
5520
|
+
}
|
|
5521
|
+
}
|
|
5522
|
+
}
|
|
5523
|
+
},
|
|
5524
|
+
"500": {
|
|
5525
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
5526
|
+
"content": {
|
|
5527
|
+
"application/json": {
|
|
5528
|
+
"schema": {
|
|
5529
|
+
"$ref": "#/components/schemas/Error"
|
|
5530
|
+
},
|
|
5531
|
+
"examples": {
|
|
5532
|
+
"exampleResponse": {
|
|
5533
|
+
"value": {
|
|
5534
|
+
"name": "InternalServerError",
|
|
5535
|
+
"message": "errorMessage"
|
|
5536
|
+
}
|
|
5537
|
+
}
|
|
5538
|
+
}
|
|
5539
|
+
}
|
|
5540
|
+
}
|
|
5541
|
+
}
|
|
5542
|
+
}
|
|
5543
|
+
}
|
|
5544
|
+
},
|
|
5064
5545
|
"/identity/profile/{identity}/public": {
|
|
5065
5546
|
"get": {
|
|
5066
5547
|
"operationId": "identityProfileGetPublic",
|
|
@@ -5345,6 +5826,189 @@
|
|
|
5345
5826
|
}
|
|
5346
5827
|
}
|
|
5347
5828
|
},
|
|
5829
|
+
"/identity/profile/admin/query": {
|
|
5830
|
+
"get": {
|
|
5831
|
+
"operationId": "identitiesProfileAdminList",
|
|
5832
|
+
"summary": "Get the list of profile data for identities including private properties",
|
|
5833
|
+
"tags": [
|
|
5834
|
+
"Identity Profile"
|
|
5835
|
+
],
|
|
5836
|
+
"parameters": [
|
|
5837
|
+
{
|
|
5838
|
+
"name": "publicFilters",
|
|
5839
|
+
"description": "The public filters to apply to the list, comma separated list with colon between key and value for each pair e.g. prop1:value1,prop2:value2.",
|
|
5840
|
+
"in": "query",
|
|
5841
|
+
"required": false,
|
|
5842
|
+
"schema": {
|
|
5843
|
+
"type": "string"
|
|
5844
|
+
}
|
|
5845
|
+
},
|
|
5846
|
+
{
|
|
5847
|
+
"name": "privateFilters",
|
|
5848
|
+
"description": "The private filters to apply to the list, comma separated list with colon between key and value for each pair e.g. prop1:value1,prop2:value2.",
|
|
5849
|
+
"in": "query",
|
|
5850
|
+
"required": false,
|
|
5851
|
+
"schema": {
|
|
5852
|
+
"type": "string"
|
|
5853
|
+
}
|
|
5854
|
+
},
|
|
5855
|
+
{
|
|
5856
|
+
"name": "publicPropertyNames",
|
|
5857
|
+
"description": "The public properties to get for the profile, defaults to all, should be a comma separated list.",
|
|
5858
|
+
"in": "query",
|
|
5859
|
+
"required": false,
|
|
5860
|
+
"schema": {
|
|
5861
|
+
"type": "string"
|
|
5862
|
+
}
|
|
5863
|
+
},
|
|
5864
|
+
{
|
|
5865
|
+
"name": "privatePropertyNames",
|
|
5866
|
+
"description": "The private properties to get for the profile, defaults to none, should be a comma separated list.",
|
|
5867
|
+
"in": "query",
|
|
5868
|
+
"required": false,
|
|
5869
|
+
"schema": {
|
|
5870
|
+
"type": "string"
|
|
5871
|
+
}
|
|
5872
|
+
},
|
|
5873
|
+
{
|
|
5874
|
+
"name": "cursor",
|
|
5875
|
+
"description": "The cursor for paged requests.",
|
|
5876
|
+
"in": "query",
|
|
5877
|
+
"required": false,
|
|
5878
|
+
"schema": {
|
|
5879
|
+
"type": "string"
|
|
5880
|
+
}
|
|
5881
|
+
},
|
|
5882
|
+
{
|
|
5883
|
+
"name": "limit",
|
|
5884
|
+
"description": "Number of items to return.",
|
|
5885
|
+
"in": "query",
|
|
5886
|
+
"required": false,
|
|
5887
|
+
"schema": {
|
|
5888
|
+
"type": "string"
|
|
5889
|
+
}
|
|
5890
|
+
}
|
|
5891
|
+
],
|
|
5892
|
+
"security": [
|
|
5893
|
+
{
|
|
5894
|
+
"jwtBearerAuthScheme": []
|
|
5895
|
+
}
|
|
5896
|
+
],
|
|
5897
|
+
"responses": {
|
|
5898
|
+
"200": {
|
|
5899
|
+
"description": "Response to get an admin list of identities including private profile data.",
|
|
5900
|
+
"content": {
|
|
5901
|
+
"application/json": {
|
|
5902
|
+
"schema": {
|
|
5903
|
+
"$ref": "#/components/schemas/IdentityProfileAdminListResponse"
|
|
5904
|
+
},
|
|
5905
|
+
"examples": {
|
|
5906
|
+
"identitiesProfileAdminListResponseExample": {
|
|
5907
|
+
"value": {
|
|
5908
|
+
"items": [
|
|
5909
|
+
{
|
|
5910
|
+
"identity": "did:iota:tst:0xc57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
5911
|
+
"publicProfile": {
|
|
5912
|
+
"@context": "https://schema.org",
|
|
5913
|
+
"@type": "Person",
|
|
5914
|
+
"jobTitle": "Professor",
|
|
5915
|
+
"name": "Jane Doe"
|
|
5916
|
+
},
|
|
5917
|
+
"privateProfile": {
|
|
5918
|
+
"@context": "https://schema.org",
|
|
5919
|
+
"@type": "Person",
|
|
5920
|
+
"telephone": "(425) 123-4567"
|
|
5921
|
+
}
|
|
5922
|
+
}
|
|
5923
|
+
],
|
|
5924
|
+
"cursor": "1"
|
|
5925
|
+
}
|
|
5926
|
+
}
|
|
5927
|
+
}
|
|
5928
|
+
}
|
|
5929
|
+
}
|
|
5930
|
+
},
|
|
5931
|
+
"400": {
|
|
5932
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
5933
|
+
"content": {
|
|
5934
|
+
"application/json": {
|
|
5935
|
+
"schema": {
|
|
5936
|
+
"$ref": "#/components/schemas/Error"
|
|
5937
|
+
},
|
|
5938
|
+
"examples": {
|
|
5939
|
+
"exampleResponse": {
|
|
5940
|
+
"value": {
|
|
5941
|
+
"name": "GeneralError",
|
|
5942
|
+
"message": "errorMessage",
|
|
5943
|
+
"properties": {
|
|
5944
|
+
"foo": "bar"
|
|
5945
|
+
}
|
|
5946
|
+
}
|
|
5947
|
+
}
|
|
5948
|
+
}
|
|
5949
|
+
}
|
|
5950
|
+
}
|
|
5951
|
+
},
|
|
5952
|
+
"401": {
|
|
5953
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
5954
|
+
"content": {
|
|
5955
|
+
"application/json": {
|
|
5956
|
+
"schema": {
|
|
5957
|
+
"$ref": "#/components/schemas/Error"
|
|
5958
|
+
},
|
|
5959
|
+
"examples": {
|
|
5960
|
+
"exampleResponse": {
|
|
5961
|
+
"value": {
|
|
5962
|
+
"name": "UnauthorizedError",
|
|
5963
|
+
"message": "errorMessage"
|
|
5964
|
+
}
|
|
5965
|
+
}
|
|
5966
|
+
}
|
|
5967
|
+
}
|
|
5968
|
+
}
|
|
5969
|
+
},
|
|
5970
|
+
"403": {
|
|
5971
|
+
"description": "The operation that you tried to perform is not possible, see the content for more details.",
|
|
5972
|
+
"content": {
|
|
5973
|
+
"application/json": {
|
|
5974
|
+
"schema": {
|
|
5975
|
+
"$ref": "#/components/schemas/Error"
|
|
5976
|
+
},
|
|
5977
|
+
"examples": {
|
|
5978
|
+
"exampleResponse": {
|
|
5979
|
+
"value": {
|
|
5980
|
+
"name": "ForbiddenError",
|
|
5981
|
+
"message": "errorMessage",
|
|
5982
|
+
"properties": {
|
|
5983
|
+
"foo": "bar"
|
|
5984
|
+
}
|
|
5985
|
+
}
|
|
5986
|
+
}
|
|
5987
|
+
}
|
|
5988
|
+
}
|
|
5989
|
+
}
|
|
5990
|
+
},
|
|
5991
|
+
"500": {
|
|
5992
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
5993
|
+
"content": {
|
|
5994
|
+
"application/json": {
|
|
5995
|
+
"schema": {
|
|
5996
|
+
"$ref": "#/components/schemas/Error"
|
|
5997
|
+
},
|
|
5998
|
+
"examples": {
|
|
5999
|
+
"exampleResponse": {
|
|
6000
|
+
"value": {
|
|
6001
|
+
"name": "InternalServerError",
|
|
6002
|
+
"message": "errorMessage"
|
|
6003
|
+
}
|
|
6004
|
+
}
|
|
6005
|
+
}
|
|
6006
|
+
}
|
|
6007
|
+
}
|
|
6008
|
+
}
|
|
6009
|
+
}
|
|
6010
|
+
}
|
|
6011
|
+
},
|
|
5348
6012
|
"/blob-storage": {
|
|
5349
6013
|
"post": {
|
|
5350
6014
|
"operationId": "blobStorageCreate",
|
|
@@ -12506,7 +13170,7 @@
|
|
|
12506
13170
|
}
|
|
12507
13171
|
],
|
|
12508
13172
|
"requestBody": {
|
|
12509
|
-
"description": "Update an auditable item graph vertex (PUT
|
|
13173
|
+
"description": "Update an auditable item graph vertex (PUT - full replacement of vertex state).",
|
|
12510
13174
|
"required": true,
|
|
12511
13175
|
"content": {
|
|
12512
13176
|
"application/json": {
|
|
@@ -12688,7 +13352,7 @@
|
|
|
12688
13352
|
}
|
|
12689
13353
|
],
|
|
12690
13354
|
"requestBody": {
|
|
12691
|
-
"description": "Partially update an auditable item graph vertex (PATCH
|
|
13355
|
+
"description": "Partially update an auditable item graph vertex (PATCH - explicit list patches).",
|
|
12692
13356
|
"required": true,
|
|
12693
13357
|
"content": {
|
|
12694
13358
|
"application/json": {
|
|
@@ -17233,7 +17897,8 @@
|
|
|
17233
17897
|
"version": "2025-1",
|
|
17234
17898
|
"path": "/dataspace-control-plane/2025-1",
|
|
17235
17899
|
"binding": "HTTPS",
|
|
17236
|
-
"
|
|
17900
|
+
"identifierType": "did:iota",
|
|
17901
|
+
"serviceId": "iota/twin.org/dspace-connector"
|
|
17237
17902
|
}
|
|
17238
17903
|
]
|
|
17239
17904
|
}
|
|
@@ -17999,7 +18664,7 @@
|
|
|
17999
18664
|
}
|
|
18000
18665
|
],
|
|
18001
18666
|
"requestBody": {
|
|
18002
|
-
"description": "API request to register an app dataset.\n\nThe owning `tenantId` is captured automatically from the request's tenant\ncontext
|
|
18667
|
+
"description": "API request to register an app dataset.\n\nThe owning `tenantId` is captured automatically from the request's tenant\ncontext - callers do not supply it.",
|
|
18003
18668
|
"required": true,
|
|
18004
18669
|
"content": {
|
|
18005
18670
|
"application/json": {
|
|
@@ -18726,6 +19391,15 @@
|
|
|
18726
19391
|
"type": "string"
|
|
18727
19392
|
},
|
|
18728
19393
|
"example": "optional-pagination-cursor"
|
|
19394
|
+
},
|
|
19395
|
+
{
|
|
19396
|
+
"name": "properties",
|
|
19397
|
+
"description": "Comma-separated list of policy property names to include in the response.",
|
|
19398
|
+
"in": "query",
|
|
19399
|
+
"required": false,
|
|
19400
|
+
"schema": {
|
|
19401
|
+
"type": "string"
|
|
19402
|
+
}
|
|
18729
19403
|
}
|
|
18730
19404
|
],
|
|
18731
19405
|
"security": [
|
|
@@ -22478,9 +23152,15 @@
|
|
|
22478
23152
|
"type": "string",
|
|
22479
23153
|
"description": "The description of the component as an i18n key."
|
|
22480
23154
|
},
|
|
23155
|
+
"category": {
|
|
23156
|
+
"$ref": "#/components/schemas/HealthCategory"
|
|
23157
|
+
},
|
|
22481
23158
|
"status": {
|
|
22482
23159
|
"$ref": "#/components/schemas/HealthStatus"
|
|
22483
23160
|
},
|
|
23161
|
+
"error": {
|
|
23162
|
+
"$ref": "#/components/schemas/Error"
|
|
23163
|
+
},
|
|
22484
23164
|
"message": {
|
|
22485
23165
|
"type": "string",
|
|
22486
23166
|
"description": "The message for the status if there are further details to provide as an i18n key."
|
|
@@ -22503,6 +23183,19 @@
|
|
|
22503
23183
|
"status"
|
|
22504
23184
|
]
|
|
22505
23185
|
},
|
|
23186
|
+
"HealthCategory": {
|
|
23187
|
+
"description": "The category of a health check.",
|
|
23188
|
+
"anyOf": [
|
|
23189
|
+
{
|
|
23190
|
+
"const": "connectivity",
|
|
23191
|
+
"description": "Connectivity health check for infrastructure connectors."
|
|
23192
|
+
},
|
|
23193
|
+
{
|
|
23194
|
+
"const": "application",
|
|
23195
|
+
"description": "Application health check for domain services."
|
|
23196
|
+
}
|
|
23197
|
+
]
|
|
23198
|
+
},
|
|
22506
23199
|
"HealthStatus": {
|
|
22507
23200
|
"description": "The health status of the component.",
|
|
22508
23201
|
"anyOf": [
|
|
@@ -22543,6 +23236,47 @@
|
|
|
22543
23236
|
},
|
|
22544
23237
|
"description": "The data for the request."
|
|
22545
23238
|
},
|
|
23239
|
+
"IdentityProfileAdminListResponse": {
|
|
23240
|
+
"type": "object",
|
|
23241
|
+
"properties": {
|
|
23242
|
+
"items": {
|
|
23243
|
+
"type": "array",
|
|
23244
|
+
"items": {
|
|
23245
|
+
"type": "object",
|
|
23246
|
+
"properties": {
|
|
23247
|
+
"identity": {
|
|
23248
|
+
"type": "string",
|
|
23249
|
+
"description": "The identity."
|
|
23250
|
+
}
|
|
23251
|
+
},
|
|
23252
|
+
"required": [
|
|
23253
|
+
"identity"
|
|
23254
|
+
]
|
|
23255
|
+
},
|
|
23256
|
+
"description": "The identities."
|
|
23257
|
+
},
|
|
23258
|
+
"cursor": {
|
|
23259
|
+
"type": "string",
|
|
23260
|
+
"description": "An optional cursor, when defined can be used to call find to get more entities."
|
|
23261
|
+
}
|
|
23262
|
+
},
|
|
23263
|
+
"required": [
|
|
23264
|
+
"items"
|
|
23265
|
+
],
|
|
23266
|
+
"description": "The response payload."
|
|
23267
|
+
},
|
|
23268
|
+
"IdentityProfileAdminUpdateRequest": {
|
|
23269
|
+
"type": "object",
|
|
23270
|
+
"properties": {
|
|
23271
|
+
"publicProfile": {
|
|
23272
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdDocument"
|
|
23273
|
+
},
|
|
23274
|
+
"privateProfile": {
|
|
23275
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdDocument"
|
|
23276
|
+
}
|
|
23277
|
+
},
|
|
23278
|
+
"description": "The data for the request."
|
|
23279
|
+
},
|
|
22546
23280
|
"IdentityProfileCreateRequest": {
|
|
22547
23281
|
"type": "object",
|
|
22548
23282
|
"properties": {
|
|
@@ -23562,11 +24296,11 @@
|
|
|
23562
24296
|
"properties": {
|
|
23563
24297
|
"dateCreated": {
|
|
23564
24298
|
"type": "string",
|
|
23565
|
-
"description": "schema.org dateCreated
|
|
24299
|
+
"description": "schema.org dateCreated - ISO 8601 date-time set by PAP on create."
|
|
23566
24300
|
},
|
|
23567
24301
|
"dateModified": {
|
|
23568
24302
|
"type": "string",
|
|
23569
|
-
"description": "schema.org dateModified
|
|
24303
|
+
"description": "schema.org dateModified - ISO 8601 date-time set by PAP on create and update."
|
|
23570
24304
|
}
|
|
23571
24305
|
}
|
|
23572
24306
|
},
|