@digdir/dialogporten-schema 1.119.0 → 1.119.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digdir/dialogporten-schema",
3
- "version": "1.119.0",
3
+ "version": "1.119.1",
4
4
  "description": "GraphQl schema and OpenAPI spec for Dialogporten",
5
5
  "engines": {
6
6
  "node": "24"
@@ -910,4 +910,4 @@ directive @authorize(
910
910
  roles: [String!]
911
911
  "Defines when the authorize directive shall be applied. By default the authorize directive is applied before the resolver is executed."
912
912
  apply: ApplyPolicy! = BEFORE_RESOLVER
913
- ) repeatable on OBJECT | FIELD_DEFINITION
913
+ ) repeatable on OBJECT | FIELD_DEFINITION
@@ -4764,6 +4764,13 @@
4764
4764
  }
4765
4765
  ]
4766
4766
  },
4767
+ "id": {
4768
+ "description": "A self-defined UUIDv7 may be provided to support idempotent additions and updates of attachment URLs. If not provided, a new UUIDv7 will be generated.",
4769
+ "example": "01913cd5-784f-7d3b-abef-4c77b1f0972d",
4770
+ "format": "guid",
4771
+ "nullable": true,
4772
+ "type": "string"
4773
+ },
4767
4774
  "mediaType": {
4768
4775
  "description": "The media type of the attachment.",
4769
4776
  "example": "application/pdf\napplication/zip",
@@ -6997,9 +7004,22 @@
6997
7004
  }
6998
7005
  },
