@twin.org/node 0.9.2-next.10 → 0.9.2-next.12
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 +45 -5
- package/docs/changelog.md +29 -0
- package/docs/open-api/spec.json +690 -0
- package/package.json +2 -2
package/dist/locales/en.json
CHANGED
|
@@ -318,7 +318,8 @@
|
|
|
318
318
|
"updateUserFailed": "Updating the user failed",
|
|
319
319
|
"removeUserFailed": "Removing the user failed",
|
|
320
320
|
"updatePasswordFailed": "Updating the user's password failed",
|
|
321
|
-
"userNotFound": "The user with the specified e-mail could not be found \"{notFoundId}\""
|
|
321
|
+
"userNotFound": "The user with the specified e-mail could not be found \"{notFoundId}\"",
|
|
322
|
+
"insufficientScopeForEscalatedPrivilege": "Caller does not hold the required scope \"{scopeName}\" to assign a role with escalated privilege."
|
|
322
323
|
},
|
|
323
324
|
"authHeaderProcessor": {
|
|
324
325
|
"nodeIdNotSet": "The node ID has not been set"
|
|
@@ -400,6 +401,10 @@
|
|
|
400
401
|
"apiKeyNotFound": "No tenant found for API key \"{key}\".",
|
|
401
402
|
"organizationIdNotFound": "No tenant found for organization ID \"{organizationId}\"."
|
|
402
403
|
},
|
|
404
|
+
"tenantOverrideProcessor": {
|
|
405
|
+
"insufficientScopeForTenantOverride": "Caller does not hold the required scope for tenant override.",
|
|
406
|
+
"tenantNotFound": "Tenant \"{notFoundId}\" not found."
|
|
407
|
+
},
|
|
403
408
|
"singleTenantProcessor": {
|
|
404
409
|
"invalidOrganizationId": "Organization ID query parameter \"{paramName}\" value \"{value}\" is not valid for this node"
|
|
405
410
|
},
|
|
@@ -743,7 +748,8 @@
|
|
|
743
748
|
"datasetWrongOrganization": "The calling organization does not own this dataset.",
|
|
744
749
|
"transferWrongOrganization": "The calling organization does not own this transfer.",
|
|
745
750
|
"invalidDatasetId": "Dataset ID \"{id}\" is not a valid URN or URL",
|
|
746
|
-
"providerTransferTerminateFailed": "Failed to terminate a provider transfer for a lifecycle policy (consumerPid: {consumerPid})"
|
|
751
|
+
"providerTransferTerminateFailed": "Failed to terminate a provider transfer for a lifecycle policy (consumerPid: {consumerPid})",
|
|
752
|
+
"agreementSweepRemoveFailed": "Failed to remove an agreement during the sweep (agreementId: {agreementId})"
|
|
747
753
|
},
|
|
748
754
|
"dataspaceControlPlanePolicyRequester": {},
|
|
749
755
|
"httpDataPullTransferHandler": {
|
|
@@ -1123,7 +1129,8 @@
|
|
|
1123
1129
|
"updateFailed": "Updating the identity profile failed \"{identity}\"",
|
|
1124
1130
|
"notFound": "The identity profile could not be found \"{notFoundId}\"",
|
|
1125
1131
|
"removeFailed": "Removing the identity profile failed \"{identity}\"",
|
|
1126
|
-
"listFailed": "Failed listing identities"
|
|
1132
|
+
"listFailed": "Failed listing identities",
|
|
1133
|
+
"listAdminFailed": "Failed listing identities with private data"
|
|
1127
1134
|
},
|
|
1128
1135
|
"immutableProofService": {
|
|
1129
1136
|
"namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the Immutable Proof service \"{namespace}\"",
|
|
@@ -1502,6 +1509,36 @@
|
|
|
1502
1509
|
"pushSubscriptionNotFoundForActivity": "Push subscription not found for outbound activity (consumerPid: {consumerPid})",
|
|
1503
1510
|
"transferRetrievalRecordFailed": "Failed to record the transfer retrieval (consumerPid: {consumerPid})"
|
|
1504
1511
|
},
|
|
1512
|
+
"cosmosDbEntityStorageConnector": {
|
|
1513
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1514
|
+
},
|
|
1515
|
+
"dynamoDbEntityStorageConnector": {
|
|
1516
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1517
|
+
},
|
|
1518
|
+
"fileEntityStorageConnector": {
|
|
1519
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1520
|
+
},
|
|
1521
|
+
"firestoreEntityStorageConnector": {
|
|
1522
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1523
|
+
},
|
|
1524
|
+
"memoryEntityStorageConnector": {
|
|
1525
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1526
|
+
},
|
|
1527
|
+
"mongoDbEntityStorageConnector": {
|
|
1528
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1529
|
+
},
|
|
1530
|
+
"mySqlEntityStorageConnector": {
|
|
1531
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1532
|
+
},
|
|
1533
|
+
"postgreSqlEntityStorageConnector": {
|
|
1534
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1535
|
+
},
|
|
1536
|
+
"scyllaDBTableConnector": {
|
|
1537
|
+
"partitionIdsSkipped": "Skipping partition ids whose depth does not match the {expected} configured partition keys: {partitionIds}. Entities in these partitions are ignored by migration."
|
|
1538
|
+
},
|
|
1539
|
+
"schemaVersionService": {
|
|
1540
|
+
"migrationDisabled": "Schema migration is disabled. Schema \"{schemaName}\" requires migration from version {from} to {to}. Continuing without migration may cause errors."
|
|
1541
|
+
},
|
|
1505
1542
|
"immutableProofService": {
|
|
1506
1543
|
"taskRecordRemoveFailed": "Removing the completed task record for proof \"{proofId}\" failed, the record will be removed when its retention expires",
|
|
1507
1544
|
"orphanedTaskRemoveFailed": "Removing the background task \"{taskId}\" for proof \"{proofId}\" failed after the proof entity could not be persisted; the task will still run to completion",
|
|
@@ -2441,7 +2478,9 @@
|
|
|
2441
2478
|
"stalledTransfersCleanupComplete": "Stalled transfers cleanup completed (cleanedUp: {cleanedUp})",
|
|
2442
2479
|
"providerTransferPolicySweepComplete": "Provider transfer policy sweep completed (terminated: {terminated})",
|
|
2443
2480
|
"preparingTransfer": "Preparing consumer-initiated data transfer (agreementId: {agreementId}, providerEndpoint: {providerEndpoint}, format: {format})",
|
|
2444
|
-
"transferPrepared": "Consumer data transfer prepared successfully (consumerPid: {consumerPid}, providerPid: {providerPid}, agreementId: {agreementId}, format: {format})"
|
|
2481
|
+
"transferPrepared": "Consumer data transfer prepared successfully (consumerPid: {consumerPid}, providerPid: {providerPid}, agreementId: {agreementId}, format: {format})",
|
|
2482
|
+
"agreementSwept": "Unused agreement removed by the sweep (agreementId: {agreementId}, reason: {reason})",
|
|
2483
|
+
"agreementSweepComplete": "Agreement sweep completed (scanned: {scanned}, skipped: {skipped}, candidates: {candidates}, swept: {swept})"
|
|
2445
2484
|
},
|
|
2446
2485
|
"dataspaceControlPlanePolicyRequester": {
|
|
2447
2486
|
"offerReceived": "Offer received from provider (negotiationId: {negotiationId}, offerId: {offerId})",
|
|
@@ -2908,7 +2947,8 @@
|
|
|
2908
2947
|
"auditableItemGraphService": {},
|
|
2909
2948
|
"debug": {
|
|
2910
2949
|
"dataspaceControlPlaneService": {
|
|
2911
|
-
"engineCloneStart": "Skipping control plane startup tasks (engine clone or no engine)"
|
|
2950
|
+
"engineCloneStart": "Skipping control plane startup tasks (engine clone or no engine)",
|
|
2951
|
+
"agreementSweepSkipped": "Agreement excluded from the sweep (agreementId: {agreementId}, reason: {reason})"
|
|
2912
2952
|
},
|
|
2913
2953
|
"dataspaceDataPlaneService": {
|
|
2914
2954
|
"newActivity": "New Activity of type \"{activityType}\" notified by \"{generator}\"",
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.2-next.12](https://github.com/iotaledger/twin-node/compare/node-v0.9.2-next.11...node-v0.9.2-next.12) (2026-08-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add dsp sweep vars ([#340](https://github.com/iotaledger/twin-node/issues/340)) ([5487c13](https://github.com/iotaledger/twin-node/commit/5487c13197fcd386206ec37f9f342c55ec5b1176))
|
|
9
|
+
* rest metrics ([#341](https://github.com/iotaledger/twin-node/issues/341)) ([ebec573](https://github.com/iotaledger/twin-node/commit/ebec5736bb66adfd97f7d73912bec1ce7392e5f8))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Dependencies
|
|
13
|
+
|
|
14
|
+
* The following workspace dependencies were updated
|
|
15
|
+
* dependencies
|
|
16
|
+
* @twin.org/node-core bumped from 0.9.2-next.11 to 0.9.2-next.12
|
|
17
|
+
|
|
18
|
+
## [0.9.2-next.11](https://github.com/iotaledger/twin-node/compare/node-v0.9.2-next.10...node-v0.9.2-next.11) (2026-08-14)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* add tenant override ([#337](https://github.com/iotaledger/twin-node/issues/337)) ([b4ea765](https://github.com/iotaledger/twin-node/commit/b4ea7656e2557c19053365dd5d4af14d0d945cd5))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* The following workspace dependencies were updated
|
|
29
|
+
* dependencies
|
|
30
|
+
* @twin.org/node-core bumped from 0.9.2-next.10 to 0.9.2-next.11
|
|
31
|
+
|
|
3
32
|
## [0.9.2-next.10](https://github.com/iotaledger/twin-node/compare/node-v0.9.2-next.9...node-v0.9.2-next.10) (2026-08-12)
|
|
4
33
|
|
|
5
34
|
|
package/docs/open-api/spec.json
CHANGED
|
@@ -5085,6 +5085,463 @@
|
|
|
5085
5085
|
}
|
|
5086
5086
|
}
|
|
5087
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
|
+
},
|
|
5088
5545
|
"/identity/profile/{identity}/public": {
|
|
5089
5546
|
"get": {
|
|
5090
5547
|
"operationId": "identityProfileGetPublic",
|
|
@@ -5369,6 +5826,189 @@
|
|
|
5369
5826
|
}
|
|
5370
5827
|
}
|
|
5371
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
|
+
},
|
|
5372
6012
|
"/blob-storage": {
|
|
5373
6013
|
"post": {
|
|
5374
6014
|
"operationId": "blobStorageCreate",
|
|
@@ -18751,6 +19391,15 @@
|
|
|
18751
19391
|
"type": "string"
|
|
18752
19392
|
},
|
|
18753
19393
|
"example": "optional-pagination-cursor"
|
|
19394
|
+
},
|
|
19395
|
+
{
|
|
19396
|
+
"name": "properties",
|
|
19397
|
+
"description": "Comma-separated list of policy property names to include in the response, the policy \"@id\" is always included.",
|
|
19398
|
+
"in": "query",
|
|
19399
|
+
"required": false,
|
|
19400
|
+
"schema": {
|
|
19401
|
+
"type": "string"
|
|
19402
|
+
}
|
|
18754
19403
|
}
|
|
18755
19404
|
],
|
|
18756
19405
|
"security": [
|
|
@@ -22587,6 +23236,47 @@
|
|
|
22587
23236
|
},
|
|
22588
23237
|
"description": "The data for the request."
|
|
22589
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
|
+
},
|
|
22590
23280
|
"IdentityProfileCreateRequest": {
|
|
22591
23281
|
"type": "object",
|
|
22592
23282
|
"properties": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/node",
|
|
3
|
-
"version": "0.9.2-next.
|
|
3
|
+
"version": "0.9.2-next.12",
|
|
4
4
|
"description": "TWIN Node serving APIs using the specified configuration",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"node": ">=24.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/node-core": "0.9.2-next.
|
|
17
|
+
"@twin.org/node-core": "0.9.2-next.12"
|
|
18
18
|
},
|
|
19
19
|
"bugs": {
|
|
20
20
|
"url": "git+https://github.com/iotaledger/twin-node/issues"
|