@digdir/dialogporten-schema 1.67.0 → 1.67.1-d20317e
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/package.json +1 -1
- package/swagger.verified.json +339 -1
package/package.json
CHANGED
package/swagger.verified.json
CHANGED
|
@@ -2461,6 +2461,14 @@
|
|
|
2461
2461
|
"nullable": true,
|
|
2462
2462
|
"type": "array"
|
|
2463
2463
|
},
|
|
2464
|
+
"serviceOwnerContext": {
|
|
2465
|
+
"nullable": true,
|
|
2466
|
+
"oneOf": [
|
|
2467
|
+
{
|
|
2468
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_DialogServiceOwnerContext"
|
|
2469
|
+
}
|
|
2470
|
+
]
|
|
2471
|
+
},
|
|
2464
2472
|
"serviceResource": {
|
|
2465
2473
|
"description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a resource in the Altinn Resource Registry, which the authenticated organization\nmust own, i.e., be listed as the \u0022competent authority\u0022 in the Resource Registry entry.",
|
|
2466
2474
|
"example": "urn:altinn:resource:some-service-identifier",
|
|
@@ -2508,6 +2516,20 @@
|
|
|
2508
2516
|
},
|
|
2509
2517
|
"type": "object"
|
|
2510
2518
|
},
|
|
2519
|
+
"V1ServiceOwnerDialogsCommandsCreate_DialogServiceOwnerContext": {
|
|
2520
|
+
"additionalProperties": false,
|
|
2521
|
+
"properties": {
|
|
2522
|
+
"serviceOwnerLabels": {
|
|
2523
|
+
"description": "A list of labels, not visible in end-user APIs.",
|
|
2524
|
+
"items": {
|
|
2525
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsCommandsCreate_ServiceOwnerLabel"
|
|
2526
|
+
},
|
|
2527
|
+
"nullable": true,
|
|
2528
|
+
"type": "array"
|
|
2529
|
+
}
|
|
2530
|
+
},
|
|
2531
|
+
"type": "object"
|
|
2532
|
+
},
|
|
2511
2533
|
"V1ServiceOwnerDialogsCommandsCreate_GuiAction": {
|
|
2512
2534
|
"additionalProperties": false,
|
|
2513
2535
|
"properties": {
|
|
@@ -2574,6 +2596,16 @@
|
|
|
2574
2596
|
},
|
|
2575
2597
|
"type": "object"
|
|
2576
2598
|
},
|
|
2599
|
+
"V1ServiceOwnerDialogsCommandsCreate_ServiceOwnerLabel": {
|
|
2600
|
+
"additionalProperties": false,
|
|
2601
|
+
"properties": {
|
|
2602
|
+
"value": {
|
|
2603
|
+
"description": "A label value.",
|
|
2604
|
+
"type": "string"
|
|
2605
|
+
}
|
|
2606
|
+
},
|
|
2607
|
+
"type": "object"
|
|
2608
|
+
},
|
|
2577
2609
|
"V1ServiceOwnerDialogsCommandsCreate_Tag": {
|
|
2578
2610
|
"additionalProperties": false,
|
|
2579
2611
|
"properties": {
|
|
@@ -3655,6 +3687,9 @@
|
|
|
3655
3687
|
"nullable": true,
|
|
3656
3688
|
"type": "array"
|
|
3657
3689
|
},
|
|
3690
|
+
"serviceOwnerContext": {
|
|
3691
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerContext"
|
|
3692
|
+
},
|
|
3658
3693
|
"serviceResource": {
|
|
3659
3694
|
"description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a service resource in the Altinn Resource Registry.",
|
|
3660
3695
|
"example": "urn:altinn:resource:some-service-identifier",
|
|
@@ -4013,6 +4048,30 @@
|
|
|
4013
4048
|
},
|
|
4014
4049
|
"type": "object"
|
|
4015
4050
|
},
|
|
4051
|
+
"V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerContext": {
|
|
4052
|
+
"additionalProperties": false,
|
|
4053
|
+
"properties": {
|
|
4054
|
+
"serviceOwnerLabels": {
|
|
4055
|
+
"description": "A list of labels, not visible in end-user APIs.",
|
|
4056
|
+
"items": {
|
|
4057
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerLabel"
|
|
4058
|
+
},
|
|
4059
|
+
"nullable": true,
|
|
4060
|
+
"type": "array"
|
|
4061
|
+
}
|
|
4062
|
+
},
|
|
4063
|
+
"type": "object"
|
|
4064
|
+
},
|
|
4065
|
+
"V1ServiceOwnerDialogsQueriesGet_DialogServiceOwnerLabel": {
|
|
4066
|
+
"additionalProperties": false,
|
|
4067
|
+
"properties": {
|
|
4068
|
+
"value": {
|
|
4069
|
+
"description": "A label value.",
|
|
4070
|
+
"type": "string"
|
|
4071
|
+
}
|
|
4072
|
+
},
|
|
4073
|
+
"type": "object"
|
|
4074
|
+
},
|
|
4016
4075
|
"V1ServiceOwnerDialogsQueriesGet_DialogTransmission": {
|
|
4017
4076
|
"additionalProperties": false,
|
|
4018
4077
|
"properties": {
|
|
@@ -4347,6 +4406,9 @@
|
|
|
4347
4406
|
"nullable": true,
|
|
4348
4407
|
"type": "array"
|
|
4349
4408
|
},
|
|
4409
|
+
"serviceOwnerContext": {
|
|
4410
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_DialogServiceOwnerContext"
|
|
4411
|
+
},
|
|
4350
4412
|
"serviceResource": {
|
|
4351
4413
|
"description": "The service identifier for the service that the dialog is related to in URN-format.\nThis corresponds to a service resource in the Altinn Resource Registry.",
|
|
4352
4414
|
"example": "urn:altinn:resource:some-service-identifier",
|
|
@@ -4473,6 +4535,30 @@
|
|
|
4473
4535
|
},
|
|
4474
4536
|
"type": "object"
|
|
4475
4537
|
},
|
|
4538
|
+
"V1ServiceOwnerDialogsQueriesSearch_DialogServiceOwnerContext": {
|
|
4539
|
+
"additionalProperties": false,
|
|
4540
|
+
"properties": {
|
|
4541
|
+
"serviceOwnerLabels": {
|
|
4542
|
+
"description": "A list of labels, not visible in end-user APIs.",
|
|
4543
|
+
"items": {
|
|
4544
|
+
"$ref": "#/components/schemas/V1ServiceOwnerDialogsQueriesSearch_ServiceOwnerLabel"
|
|
4545
|
+
},
|
|
4546
|
+
"nullable": true,
|
|
4547
|
+
"type": "array"
|
|
4548
|
+
}
|
|
4549
|
+
},
|
|
4550
|
+
"type": "object"
|
|
4551
|
+
},
|
|
4552
|
+
"V1ServiceOwnerDialogsQueriesSearch_ServiceOwnerLabel": {
|
|
4553
|
+
"additionalProperties": false,
|
|
4554
|
+
"properties": {
|
|
4555
|
+
"value": {
|
|
4556
|
+
"description": "A label value.",
|
|
4557
|
+
"type": "string"
|
|
4558
|
+
}
|
|
4559
|
+
},
|
|
4560
|
+
"type": "object"
|
|
4561
|
+
},
|
|
4476
4562
|
"V1ServiceOwnerDialogsUpdate_DialogRequest": {
|
|
4477
4563
|
"additionalProperties": false,
|
|
4478
4564
|
"properties": {
|
|
@@ -4881,6 +4967,24 @@
|
|
|
4881
4967
|
},
|
|
4882
4968
|
"type": "object"
|
|
4883
4969
|
},
|
|
4970
|
+
"V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label": {
|
|
4971
|
+
"additionalProperties": false,
|
|
4972
|
+
"properties": {
|
|
4973
|
+
"value": {
|
|
4974
|
+
"type": "string"
|
|
4975
|
+
}
|
|
4976
|
+
},
|
|
4977
|
+
"type": "object"
|
|
4978
|
+
},
|
|
4979
|
+
"V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_ServiceOwnerLabelRequest": {
|
|
4980
|
+
"additionalProperties": false,
|
|
4981
|
+
"properties": {
|
|
4982
|
+
"dto": {
|
|
4983
|
+
"$ref": "#/components/schemas/V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label"
|
|
4984
|
+
}
|
|
4985
|
+
},
|
|
4986
|
+
"type": "object"
|
|
4987
|
+
},
|
|
4884
4988
|
"V1WellKnownJwksQueriesGet_Jwk": {
|
|
4885
4989
|
"additionalProperties": false,
|
|
4886
4990
|
"properties": {
|
|
@@ -6096,6 +6200,20 @@
|
|
|
6096
6200
|
"type": "string"
|
|
6097
6201
|
}
|
|
6098
6202
|
},
|
|
6203
|
+
{
|
|
6204
|
+
"description": "Filter by one or more labels. Multiple labels are combined with AND, i.e., all labels must match. Supports prefix matching with \u0027*\u0027 at the end of the label. For example, \u0027label*\u0027 will match \u0027label\u0027, \u0027label1\u0027, \u0027label2\u0027, etc.",
|
|
6205
|
+
"explode": true,
|
|
6206
|
+
"in": "query",
|
|
6207
|
+
"name": "serviceOwnerLabels",
|
|
6208
|
+
"schema": {
|
|
6209
|
+
"items": {
|
|
6210
|
+
"type": "string"
|
|
6211
|
+
},
|
|
6212
|
+
"nullable": true,
|
|
6213
|
+
"type": "array"
|
|
6214
|
+
},
|
|
6215
|
+
"style": "form"
|
|
6216
|
+
},
|
|
6099
6217
|
{
|
|
6100
6218
|
"description": "Limit free text search to texts with this language code, e.g. \u0027nb\u0027, \u0027en\u0027. Culture codes will be normalized to neutral language codes (ISO 639). Default: search all culture codes",
|
|
6101
6219
|
"in": "query",
|
|
@@ -7099,6 +7217,226 @@
|
|
|
7099
7217
|
]
|
|
7100
7218
|
}
|
|
7101
7219
|
},
|
|
7220
|
+
"/api/v1/serviceowner/dialogs/{dialogId}/context/labels": {
|
|
7221
|
+
"get": {
|
|
7222
|
+
"description": "Fetches all labels associated with the service owner context of a specific dialog.",
|
|
7223
|
+
"operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsGet_ServiceOwnerLabel",
|
|
7224
|
+
"parameters": [
|
|
7225
|
+
{
|
|
7226
|
+
"in": "path",
|
|
7227
|
+
"name": "dialogId",
|
|
7228
|
+
"required": true,
|
|
7229
|
+
"schema": {
|
|
7230
|
+
"format": "guid",
|
|
7231
|
+
"type": "string"
|
|
7232
|
+
}
|
|
7233
|
+
}
|
|
7234
|
+
],
|
|
7235
|
+
"responses": {
|
|
7236
|
+
"200": {
|
|
7237
|
+
"description": "Successfully retrieved the service owner labels."
|
|
7238
|
+
},
|
|
7239
|
+
"401": {
|
|
7240
|
+
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
|
|
7241
|
+
},
|
|
7242
|
+
"403": {
|
|
7243
|
+
"description": "Forbidden"
|
|
7244
|
+
},
|
|
7245
|
+
"404": {
|
|
7246
|
+
"content": {
|
|
7247
|
+
"application/problem\u002Bjson": {
|
|
7248
|
+
"schema": {
|
|
7249
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7250
|
+
}
|
|
7251
|
+
}
|
|
7252
|
+
},
|
|
7253
|
+
"description": "The given dialog ID was not found."
|
|
7254
|
+
}
|
|
7255
|
+
},
|
|
7256
|
+
"security": [
|
|
7257
|
+
{
|
|
7258
|
+
"JWTBearerAuth": [
|
|
7259
|
+
"digdir:dialogporten.serviceprovider"
|
|
7260
|
+
]
|
|
7261
|
+
}
|
|
7262
|
+
],
|
|
7263
|
+
"summary": "Retrieve service owner labels for a dialog",
|
|
7264
|
+
"tags": [
|
|
7265
|
+
"Serviceowner"
|
|
7266
|
+
]
|
|
7267
|
+
},
|
|
7268
|
+
"post": {
|
|
7269
|
+
"description": "Add a label to the service owner context.\nOptimistic concurrency control is implemented using the If-Match header. Supply the Revision value from the GetDialog endpoint to ensure that the dialog is not modified/deleted by another request in the meantime.",
|
|
7270
|
+
"operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_ServiceOwnerLabel",
|
|
7271
|
+
"parameters": [
|
|
7272
|
+
{
|
|
7273
|
+
"in": "path",
|
|
7274
|
+
"name": "dialogId",
|
|
7275
|
+
"required": true,
|
|
7276
|
+
"schema": {
|
|
7277
|
+
"format": "guid",
|
|
7278
|
+
"type": "string"
|
|
7279
|
+
}
|
|
7280
|
+
},
|
|
7281
|
+
{
|
|
7282
|
+
"in": "header",
|
|
7283
|
+
"name": "if-Match",
|
|
7284
|
+
"schema": {
|
|
7285
|
+
"format": "guid",
|
|
7286
|
+
"nullable": true,
|
|
7287
|
+
"type": "string"
|
|
7288
|
+
}
|
|
7289
|
+
}
|
|
7290
|
+
],
|
|
7291
|
+
"requestBody": {
|
|
7292
|
+
"content": {
|
|
7293
|
+
"application/json": {
|
|
7294
|
+
"schema": {
|
|
7295
|
+
"$ref": "#/components/schemas/V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsCreate_Label"
|
|
7296
|
+
}
|
|
7297
|
+
}
|
|
7298
|
+
},
|
|
7299
|
+
"required": true,
|
|
7300
|
+
"x-name": "dto"
|
|
7301
|
+
},
|
|
7302
|
+
"responses": {
|
|
7303
|
+
"204": {
|
|
7304
|
+
"description": "The dialog DialogServiceOwnerLabel was updated successfully.",
|
|
7305
|
+
"headers": {
|
|
7306
|
+
"Etag": {
|
|
7307
|
+
"description": "The new UUID ETag of the ServiceOwner Context",
|
|
7308
|
+
"example": "123e4567-e89b-12d3-a456-426614174000",
|
|
7309
|
+
"schema": {
|
|
7310
|
+
"type": "string"
|
|
7311
|
+
}
|
|
7312
|
+
}
|
|
7313
|
+
}
|
|
7314
|
+
},
|
|
7315
|
+
"400": {
|
|
7316
|
+
"content": {
|
|
7317
|
+
"application/problem\u002Bjson": {
|
|
7318
|
+
"schema": {
|
|
7319
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7320
|
+
}
|
|
7321
|
+
}
|
|
7322
|
+
},
|
|
7323
|
+
"description": "Validation error occurred. See problem details for a list of errors."
|
|
7324
|
+
},
|
|
7325
|
+
"401": {
|
|
7326
|
+
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
|
|
7327
|
+
},
|
|
7328
|
+
"403": {
|
|
7329
|
+
"description": "Forbidden"
|
|
7330
|
+
},
|
|
7331
|
+
"412": {
|
|
7332
|
+
"content": {
|
|
7333
|
+
"application/problem\u002Bjson": {
|
|
7334
|
+
"schema": {
|
|
7335
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7336
|
+
}
|
|
7337
|
+
}
|
|
7338
|
+
},
|
|
7339
|
+
"description": "The supplied If-Match header did not match the current Revision value for the dialog. The request was not applied."
|
|
7340
|
+
}
|
|
7341
|
+
},
|
|
7342
|
+
"security": [
|
|
7343
|
+
{
|
|
7344
|
+
"JWTBearerAuth": [
|
|
7345
|
+
"digdir:dialogporten.serviceprovider"
|
|
7346
|
+
]
|
|
7347
|
+
}
|
|
7348
|
+
],
|
|
7349
|
+
"summary": "Add a service owner label to a dialog",
|
|
7350
|
+
"tags": [
|
|
7351
|
+
"Serviceowner"
|
|
7352
|
+
]
|
|
7353
|
+
}
|
|
7354
|
+
},
|
|
7355
|
+
"/api/v1/serviceowner/dialogs/{dialogId}/context/labels/{label}": {
|
|
7356
|
+
"delete": {
|
|
7357
|
+
"description": "Removes a specific label from the service owner context of a dialog. If the label does not exist, a NotFound response is returned.",
|
|
7358
|
+
"operationId": "V1ServiceOwnerServiceOwnerContextServiceOwnerLabelsDelete_ServiceOwnerLabel",
|
|
7359
|
+
"parameters": [
|
|
7360
|
+
{
|
|
7361
|
+
"in": "path",
|
|
7362
|
+
"name": "dialogId",
|
|
7363
|
+
"required": true,
|
|
7364
|
+
"schema": {
|
|
7365
|
+
"format": "guid",
|
|
7366
|
+
"type": "string"
|
|
7367
|
+
}
|
|
7368
|
+
},
|
|
7369
|
+
{
|
|
7370
|
+
"in": "path",
|
|
7371
|
+
"name": "label",
|
|
7372
|
+
"required": true,
|
|
7373
|
+
"schema": {
|
|
7374
|
+
"type": "string"
|
|
7375
|
+
}
|
|
7376
|
+
},
|
|
7377
|
+
{
|
|
7378
|
+
"in": "header",
|
|
7379
|
+
"name": "if-Match",
|
|
7380
|
+
"schema": {
|
|
7381
|
+
"format": "guid",
|
|
7382
|
+
"nullable": true,
|
|
7383
|
+
"type": "string"
|
|
7384
|
+
}
|
|
7385
|
+
}
|
|
7386
|
+
],
|
|
7387
|
+
"responses": {
|
|
7388
|
+
"204": {
|
|
7389
|
+
"description": "Successfully deleted the service owner label.",
|
|
7390
|
+
"headers": {
|
|
7391
|
+
"Etag": {
|
|
7392
|
+
"description": "The new UUID ETag of the ServiceOwner Context",
|
|
7393
|
+
"example": "123e4567-e89b-12d3-a456-426614174000",
|
|
7394
|
+
"schema": {
|
|
7395
|
+
"type": "string"
|
|
7396
|
+
}
|
|
7397
|
+
}
|
|
7398
|
+
}
|
|
7399
|
+
},
|
|
7400
|
+
"401": {
|
|
7401
|
+
"description": "Unauthorized"
|
|
7402
|
+
},
|
|
7403
|
+
"403": {
|
|
7404
|
+
"description": "Forbidden"
|
|
7405
|
+
},
|
|
7406
|
+
"404": {
|
|
7407
|
+
"content": {
|
|
7408
|
+
"application/problem\u002Bjson": {
|
|
7409
|
+
"schema": {
|
|
7410
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7411
|
+
}
|
|
7412
|
+
}
|
|
7413
|
+
},
|
|
7414
|
+
"description": "The given dialog or service owner label was not found."
|
|
7415
|
+
},
|
|
7416
|
+
"412": {
|
|
7417
|
+
"content": {
|
|
7418
|
+
"application/problem\u002Bjson": {
|
|
7419
|
+
"schema": {
|
|
7420
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7421
|
+
}
|
|
7422
|
+
}
|
|
7423
|
+
},
|
|
7424
|
+
"description": ""
|
|
7425
|
+
}
|
|
7426
|
+
},
|
|
7427
|
+
"security": [
|
|
7428
|
+
{
|
|
7429
|
+
"JWTBearerAuth": [
|
|
7430
|
+
"digdir:dialogporten.serviceprovider"
|
|
7431
|
+
]
|
|
7432
|
+
}
|
|
7433
|
+
],
|
|
7434
|
+
"summary": "Delete a service owner label for a dialog",
|
|
7435
|
+
"tags": [
|
|
7436
|
+
"Serviceowner"
|
|
7437
|
+
]
|
|
7438
|
+
}
|
|
7439
|
+
},
|
|
7102
7440
|
"/api/v1/serviceowner/dialogs/{dialogId}/seenlog": {
|
|
7103
7441
|
"get": {
|
|
7104
7442
|
"description": "Gets all seen log records for a dialog.",
|
|
@@ -7482,4 +7820,4 @@
|
|
|
7482
7820
|
}
|
|
7483
7821
|
}
|
|
7484
7822
|
}
|
|
7485
|
-
}
|
|
7823
|
+
}
|