6999
7006
  "securitySchemes": {
7000
- "JWTBearerAuth": {
7007
+ "idporten": {
7008
+ "description": "Browser login using ID-Porten (OIDC).\n- You can obtain a token from ID-Porten using the Authorization Code \u002B PKCE flow.\n- Well known: https://test.idporten.no/.well-known/openid-configuration\n- This token can be only be used with the Enduser endpoints.\n\nClaims we look for:\n- pid (identifies the end user)\n\nThere is only one scope available for this security scheme:\n- digdir:dialogporten",
7009
+ "flows": {
7010
+ "authorizationCode": {
7011
+ "authorizationUrl": "https://login.test.idporten.no/authorize",
7012
+ "scopes": {
7013
+ "digdir:dialogporten": "Access to dialogporten"
7014
+ },
7015
+ "tokenUrl": "https://test.idporten.no/token"
7016
+ }
7017
+ },
7018
+ "type": "oauth2"
7019
+ },
7020
+ "maskinporten": {
7001
7021
  "bearerFormat": "JWT",
7002
- "description": "Enter a JWT token to authorize the requests...",
7022
+ "description": "Machine login using Maskinporten.\n\n- This is a OAuth2 scheme that uses the JWT Bearer Grant (RFC 7523).\n We can\u0027t express this flow in the OpenAPI specification. \n That\u0027s why we use the more generic \u0022Http\u0022 type for this scheme instead.\n Please refer to the Maskinporten documentation for how to implement this flow.\n- Well known: https://test.maskinporten.no/.well-known/oauth-authorization-server/\n- This token can be used for all secured endpoints (enduser and serviceowner).\n- To use this token with the Enduser API\u0027s, you have to register a \u0022system\u0022 and \u0022system user\u0022.\n Please refer to the Dialogporten documentation for how to register systems and system users.\n- Required scopes are listed per endpoint as Security Requirement Objects.\n\nClaims we look for:\n- authorization_details (contains the system user ID)\n- consumer (identifies the organization/service owner)\n- email (identifies Email-users in the case the amr claim is Selfregistered-email)\n\nAvailable scopes for this security scheme are:\n- digdir:dialogporten (system user only)\n- digdir:dialogporten.serviceprovider\n- digdir:dialogporten.serviceprovider.search\n- digdir:dialogporten.serviceprovider.changetransmissions\n- altinn:system/notifications.condition.check",
7003
7023
  "scheme": "bearer",
7004
7024
  "type": "http"
7005
7025
  }
@@ -7142,7 +7162,7 @@
7142
7162
  "description": "Validation error occurred. See problem details for a list of errors."
7143
7163
  },
7144
7164
  "401": {
7145
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
7165
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
7146
7166
  },
7147
7167
  "403": {
7148
7168
  "description": "Authenticated end user is not authorized for the supplied instance reference."
@@ -7179,7 +7199,12 @@
7179
7199
  },
7180
7200
  "security": [
7181
7201
  {
7182
- "JWTBearerAuth": [
7202
+ "maskinporten": [
7203
+ "digdir:dialogporten"
7204
+ ]
7205
+ },
7206
+ {
7207
+ "idporten": [
7183
7208
  "digdir:dialogporten"
7184
7209
  ]
7185
7210
  }
@@ -7466,7 +7491,7 @@
7466
7491
  "description": "Successfully returned the dialog list."
7467
7492
  },
7468
7493
  "401": {
7469
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
7494
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
7470
7495
  },
7471
7496
  "403": {
7472
7497
  "description": "Forbidden"
@@ -7503,7 +7528,12 @@
7503
7528
  },
7504
7529
  "security": [
7505
7530
  {
7506
- "JWTBearerAuth": [
7531
+ "maskinporten": [
7532
+ "digdir:dialogporten"
7533
+ ]
7534
+ },
7535
+ {
7536
+ "idporten": [
7507
7537
  "digdir:dialogporten"
7508
7538
  ]
7509
7539
  }
@@ -7553,7 +7583,7 @@
7553
7583
  "description": "Successfully returned the dialog aggregate."
7554
7584
  },
7555
7585
  "401": {
7556
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
7586
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
7557
7587
  },
7558
7588
  "403": {
7559
7589
  "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -7590,7 +7620,12 @@
7590
7620
  },
7591
7621
  "security": [
7592
7622
  {
7593
- "JWTBearerAuth": [
7623
+ "maskinporten": [
7624
+ "digdir:dialogporten"
7625
+ ]
7626
+ },
7627
+ {
7628
+ "idporten": [
7594
7629
  "digdir:dialogporten"
7595
7630
  ]
7596
7631
  }
@@ -7643,7 +7678,7 @@
7643
7678
  "description": "Successfully returned the dialog activity list."
7644
7679
  },
7645
7680
  "401": {
7646
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
7681
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
7647
7682
  },
7648
7683
  "403": {
7649
7684
  "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -7680,7 +7715,12 @@
7680
7715
  },
7681
7716
  "security": [
7682
7717
  {
7683
- "JWTBearerAuth": [
7718
+ "maskinporten": [
7719
+ "digdir:dialogporten"
7720
+ ]
7721
+ },
7722
+ {
7723
+ "idporten": [
7684
7724
  "digdir:dialogporten"
7685
7725
  ]
7686
7726
  }
@@ -7739,7 +7779,7 @@
7739
7779
  "description": "Successfully returned the dialog activity."
7740
7780
  },
7741
7781
  "401": {
7742
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
7782
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
7743
7783
  },
7744
7784
  "403": {
7745
7785
  "description": "Unauthorized to get child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
@@ -7776,7 +7816,12 @@
7776
7816
  },
7777
7817
  "security": [
7778
7818
  {
7779
- "JWTBearerAuth": [
7819
+ "maskinporten": [
7820
+ "digdir:dialogporten"
7821
+ ]
7822
+ },
7823
+ {
7824
+ "idporten": [
7780
7825
  "digdir:dialogporten"
7781
7826
  ]
7782
7827
  }
@@ -7817,7 +7862,7 @@
7817
7862
  "description": "Successfully returned the dialog label assignment log list."
7818
7863
  },
7819
7864
  "401": {
7820
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
7865
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
7821
7866
  },
7822
7867
  "403": {
7823
7868
  "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -7857,7 +7902,12 @@
7857
7902
  },
7858
7903
  "security": [
7859
7904
  {
7860
- "JWTBearerAuth": [
7905
+ "maskinporten": [
7906
+ "digdir:dialogporten"
7907
+ ]
7908
+ },
7909
+ {
7910
+ "idporten": [
7861
7911
  "digdir:dialogporten"
7862
7912
  ]
7863
7913
  }
@@ -7929,7 +7979,7 @@
7929
7979
  "description": "Validation error occurred. See problem details for a list of errors."
7930
7980
  },
7931
7981
  "401": {
7932
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
7982
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
7933
7983
  },
7934
7984
  "403": {
7935
7985
  "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -7992,7 +8042,12 @@
7992
8042
  },
7993
8043
  "security": [
7994
8044
  {
7995
- "JWTBearerAuth": [
8045
+ "maskinporten": [
8046
+ "digdir:dialogporten"
8047
+ ]
8048
+ },
8049
+ {
8050
+ "idporten": [
7996
8051
  "digdir:dialogporten"
7997
8052
  ]
7998
8053
  }
@@ -8033,7 +8088,7 @@
8033
8088
  "description": "Successfully returned the dialog seen log records."
8034
8089
  },
8035
8090
  "401": {
8036
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
8091
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
8037
8092
  },
8038
8093
  "403": {
8039
8094
  "description": "Forbidden"
@@ -8070,7 +8125,12 @@
8070
8125
  },
8071
8126
  "security": [
8072
8127
  {
8073
- "JWTBearerAuth": [
8128
+ "maskinporten": [
8129
+ "digdir:dialogporten"
8130
+ ]
8131
+ },
8132
+ {
8133
+ "idporten": [
8074
8134
  "digdir:dialogporten"
8075
8135
  ]
8076
8136
  }
@@ -8117,7 +8177,7 @@
8117
8177
  "description": "Successfully returned the dialog seen log record."
8118
8178
  },
8119
8179
  "401": {
8120
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
8180
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
8121
8181
  },
8122
8182
  "403": {
8123
8183
  "description": "Forbidden"
@@ -8154,7 +8214,12 @@
8154
8214
  },
8155
8215
  "security": [
8156
8216
  {
8157
- "JWTBearerAuth": [
8217
+ "maskinporten": [
8218
+ "digdir:dialogporten"
8219
+ ]
8220
+ },
8221
+ {
8222
+ "idporten": [
8158
8223
  "digdir:dialogporten"
8159
8224
  ]
8160
8225
  }
@@ -8207,7 +8272,7 @@
8207
8272
  "description": "Successfully returned the dialog transmission list."
8208
8273
  },
8209
8274
  "401": {
8210
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
8275
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
8211
8276
  },
8212
8277
  "403": {
8213
8278
  "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -8247,7 +8312,12 @@
8247
8312
  },
8248
8313
  "security": [
8249
8314
  {
8250
- "JWTBearerAuth": [
8315
+ "maskinporten": [
8316
+ "digdir:dialogporten"
8317
+ ]
8318
+ },
8319
+ {
8320
+ "idporten": [
8251
8321
  "digdir:dialogporten"
8252
8322
  ]
8253
8323
  }
@@ -8306,7 +8376,7 @@
8306
8376
  "description": "Successfully returned the dialog transmission."
8307
8377
  },
8308
8378
  "401": {
8309
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
8379
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
8310
8380
  },
8311
8381
  "403": {
8312
8382
  "description": "Unauthorized to get child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
@@ -8346,7 +8416,12 @@
8346
8416
  },
8347
8417
  "security": [
8348
8418
  {
8349
- "JWTBearerAuth": [
8419
+ "maskinporten": [
8420
+ "digdir:dialogporten"
8421
+ ]
8422
+ },
8423
+ {
8424
+ "idporten": [
8350
8425
  "digdir:dialogporten"
8351
8426
  ]
8352
8427
  }
@@ -8387,7 +8462,7 @@
8387
8462
  "description": "Validation error occurred. See problem details for a list of errors."
8388
8463
  },
8389
8464
  "401": {
8390
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
8465
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
8391
8466
  },
8392
8467
  "403": {
8393
8468
  "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -8447,7 +8522,12 @@
8447
8522
  },
8448
8523
  "security": [
8449
8524
  {
8450
- "JWTBearerAuth": [
8525
+ "maskinporten": [
8526
+ "digdir:dialogporten"
8527
+ ]
8528
+ },
8529
+ {
8530
+ "idporten": [
8451
8531
  "digdir:dialogporten"
8452
8532
  ]
8453
8533
  }
@@ -8474,7 +8554,7 @@
8474
8554
  "description": "The list of authorized parties for the end user"
8475
8555
  },
8476
8556
  "401": {
8477
- "description": "Unauthorized"
8557
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
8478
8558
  },
8479
8559
  "403": {
8480
8560
  "description": "Forbidden"
@@ -8501,7 +8581,12 @@
8501
8581
  },
8502
8582
  "security": [
8503
8583
  {
8504
- "JWTBearerAuth": [
8584
+ "maskinporten": [
8585
+ "digdir:dialogporten"
8586
+ ]
8587
+ },
8588
+ {
8589
+ "idporten": [
8505
8590
  "digdir:dialogporten"
8506
8591
  ]
8507
8592
  }
@@ -8556,7 +8641,7 @@
8556
8641
  "description": "Authorized service resource metadata."
8557
8642
  },
8558
8643
  "401": {
8559
- "description": "Unauthorized"
8644
+ "description": "Missing or invalid authentication token. This endpoint requires a token from ID-porten or Maskinporten with the scope(s) \u0022digdir:dialogporten\u0022."
8560
8645
  },
8561
8646
  "403": {
8562
8647
  "description": "Forbidden"
@@ -8583,7 +8668,12 @@
8583
8668
  },
8584
8669
  "security": [
8585
8670
  {
8586
- "JWTBearerAuth": [
8671
+ "maskinporten": [
8672
+ "digdir:dialogporten"
8673
+ ]
8674
+ },
8675
+ {
8676
+ "idporten": [
8587
8677
  "digdir:dialogporten"
8588
8678
  ]
8589
8679
  }
@@ -8738,7 +8828,7 @@
8738
8828
  "description": "Validation error occurred. See problem details for a list of errors."
8739
8829
  },
8740
8830
  "401": {
8741
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
8831
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
8742
8832
  },
8743
8833
  "403": {
8744
8834
  "description": "Authenticated service owner does not own the resolved dialog."
@@ -8775,7 +8865,7 @@
8775
8865
  },
8776
8866
  "security": [
8777
8867
  {
8778
- "JWTBearerAuth": [
8868
+ "maskinporten": [
8779
8869
  "digdir:dialogporten.serviceprovider"
8780
8870
  ]
8781
8871
  }
@@ -9091,7 +9181,7 @@
9091
9181
  "description": "Successfully returned the dialog list."
9092
9182
  },
9093
9183
  "401": {
9094
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider.search\u0022."
9184
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider digdir:dialogporten.serviceprovider.search\u0022."
9095
9185
  },
9096
9186
  "503": {
9097
9187
  "content": {
@@ -9115,7 +9205,7 @@
9115
9205
  },
9116
9206
  "security": [
9117
9207
  {
9118
- "JWTBearerAuth": [
9208
+ "maskinporten": [
9119
9209
  "digdir:dialogporten.serviceprovider",
9120
9210
  "digdir:dialogporten.serviceprovider.search"
9121
9211
  ]
@@ -9172,7 +9262,7 @@
9172
9262
  "description": "Validation error occurred. See problem details for a list of errors."
9173
9263
  },
9174
9264
  "401": {
9175
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
9265
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
9176
9266
  },
9177
9267
  "403": {
9178
9268
  "description": "Unauthorized to create a dialog for the given serviceResource (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -9212,7 +9302,7 @@
9212
9302
  },
9213
9303
  "security": [
9214
9304
  {
9215
- "JWTBearerAuth": [
9305
+ "maskinporten": [
9216
9306
  "digdir:dialogporten.serviceprovider"
9217
9307
  ]
9218
9308
  }
@@ -9271,7 +9361,7 @@
9271
9361
  "description": "Validation error occurred. See problem details for a list of errors."
9272
9362
  },
9273
9363
  "401": {
9274
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
9364
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
9275
9365
  },
9276
9366
  "403": {
9277
9367
  "description": "Unauthorized to delete the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -9324,7 +9414,7 @@
9324
9414
  },
9325
9415
  "security": [
9326
9416
  {
9327
- "JWTBearerAuth": [
9417
+ "maskinporten": [
9328
9418
  "digdir:dialogporten.serviceprovider"
9329
9419
  ]
9330
9420
  }
@@ -9369,7 +9459,7 @@
9369
9459
  "description": "Successfully returned the dialog aggregate."
9370
9460
  },
9371
9461
  "401": {
9372
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
9462
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
9373
9463
  },
9374
9464
  "403": {
9375
9465
  "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -9406,7 +9496,7 @@
9406
9496
  },
9407
9497
  "security": [
9408
9498
  {
9409
- "JWTBearerAuth": [
9499
+ "maskinporten": [
9410
9500
  "digdir:dialogporten.serviceprovider"
9411
9501
  ]
9412
9502
  }
@@ -9566,7 +9656,7 @@
9566
9656
  },
9567
9657
  "security": [
9568
9658
  {
9569
- "JWTBearerAuth": [
9659
+ "maskinporten": [
9570
9660
  "digdir:dialogporten.serviceprovider"
9571
9661
  ]
9572
9662
  }
@@ -9634,7 +9724,7 @@
9634
9724
  "description": "Validation error occurred. See problem details for a list of errors."
9635
9725
  },
9636
9726
  "401": {
9637
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
9727
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
9638
9728
  },
9639
9729
  "403": {
9640
9730
  "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -9697,7 +9787,7 @@
9697
9787
  },
9698
9788
  "security": [
9699
9789
  {
9700
- "JWTBearerAuth": [
9790
+ "maskinporten": [
9701
9791
  "digdir:dialogporten.serviceprovider"
9702
9792
  ]
9703
9793
  }
@@ -9756,7 +9846,7 @@
9756
9846
  "description": "Validation error occurred. See problem details for a list of errors."
9757
9847
  },
9758
9848
  "401": {
9759
- "description": "Unauthorized"
9849
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
9760
9850
  },
9761
9851
  "403": {
9762
9852
  "description": "Unauthorized to freeze the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -9809,7 +9899,7 @@
9809
9899
  },
9810
9900
  "security": [
9811
9901
  {
9812
- "JWTBearerAuth": [
9902
+ "maskinporten": [
9813
9903
  "digdir:dialogporten.serviceprovider"
9814
9904
  ]
9815
9905
  }
@@ -9849,7 +9939,7 @@
9849
9939
  "description": "The dialog aggregate was deleted successfully."
9850
9940
  },
9851
9941
  "401": {
9852
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
9942
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
9853
9943
  },
9854
9944
  "403": {
9855
9945
  "description": "Unauthorized to delete the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -9899,7 +9989,7 @@
9899
9989
  },
9900
9990
  "security": [
9901
9991
  {
9902
- "JWTBearerAuth": [
9992
+ "maskinporten": [
9903
9993
  "digdir:dialogporten.serviceprovider"
9904
9994
  ]
9905
9995
  }
@@ -9939,7 +10029,7 @@
9939
10029
  "description": "The dialog aggregate was restored successfully."
9940
10030
  },
9941
10031
  "401": {
9942
- "description": "Unauthorized"
10032
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
9943
10033
  },
9944
10034
  "403": {
9945
10035
  "description": "Forbidden"
@@ -9989,7 +10079,7 @@
9989
10079
  },
9990
10080
  "security": [
9991
10081
  {
9992
- "JWTBearerAuth": [
10082
+ "maskinporten": [
9993
10083
  "digdir:dialogporten.serviceprovider"
9994
10084
  ]
9995
10085
  }
@@ -10060,7 +10150,7 @@
10060
10150
  "description": "Successfully returned the notification determination."
10061
10151
  },
10062
10152
  "401": {
10063
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022altinn:system/notifications.condition.check\u0022."
10153
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022altinn:system/notifications.condition.check\u0022."
10064
10154
  },
10065
10155
  "403": {
10066
10156
  "description": "Forbidden"
@@ -10087,8 +10177,8 @@
10087
10177
  },
10088
10178
  "security": [
10089
10179
  {
10090
- "JWTBearerAuth": [
10091
- "digdir:dialogporten.serviceprovider"
10180
+ "maskinporten": [
10181
+ "altinn:system/notifications.condition.check"
10092
10182
  ]
10093
10183
  }
10094
10184
  ],
@@ -10128,7 +10218,7 @@
10128
10218
  "description": "Successfully returned the dialog activity list."
10129
10219
  },
10130
10220
  "401": {
10131
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
10221
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
10132
10222
  },
10133
10223
  "403": {
10134
10224
  "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -10165,7 +10255,7 @@
10165
10255
  },
10166
10256
  "security": [
10167
10257
  {
10168
- "JWTBearerAuth": [
10258
+ "maskinporten": [
10169
10259
  "digdir:dialogporten.serviceprovider"
10170
10260
  ]
10171
10261
  }
@@ -10243,7 +10333,7 @@
10243
10333
  "description": "Validation error occurred. See problem details for a list of errors."
10244
10334
  },
10245
10335
  "401": {
10246
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
10336
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
10247
10337
  },
10248
10338
  "403": {
10249
10339
  "description": "Unauthorized to create child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
@@ -10306,7 +10396,7 @@
10306
10396
  },
10307
10397
  "security": [
10308
10398
  {
10309
- "JWTBearerAuth": [
10399
+ "maskinporten": [
10310
10400
  "digdir:dialogporten.serviceprovider"
10311
10401
  ]
10312
10402
  }
@@ -10353,7 +10443,7 @@
10353
10443
  "description": "Successfully returned the dialog activity."
10354
10444
  },
10355
10445
  "401": {
10356
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
10446
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
10357
10447
  },
10358
10448
  "403": {
10359
10449
  "description": "Unauthorized to get child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
@@ -10393,7 +10483,7 @@
10393
10483
  },
10394
10484
  "security": [
10395
10485
  {
10396
- "JWTBearerAuth": [
10486
+ "maskinporten": [
10397
10487
  "digdir:dialogporten.serviceprovider"
10398
10488
  ]
10399
10489
  }
@@ -10431,10 +10521,19 @@
10431
10521
  }
10432
10522
  }
10433
10523
  },
10434
- "description": "Successfully retrieved the service owner labels."
10524
+ "description": "Successfully retrieved the service owner labels.",
10525
+ "headers": {
10526
+ "Etag": {
10527
+ "description": "The new UUID ETag of the ServiceOwner Context",
10528
+ "example": "123e4567-e89b-12d3-a456-426614174000",
10529
+ "schema": {
10530
+ "type": "string"
10531
+ }
10532
+ }
10533
+ }
10435
10534
  },
10436
10535
  "401": {
10437
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
10536
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
10438
10537
  },
10439
10538
  "403": {
10440
10539
  "description": "Forbidden"
@@ -10471,7 +10570,7 @@
10471
10570
  },
10472
10571
  "security": [
10473
10572
  {
10474
- "JWTBearerAuth": [
10573
+ "maskinporten": [
10475
10574
  "digdir:dialogporten.serviceprovider"
10476
10575
  ]
10477
10576
  }
@@ -10539,7 +10638,7 @@
10539
10638
  "description": "Validation error occurred. See problem details for a list of errors."
10540
10639
  },
10541
10640
  "401": {
10542
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
10641
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider digdir:dialogporten.serviceprovider.changetransmissions\u0022."
10543
10642
  },
10544
10643
  "403": {
10545
10644
  "description": "Forbidden"
@@ -10579,8 +10678,9 @@
10579
10678
  },
10580
10679
  "security": [
10581
10680
  {
10582
- "JWTBearerAuth": [
10583
- "digdir:dialogporten.serviceprovider"
10681
+ "maskinporten": [
10682
+ "digdir:dialogporten.serviceprovider",
10683
+ "digdir:dialogporten.serviceprovider.changetransmissions"
10584
10684
  ]
10585
10685
  }
10586
10686
  ],
@@ -10636,7 +10736,7 @@
10636
10736
  }
10637
10737
  },
10638
10738
  "401": {
10639
- "description": "Unauthorized"
10739
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
10640
10740
  },
10641
10741
  "403": {
10642
10742
  "description": "Forbidden"
@@ -10686,7 +10786,7 @@
10686
10786
  },
10687
10787
  "security": [
10688
10788
  {
10689
- "JWTBearerAuth": [
10789
+ "maskinporten": [
10690
10790
  "digdir:dialogporten.serviceprovider"
10691
10791
  ]
10692
10792
  }
@@ -10766,7 +10866,7 @@
10766
10866
  "description": "Validation error occurred. See problem details for a list of errors."
10767
10867
  },
10768
10868
  "401": {
10769
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
10869
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
10770
10870
  },
10771
10871
  "403": {
10772
10872
  "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -10829,7 +10929,7 @@
10829
10929
  },
10830
10930
  "security": [
10831
10931
  {
10832
- "JWTBearerAuth": [
10932
+ "maskinporten": [
10833
10933
  "digdir:dialogporten.serviceprovider"
10834
10934
  ]
10835
10935
  }
@@ -10870,7 +10970,7 @@
10870
10970
  "description": "Successfully returned the dialog seen log records."
10871
10971
  },
10872
10972
  "401": {
10873
- "description": "Unauthorized"
10973
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
10874
10974
  },
10875
10975
  "403": {
10876
10976
  "description": "Forbidden"
@@ -10910,7 +11010,7 @@
10910
11010
  },
10911
11011
  "security": [
10912
11012
  {
10913
- "JWTBearerAuth": [
11013
+ "maskinporten": [
10914
11014
  "digdir:dialogporten.serviceprovider"
10915
11015
  ]
10916
11016
  }
@@ -10957,7 +11057,7 @@
10957
11057
  "description": "Successfully returned the dialog seen log record."
10958
11058
  },
10959
11059
  "401": {
10960
- "description": "Unauthorized"
11060
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
10961
11061
  },
10962
11062
  "403": {
10963
11063
  "description": "Forbidden"
@@ -10997,7 +11097,7 @@
10997
11097
  },
10998
11098
  "security": [
10999
11099
  {
11000
- "JWTBearerAuth": [
11100
+ "maskinporten": [
11001
11101
  "digdir:dialogporten.serviceprovider"
11002
11102
  ]
11003
11103
  }
@@ -11038,7 +11138,7 @@
11038
11138
  "description": "Successfully returned the dialog transmission list."
11039
11139
  },
11040
11140
  "401": {
11041
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
11141
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
11042
11142
  },
11043
11143
  "403": {
11044
11144
  "description": "Unauthorized to get the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -11078,7 +11178,7 @@
11078
11178
  },
11079
11179
  "security": [
11080
11180
  {
11081
- "JWTBearerAuth": [
11181
+ "maskinporten": [
11082
11182
  "digdir:dialogporten.serviceprovider"
11083
11183
  ]
11084
11184
  }
@@ -11156,7 +11256,7 @@
11156
11256
  "description": "Validation error occurred. See problem details for a list of errors."
11157
11257
  },
11158
11258
  "401": {
11159
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
11259
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
11160
11260
  },
11161
11261
  "403": {
11162
11262
  "description": "Unauthorized to create child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
@@ -11219,7 +11319,7 @@
11219
11319
  },
11220
11320
  "security": [
11221
11321
  {
11222
- "JWTBearerAuth": [
11322
+ "maskinporten": [
11223
11323
  "digdir:dialogporten.serviceprovider"
11224
11324
  ]
11225
11325
  }
@@ -11266,7 +11366,7 @@
11266
11366
  "description": "Successfully returned the dialog transmission."
11267
11367
  },
11268
11368
  "401": {
11269
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
11369
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
11270
11370
  },
11271
11371
  "403": {
11272
11372
  "description": "Unauthorized to get child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
@@ -11306,7 +11406,7 @@
11306
11406
  },
11307
11407
  "security": [
11308
11408
  {
11309
- "JWTBearerAuth": [
11409
+ "maskinporten": [
11310
11410
  "digdir:dialogporten.serviceprovider"
11311
11411
  ]
11312
11412
  }
@@ -11385,7 +11485,7 @@
11385
11485
  "description": "Validation error occurred. See problem details for a list of errors."
11386
11486
  },
11387
11487
  "401": {
11388
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider.changetransmissions\u0022."
11488
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider digdir:dialogporten.serviceprovider.changetransmissions\u0022."
11389
11489
  },
11390
11490
  "403": {
11391
11491
  "description": "Unauthorized to update child entity for the given dialog (dialog not owned by authenticated organization or has additional scope requirements defined in service identifiers policy)."
@@ -11448,8 +11548,9 @@
11448
11548
  },
11449
11549
  "security": [
11450
11550
  {
11451
- "JWTBearerAuth": [
11452
- "digdir:dialogporten.serviceprovider"
11551
+ "maskinporten": [
11552
+ "digdir:dialogporten.serviceprovider",
11553
+ "digdir:dialogporten.serviceprovider.changetransmissions"
11453
11554
  ]
11454
11555
  }
11455
11556
  ],
@@ -11537,7 +11638,7 @@
11537
11638
  "description": "Successfully returned the dialog list."
11538
11639
  },
11539
11640
  "401": {
11540
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider.search\u0022."
11641
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider digdir:dialogporten.serviceprovider.search\u0022."
11541
11642
  },
11542
11643
  "503": {
11543
11644
  "content": {
@@ -11561,7 +11662,7 @@
11561
11662
  },
11562
11663
  "security": [
11563
11664
  {
11564
- "JWTBearerAuth": [
11665
+ "maskinporten": [
11565
11666
  "digdir:dialogporten.serviceprovider",
11566
11667
  "digdir:dialogporten.serviceprovider.search"
11567
11668
  ]
@@ -11613,7 +11714,7 @@
11613
11714
  "description": "Validation error occurred. See problem details for a list of errors."
11614
11715
  },
11615
11716
  "401": {
11616
- "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten.serviceprovider\u0022."
11717
+ "description": "Missing or invalid authentication token. This endpoint requires a token from Maskinporten with the scope(s) \u0022digdir:dialogporten.serviceprovider\u0022."
11617
11718
  },
11618
11719
  "403": {
11619
11720
  "description": "Unauthorized to update the supplied dialog (not owned by authenticated organization or has additional scope requirements defined in policy)."
@@ -11673,7 +11774,7 @@
11673
11774
  },
11674
11775
  "security": [
11675
11776
  {
11676
- "JWTBearerAuth": [
11777
+ "maskinporten": [
11677
11778
  "digdir:dialogporten.serviceprovider"
11678
11779
  ]
11679
11780
  }
@@ -11691,7 +11792,7 @@
11691
11792
  "name": "Serviceowner"
11692
11793
  },
11693
11794
  {
11694
- "description": "Endpoints for end users to read and act on dialogs they are authorized to access. Used both by persons logged in via ID-porten and by Altinn system users authenticated via Maskinporten. Requires a token with the \u0060digdir:dialogporten\u0060 scope (or \u0060digdir:dialogporten.noconsent\u0060).\n\nA .NET client SDK is available: [Altinn.ApiClients.Dialogporten.EndUser](https://www.nuget.org/packages/Altinn.ApiClients.Dialogporten.EndUser/).",
11795
+ "description": "Endpoints for end users to read and act on dialogs they are authorized to access. Used both by persons logged in via ID-porten and by Altinn system users authenticated via Maskinporten. Requires a token with the \u0060digdir:dialogporten\u0060 scope.\n\nA .NET client SDK is available: [Altinn.ApiClients.Dialogporten.EndUser](https://www.nuget.org/packages/Altinn.ApiClients.Dialogporten.EndUser/).",
11695
11796
  "name": "Enduser"
11696
11797
  },
11697
11798
  {
@@ -11699,4 +11800,4 @@
11699
11800
  "name": "Metadata"
11700
11801
  }
11701
11802
  ]
11702
- }
11803
+ }