@digdir/dialogporten-schema 1.117.3 → 1.118.1-6fb6cd5
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/schema.verified.graphql +14 -8
- package/src/index.js +14 -8
- package/swagger.verified.json +287 -134
package/package.json
CHANGED
package/schema.verified.graphql
CHANGED
|
@@ -10,7 +10,7 @@ type Queries @authorize(policy: "enduser") {
|
|
|
10
10
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
11
11
|
limits: Limits!
|
|
12
12
|
parties: [AuthorizedParty!]!
|
|
13
|
-
serviceResources: ServiceResourceMetadata!
|
|
13
|
+
serviceResources(parties: [String!], includeUnauthorized: Boolean! = false): ServiceResourceMetadata!
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
type Mutations @authorize(policy: "enduser") {
|
|
@@ -488,6 +488,10 @@ type SearchDialogContinuationTokenParsingError implements SearchDialogError {
|
|
|
488
488
|
message: String!
|
|
489
489
|
}
|
|
490
490
|
|
|
491
|
+
type SearchDialogDomainError implements SearchDialogError {
|
|
492
|
+
message: String!
|
|
493
|
+
}
|
|
494
|
+
|
|
491
495
|
type SearchDialogForbidden implements SearchDialogError {
|
|
492
496
|
message: String!
|
|
493
497
|
}
|
|
@@ -566,6 +570,8 @@ type ServiceResourceMetadataServiceOwner {
|
|
|
566
570
|
|
|
567
571
|
type ServiceResourceMetadataServiceResource {
|
|
568
572
|
id: String!
|
|
573
|
+
resourceType: String!
|
|
574
|
+
status: String!
|
|
569
575
|
isDelegable: Boolean!
|
|
570
576
|
minimumAuthenticationLevel: Int!
|
|
571
577
|
name: [Localization!]!
|
|
@@ -704,19 +710,19 @@ input SearchDialogInput {
|
|
|
704
710
|
systemLabel: [SystemLabel!]
|
|
705
711
|
"Whether to exclude API-only dialogs from the results. Defaults to false."
|
|
706
712
|
excludeApiOnly: Boolean
|
|
707
|
-
"Only return dialogs created after this date"
|
|
713
|
+
"Only return dialogs created after this date. For free text search this does not limit how much the search has to scan; use contentUpdatedAfter to narrow a broad search and avoid a 422 timeout."
|
|
708
714
|
createdAfter: DateTime
|
|
709
|
-
"Only return dialogs created before this date"
|
|
715
|
+
"Only return dialogs created before this date. For free text search this does not limit how much the search has to scan; use contentUpdatedAfter to narrow a broad search and avoid a 422 timeout."
|
|
710
716
|
createdBefore: DateTime
|
|
711
|
-
"Only return dialogs with content updated after this date"
|
|
717
|
+
"Only return dialogs with content updated after this date. Recommended for free text search: this is the only date filter that limits how much a broad search has to scan. A broad search term without a contentUpdatedAfter bound may exceed the server-side time limit and return 422 - narrow it with this filter (and/or fewer parties or a service resource)."
|
|
712
718
|
contentUpdatedAfter: DateTime
|
|
713
|
-
"Only return dialogs with content updated before this date"
|
|
719
|
+
"Only return dialogs with content updated before this date. Unlike contentUpdatedAfter, this upper bound does not by itself limit how much a free text search has to scan."
|
|
714
720
|
contentUpdatedBefore: DateTime
|
|
715
721
|
"Only return dialogs that have content that has/hasn't been seen by the user. A dialog is considered seen if it has been retrieved by a user, since it's last content update, and there is no SystemLabel MarkedAsUnopened."
|
|
716
722
|
isContentSeen: Boolean
|
|
717
|
-
"Only return dialogs updated after this date"
|
|
723
|
+
"Only return dialogs updated after this date. For free text search this does not limit how much the search has to scan; use contentUpdatedAfter to narrow a broad search and avoid a 422 timeout."
|
|
718
724
|
updatedAfter: DateTime
|
|
719
|
-
"Only return dialogs updated before this date"
|
|
725
|
+
"Only return dialogs updated before this date. For free text search this does not limit how much the search has to scan; use contentUpdatedAfter to narrow a broad search and avoid a 422 timeout."
|
|
720
726
|
updatedBefore: DateTime
|
|
721
727
|
"Only return dialogs with due date after this date"
|
|
722
728
|
dueAfter: DateTime
|
|
@@ -730,7 +736,7 @@ input SearchDialogInput {
|
|
|
730
736
|
limit: Int
|
|
731
737
|
"Continuation token for pagination"
|
|
732
738
|
continuationToken: String
|
|
733
|
-
"Sort the results by one or more fields"
|
|
739
|
+
"Sort the results by one or more fields. Defaults to contentUpdatedAt descending. For free text search, keeping the default contentUpdatedAt ordering together with contentUpdatedAfter gives the fastest results."
|
|
734
740
|
orderBy: [SearchDialogSortTypeInput!]
|
|
735
741
|
}
|
|
736
742
|
|
package/src/index.js
CHANGED
|
@@ -10,7 +10,7 @@ type Queries @authorize(policy: "enduser") {
|
|
|
10
10
|
searchDialogs(input: SearchDialogInput!): SearchDialogsPayload!
|
|
11
11
|
limits: Limits!
|
|
12
12
|
parties: [AuthorizedParty!]!
|
|
13
|
-
serviceResources: ServiceResourceMetadata!
|
|
13
|
+
serviceResources(parties: [String!], includeUnauthorized: Boolean! = false): ServiceResourceMetadata!
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
type Mutations @authorize(policy: "enduser") {
|
|
@@ -488,6 +488,10 @@ type SearchDialogContinuationTokenParsingError implements SearchDialogError {
|
|
|
488
488
|
message: String!
|
|
489
489
|
}
|
|
490
490
|
|
|
491
|
+
type SearchDialogDomainError implements SearchDialogError {
|
|
492
|
+
message: String!
|
|
493
|
+
}
|
|
494
|
+
|
|
491
495
|
type SearchDialogForbidden implements SearchDialogError {
|
|
492
496
|
message: String!
|
|
493
497
|
}
|
|
@@ -566,6 +570,8 @@ type ServiceResourceMetadataServiceOwner {
|
|
|
566
570
|
|
|
567
571
|
type ServiceResourceMetadataServiceResource {
|
|
568
572
|
id: String!
|
|
573
|
+
resourceType: String!
|
|
574
|
+
status: String!
|
|
569
575
|
isDelegable: Boolean!
|
|
570
576
|
minimumAuthenticationLevel: Int!
|
|
571
577
|
name: [Localization!]!
|
|
@@ -704,19 +710,19 @@ input SearchDialogInput {
|
|
|
704
710
|
systemLabel: [SystemLabel!]
|
|
705
711
|
"Whether to exclude API-only dialogs from the results. Defaults to false."
|
|
706
712
|
excludeApiOnly: Boolean
|
|
707
|
-
"Only return dialogs created after this date"
|
|
713
|
+
"Only return dialogs created after this date. For free text search this does not limit how much the search has to scan; use contentUpdatedAfter to narrow a broad search and avoid a 422 timeout."
|
|
708
714
|
createdAfter: DateTime
|
|
709
|
-
"Only return dialogs created before this date"
|
|
715
|
+
"Only return dialogs created before this date. For free text search this does not limit how much the search has to scan; use contentUpdatedAfter to narrow a broad search and avoid a 422 timeout."
|
|
710
716
|
createdBefore: DateTime
|
|
711
|
-
"Only return dialogs with content updated after this date"
|
|
717
|
+
"Only return dialogs with content updated after this date. Recommended for free text search: this is the only date filter that limits how much a broad search has to scan. A broad search term without a contentUpdatedAfter bound may exceed the server-side time limit and return 422 - narrow it with this filter (and/or fewer parties or a service resource)."
|
|
712
718
|
contentUpdatedAfter: DateTime
|
|
713
|
-
"Only return dialogs with content updated before this date"
|
|
719
|
+
"Only return dialogs with content updated before this date. Unlike contentUpdatedAfter, this upper bound does not by itself limit how much a free text search has to scan."
|
|
714
720
|
contentUpdatedBefore: DateTime
|
|
715
721
|
"Only return dialogs that have content that has/hasn't been seen by the user. A dialog is considered seen if it has been retrieved by a user, since it's last content update, and there is no SystemLabel MarkedAsUnopened."
|
|
716
722
|
isContentSeen: Boolean
|
|
717
|
-
"Only return dialogs updated after this date"
|
|
723
|
+
"Only return dialogs updated after this date. For free text search this does not limit how much the search has to scan; use contentUpdatedAfter to narrow a broad search and avoid a 422 timeout."
|
|
718
724
|
updatedAfter: DateTime
|
|
719
|
-
"Only return dialogs updated before this date"
|
|
725
|
+
"Only return dialogs updated before this date. For free text search this does not limit how much the search has to scan; use contentUpdatedAfter to narrow a broad search and avoid a 422 timeout."
|
|
720
726
|
updatedBefore: DateTime
|
|
721
727
|
"Only return dialogs with due date after this date"
|
|
722
728
|
dueAfter: DateTime
|
|
@@ -730,7 +736,7 @@ input SearchDialogInput {
|
|
|
730
736
|
limit: Int
|
|
731
737
|
"Continuation token for pagination"
|
|
732
738
|
continuationToken: String
|
|
733
|
-
"Sort the results by one or more fields"
|
|
739
|
+
"Sort the results by one or more fields. Defaults to contentUpdatedAt descending. For free text search, keeping the default contentUpdatedAt ordering together with contentUpdatedAfter gives the fastest results."
|
|
734
740
|
orderBy: [SearchDialogSortTypeInput!]
|
|
735
741
|
}
|
|
736
742
|
|
package/swagger.verified.json
CHANGED
|
@@ -312,59 +312,83 @@
|
|
|
312
312
|
"type": "object"
|
|
313
313
|
},
|
|
314
314
|
"ProblemDetails": {
|
|
315
|
-
"additionalProperties":
|
|
315
|
+
"additionalProperties": {
|
|
316
|
+
"nullable": true
|
|
317
|
+
},
|
|
316
318
|
"properties": {
|
|
319
|
+
"code": {
|
|
320
|
+
"nullable": true,
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
317
323
|
"detail": {
|
|
318
324
|
"nullable": true,
|
|
319
325
|
"type": "string"
|
|
320
326
|
},
|
|
321
327
|
"errors": {
|
|
322
|
-
"
|
|
323
|
-
"
|
|
328
|
+
"additionalProperties": {
|
|
329
|
+
"items": {
|
|
330
|
+
"type": "string"
|
|
331
|
+
},
|
|
332
|
+
"type": "array"
|
|
324
333
|
},
|
|
325
|
-
"
|
|
326
|
-
"type": "array"
|
|
334
|
+
"type": "object"
|
|
327
335
|
},
|
|
328
336
|
"instance": {
|
|
329
|
-
"
|
|
337
|
+
"nullable": true,
|
|
330
338
|
"type": "string"
|
|
331
339
|
},
|
|
332
340
|
"status": {
|
|
333
|
-
"default": 400,
|
|
334
341
|
"format": "int32",
|
|
342
|
+
"nullable": true,
|
|
335
343
|
"type": "integer"
|
|
336
344
|
},
|
|
345
|
+
"statusDescription": {
|
|
346
|
+
"nullable": true,
|
|
347
|
+
"type": "string"
|
|
348
|
+
},
|
|
337
349
|
"title": {
|
|
338
|
-
"
|
|
350
|
+
"nullable": true,
|
|
339
351
|
"type": "string"
|
|
340
352
|
},
|
|
341
353
|
"traceId": {
|
|
342
|
-
"
|
|
354
|
+
"nullable": true,
|
|
343
355
|
"type": "string"
|
|
344
356
|
},
|
|
345
357
|
"type": {
|
|
346
|
-
"
|
|
358
|
+
"nullable": true,
|
|
347
359
|
"type": "string"
|
|
360
|
+
},
|
|
361
|
+
"validationErrors": {
|
|
362
|
+
"items": {
|
|
363
|
+
"$ref": "#/components/schemas/ProblemDetails_Error"
|
|
364
|
+
},
|
|
365
|
+
"nullable": true,
|
|
366
|
+
"type": "array"
|
|
348
367
|
}
|
|
349
368
|
},
|
|
350
369
|
"type": "object"
|
|
351
370
|
},
|
|
352
371
|
"ProblemDetails_Error": {
|
|
353
|
-
"additionalProperties":
|
|
372
|
+
"additionalProperties": {
|
|
373
|
+
"nullable": true
|
|
374
|
+
},
|
|
354
375
|
"properties": {
|
|
355
376
|
"code": {
|
|
356
377
|
"nullable": true,
|
|
357
378
|
"type": "string"
|
|
358
379
|
},
|
|
359
|
-
"
|
|
360
|
-
"
|
|
380
|
+
"detail": {
|
|
381
|
+
"nullable": true,
|
|
361
382
|
"type": "string"
|
|
362
383
|
},
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
|
|
384
|
+
"paths": {
|
|
385
|
+
"items": {
|
|
386
|
+
"type": "string"
|
|
387
|
+
},
|
|
388
|
+
"nullable": true,
|
|
389
|
+
"type": "array"
|
|
366
390
|
},
|
|
367
|
-
"
|
|
391
|
+
"title": {
|
|
368
392
|
"nullable": true,
|
|
369
393
|
"type": "string"
|
|
370
394
|
}
|
|
@@ -688,6 +712,121 @@
|
|
|
688
712
|
},
|
|
689
713
|
"type": "object"
|
|
690
714
|
},
|
|
715
|
+
"V1CommonServiceResourceMetadata_ServiceResourceMetadataAccessPackage": {
|
|
716
|
+
"additionalProperties": false,
|
|
717
|
+
"properties": {
|
|
718
|
+
"links": {
|
|
719
|
+
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
720
|
+
},
|
|
721
|
+
"name": {
|
|
722
|
+
"items": {
|
|
723
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
724
|
+
},
|
|
725
|
+
"nullable": true,
|
|
726
|
+
"type": "array"
|
|
727
|
+
},
|
|
728
|
+
"urn": {
|
|
729
|
+
"type": "string"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
"type": "object"
|
|
733
|
+
},
|
|
734
|
+
"V1CommonServiceResourceMetadata_ServiceResourceMetadataItem": {
|
|
735
|
+
"additionalProperties": false,
|
|
736
|
+
"properties": {
|
|
737
|
+
"accessPackages": {
|
|
738
|
+
"items": {
|
|
739
|
+
"$ref": "#/components/schemas/V1CommonServiceResourceMetadata_ServiceResourceMetadataAccessPackage"
|
|
740
|
+
},
|
|
741
|
+
"nullable": true,
|
|
742
|
+
"type": "array"
|
|
743
|
+
},
|
|
744
|
+
"roles": {
|
|
745
|
+
"items": {
|
|
746
|
+
"$ref": "#/components/schemas/V1CommonServiceResourceMetadata_ServiceResourceMetadataRole"
|
|
747
|
+
},
|
|
748
|
+
"nullable": true,
|
|
749
|
+
"type": "array"
|
|
750
|
+
},
|
|
751
|
+
"serviceOwner": {
|
|
752
|
+
"$ref": "#/components/schemas/V1CommonServiceResourceMetadata_ServiceResourceMetadataServiceOwner"
|
|
753
|
+
},
|
|
754
|
+
"serviceResource": {
|
|
755
|
+
"$ref": "#/components/schemas/V1CommonServiceResourceMetadata_ServiceResourceMetadataServiceResource"
|
|
756
|
+
}
|
|
757
|
+
},
|
|
758
|
+
"type": "object"
|
|
759
|
+
},
|
|
760
|
+
"V1CommonServiceResourceMetadata_ServiceResourceMetadataRole": {
|
|
761
|
+
"additionalProperties": false,
|
|
762
|
+
"properties": {
|
|
763
|
+
"links": {
|
|
764
|
+
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
765
|
+
},
|
|
766
|
+
"name": {
|
|
767
|
+
"items": {
|
|
768
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
769
|
+
},
|
|
770
|
+
"nullable": true,
|
|
771
|
+
"type": "array"
|
|
772
|
+
},
|
|
773
|
+
"urn": {
|
|
774
|
+
"type": "string"
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"type": "object"
|
|
778
|
+
},
|
|
779
|
+
"V1CommonServiceResourceMetadata_ServiceResourceMetadataServiceOwner": {
|
|
780
|
+
"additionalProperties": false,
|
|
781
|
+
"properties": {
|
|
782
|
+
"code": {
|
|
783
|
+
"type": "string"
|
|
784
|
+
},
|
|
785
|
+
"name": {
|
|
786
|
+
"items": {
|
|
787
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
788
|
+
},
|
|
789
|
+
"nullable": true,
|
|
790
|
+
"type": "array"
|
|
791
|
+
},
|
|
792
|
+
"orgNumber": {
|
|
793
|
+
"type": "string"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"type": "object"
|
|
797
|
+
},
|
|
798
|
+
"V1CommonServiceResourceMetadata_ServiceResourceMetadataServiceResource": {
|
|
799
|
+
"additionalProperties": false,
|
|
800
|
+
"properties": {
|
|
801
|
+
"id": {
|
|
802
|
+
"type": "string"
|
|
803
|
+
},
|
|
804
|
+
"isDelegable": {
|
|
805
|
+
"type": "boolean"
|
|
806
|
+
},
|
|
807
|
+
"links": {
|
|
808
|
+
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
809
|
+
},
|
|
810
|
+
"minimumAuthenticationLevel": {
|
|
811
|
+
"format": "int32",
|
|
812
|
+
"type": "integer"
|
|
813
|
+
},
|
|
814
|
+
"name": {
|
|
815
|
+
"items": {
|
|
816
|
+
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
817
|
+
},
|
|
818
|
+
"nullable": true,
|
|
819
|
+
"type": "array"
|
|
820
|
+
},
|
|
821
|
+
"resourceType": {
|
|
822
|
+
"type": "string"
|
|
823
|
+
},
|
|
824
|
+
"status": {
|
|
825
|
+
"type": "string"
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
"type": "object"
|
|
829
|
+
},
|
|
691
830
|
"V1EndUserCommon_AcceptedLanguage": {
|
|
692
831
|
"additionalProperties": false,
|
|
693
832
|
"properties": {
|
|
@@ -2649,6 +2788,33 @@
|
|
|
2649
2788
|
},
|
|
2650
2789
|
"type": "object"
|
|
2651
2790
|
},
|
|
2791
|
+
"V1EndUserServiceResourcesQueriesSearch_AuthorizedServiceResources": {
|
|
2792
|
+
"additionalProperties": false,
|
|
2793
|
+
"properties": {
|
|
2794
|
+
"items": {
|
|
2795
|
+
"items": {
|
|
2796
|
+
"$ref": "#/components/schemas/V1CommonServiceResourceMetadata_ServiceResourceMetadataItem"
|
|
2797
|
+
},
|
|
2798
|
+
"nullable": true,
|
|
2799
|
+
"type": "array"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
"type": "object"
|
|
2803
|
+
},
|
|
2804
|
+
"V1EndUserServiceResourcesSearch_AuthorizedServiceResourcesRequest": {
|
|
2805
|
+
"additionalProperties": false,
|
|
2806
|
+
"properties": {
|
|
2807
|
+
"acceptedLanguages": {
|
|
2808
|
+
"nullable": true,
|
|
2809
|
+
"oneOf": [
|
|
2810
|
+
{
|
|
2811
|
+
"$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
|
|
2812
|
+
}
|
|
2813
|
+
]
|
|
2814
|
+
}
|
|
2815
|
+
},
|
|
2816
|
+
"type": "object"
|
|
2817
|
+
},
|
|
2652
2818
|
"V1MetadataLimitsQueriesGet_EndUserSearchLimits": {
|
|
2653
2819
|
"additionalProperties": false,
|
|
2654
2820
|
"properties": {
|
|
@@ -2720,116 +2886,7 @@
|
|
|
2720
2886
|
"properties": {
|
|
2721
2887
|
"items": {
|
|
2722
2888
|
"items": {
|
|
2723
|
-
"$ref": "#/components/schemas/
|
|
2724
|
-
},
|
|
2725
|
-
"nullable": true,
|
|
2726
|
-
"type": "array"
|
|
2727
|
-
}
|
|
2728
|
-
},
|
|
2729
|
-
"type": "object"
|
|
2730
|
-
},
|
|
2731
|
-
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataAccessPackage": {
|
|
2732
|
-
"additionalProperties": false,
|
|
2733
|
-
"properties": {
|
|
2734
|
-
"links": {
|
|
2735
|
-
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
2736
|
-
},
|
|
2737
|
-
"name": {
|
|
2738
|
-
"items": {
|
|
2739
|
-
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2740
|
-
},
|
|
2741
|
-
"nullable": true,
|
|
2742
|
-
"type": "array"
|
|
2743
|
-
},
|
|
2744
|
-
"urn": {
|
|
2745
|
-
"type": "string"
|
|
2746
|
-
}
|
|
2747
|
-
},
|
|
2748
|
-
"type": "object"
|
|
2749
|
-
},
|
|
2750
|
-
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataItem": {
|
|
2751
|
-
"additionalProperties": false,
|
|
2752
|
-
"properties": {
|
|
2753
|
-
"accessPackages": {
|
|
2754
|
-
"items": {
|
|
2755
|
-
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataAccessPackage"
|
|
2756
|
-
},
|
|
2757
|
-
"nullable": true,
|
|
2758
|
-
"type": "array"
|
|
2759
|
-
},
|
|
2760
|
-
"roles": {
|
|
2761
|
-
"items": {
|
|
2762
|
-
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataRole"
|
|
2763
|
-
},
|
|
2764
|
-
"nullable": true,
|
|
2765
|
-
"type": "array"
|
|
2766
|
-
},
|
|
2767
|
-
"serviceOwner": {
|
|
2768
|
-
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataServiceOwner"
|
|
2769
|
-
},
|
|
2770
|
-
"serviceResource": {
|
|
2771
|
-
"$ref": "#/components/schemas/V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataServiceResource"
|
|
2772
|
-
}
|
|
2773
|
-
},
|
|
2774
|
-
"type": "object"
|
|
2775
|
-
},
|
|
2776
|
-
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataRole": {
|
|
2777
|
-
"additionalProperties": false,
|
|
2778
|
-
"properties": {
|
|
2779
|
-
"links": {
|
|
2780
|
-
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
2781
|
-
},
|
|
2782
|
-
"name": {
|
|
2783
|
-
"items": {
|
|
2784
|
-
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2785
|
-
},
|
|
2786
|
-
"nullable": true,
|
|
2787
|
-
"type": "array"
|
|
2788
|
-
},
|
|
2789
|
-
"urn": {
|
|
2790
|
-
"type": "string"
|
|
2791
|
-
}
|
|
2792
|
-
},
|
|
2793
|
-
"type": "object"
|
|
2794
|
-
},
|
|
2795
|
-
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataServiceOwner": {
|
|
2796
|
-
"additionalProperties": false,
|
|
2797
|
-
"properties": {
|
|
2798
|
-
"code": {
|
|
2799
|
-
"type": "string"
|
|
2800
|
-
},
|
|
2801
|
-
"name": {
|
|
2802
|
-
"items": {
|
|
2803
|
-
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2804
|
-
},
|
|
2805
|
-
"nullable": true,
|
|
2806
|
-
"type": "array"
|
|
2807
|
-
},
|
|
2808
|
-
"orgNumber": {
|
|
2809
|
-
"type": "string"
|
|
2810
|
-
}
|
|
2811
|
-
},
|
|
2812
|
-
"type": "object"
|
|
2813
|
-
},
|
|
2814
|
-
"V1MetadataServiceResourcesQueriesGet_ServiceResourceMetadataServiceResource": {
|
|
2815
|
-
"additionalProperties": false,
|
|
2816
|
-
"properties": {
|
|
2817
|
-
"id": {
|
|
2818
|
-
"type": "string"
|
|
2819
|
-
},
|
|
2820
|
-
"isDelegable": {
|
|
2821
|
-
"type": "boolean"
|
|
2822
|
-
},
|
|
2823
|
-
"links": {
|
|
2824
|
-
"$ref": "#/components/schemas/DigdirDomainDialogportenApplicationCommon_Link"
|
|
2825
|
-
},
|
|
2826
|
-
"minimumAuthenticationLevel": {
|
|
2827
|
-
"format": "int32",
|
|
2828
|
-
"type": "integer"
|
|
2829
|
-
},
|
|
2830
|
-
"name": {
|
|
2831
|
-
"items": {
|
|
2832
|
-
"$ref": "#/components/schemas/V1CommonLocalizations_Localization"
|
|
2889
|
+
"$ref": "#/components/schemas/V1CommonServiceResourceMetadata_ServiceResourceMetadataItem"
|
|
2833
2890
|
},
|
|
2834
2891
|
"nullable": true,
|
|
2835
2892
|
"type": "array"
|
|
@@ -7238,7 +7295,7 @@
|
|
|
7238
7295
|
"style": "form"
|
|
7239
7296
|
},
|
|
7240
7297
|
{
|
|
7241
|
-
"description": "Only return dialogs created after this date",
|
|
7298
|
+
"description": "Only return dialogs created after this date. For free text search this does not limit how much the search has to scan; use \u0027contentUpdatedAfter\u0027 to narrow a broad search and avoid a 422 timeout.",
|
|
7242
7299
|
"in": "query",
|
|
7243
7300
|
"name": "createdAfter",
|
|
7244
7301
|
"schema": {
|
|
@@ -7248,7 +7305,7 @@
|
|
|
7248
7305
|
}
|
|
7249
7306
|
},
|
|
7250
7307
|
{
|
|
7251
|
-
"description": "Only return dialogs created before this date",
|
|
7308
|
+
"description": "Only return dialogs created before this date. For free text search this does not limit how much the search has to scan; use \u0027contentUpdatedAfter\u0027 to narrow a broad search and avoid a 422 timeout.",
|
|
7252
7309
|
"in": "query",
|
|
7253
7310
|
"name": "createdBefore",
|
|
7254
7311
|
"schema": {
|
|
@@ -7258,7 +7315,7 @@
|
|
|
7258
7315
|
}
|
|
7259
7316
|
},
|
|
7260
7317
|
{
|
|
7261
|
-
"description": "Only return dialogs updated after this date",
|
|
7318
|
+
"description": "Only return dialogs updated after this date. For free text search this does not limit how much the search has to scan; use \u0027contentUpdatedAfter\u0027 to narrow a broad search and avoid a 422 timeout.",
|
|
7262
7319
|
"in": "query",
|
|
7263
7320
|
"name": "updatedAfter",
|
|
7264
7321
|
"schema": {
|
|
@@ -7268,7 +7325,7 @@
|
|
|
7268
7325
|
}
|
|
7269
7326
|
},
|
|
7270
7327
|
{
|
|
7271
|
-
"description": "Only return dialogs updated before this date",
|
|
7328
|
+
"description": "Only return dialogs updated before this date. For free text search this does not limit how much the search has to scan; use \u0027contentUpdatedAfter\u0027 to narrow a broad search and avoid a 422 timeout.",
|
|
7272
7329
|
"in": "query",
|
|
7273
7330
|
"name": "updatedBefore",
|
|
7274
7331
|
"schema": {
|
|
@@ -7278,7 +7335,7 @@
|
|
|
7278
7335
|
}
|
|
7279
7336
|
},
|
|
7280
7337
|
{
|
|
7281
|
-
"description": "Only return dialogs with content updated after this date",
|
|
7338
|
+
"description": "Only return dialogs with content updated after this date. Recommended for free text search: this is the only date filter that limits how much a broad search has to scan. A broad search term without a \u0027contentUpdatedAfter\u0027 bound may exceed the server-side time limit and return 422 - narrow it with this filter (and/or fewer parties or a service resource).",
|
|
7282
7339
|
"in": "query",
|
|
7283
7340
|
"name": "contentUpdatedAfter",
|
|
7284
7341
|
"schema": {
|
|
@@ -7288,7 +7345,7 @@
|
|
|
7288
7345
|
}
|
|
7289
7346
|
},
|
|
7290
7347
|
{
|
|
7291
|
-
"description": "Only return dialogs with content updated before this date",
|
|
7348
|
+
"description": "Only return dialogs with content updated before this date. Unlike \u0027contentUpdatedAfter\u0027, this upper bound does not by itself limit how much a free text search has to scan.",
|
|
7292
7349
|
"in": "query",
|
|
7293
7350
|
"name": "contentUpdatedBefore",
|
|
7294
7351
|
"schema": {
|
|
@@ -7377,6 +7434,7 @@
|
|
|
7377
7434
|
}
|
|
7378
7435
|
},
|
|
7379
7436
|
{
|
|
7437
|
+
"description": "Order the results by one or more fields. Defaults to \u0022contentUpdatedAt\u0022 descending. For free text search, keeping the default \u0022contentUpdatedAt\u0022 ordering together with \u0022contentUpdatedAfter\u0022 gives the fastest results.",
|
|
7380
7438
|
"in": "query",
|
|
7381
7439
|
"name": "orderBy",
|
|
7382
7440
|
"schema": {
|
|
@@ -7430,6 +7488,19 @@
|
|
|
7430
7488
|
"401": {
|
|
7431
7489
|
"description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \u0022digdir:dialogporten\u0022."
|
|
7432
7490
|
},
|
|
7491
|
+
"403": {
|
|
7492
|
+
"description": "Forbidden"
|
|
7493
|
+
},
|
|
7494
|
+
"422": {
|
|
7495
|
+
"content": {
|
|
7496
|
+
"application/problem\u002Bjson": {
|
|
7497
|
+
"schema": {
|
|
7498
|
+
"$ref": "#/components/schemas/ProblemDetails"
|
|
7499
|
+
}
|
|
7500
|
+
}
|
|
7501
|
+
},
|
|
7502
|
+
"description": "Domain error occurred. See problem details for a list of errors."
|
|
7503
|
+
},
|
|
7433
7504
|
"503": {
|
|
7434
7505
|
"content": {
|
|
7435
7506
|
"text/plain": {
|
|
@@ -8451,6 +8522,88 @@
|
|
|
8451
8522
|
]
|
|
8452
8523
|
}
|
|
8453
8524
|
},
|
|
8525
|
+
"/api/v1/enduser/serviceresources": {
|
|
8526
|
+
"get": {
|
|
8527
|
+
"description": "Returns the same service resource metadata as the public metadata endpoint, filtered to the resources the calling end user is authorized to use. Optionally narrowed by one or more party URNs.",
|
|
8528
|
+
"operationId": "V1EndUserServiceResourcesSearch_AuthorizedServiceResources",
|
|
8529
|
+
"parameters": [
|
|
8530
|
+
{
|
|
8531
|
+
"description": "Filter by one or more party URNs. Parties the caller is not authorized for are silently ignored.",
|
|
8532
|
+
"explode": true,
|
|
8533
|
+
"in": "query",
|
|
8534
|
+
"name": "party",
|
|
8535
|
+
"schema": {
|
|
8536
|
+
"items": {
|
|
8537
|
+
"type": "string"
|
|
8538
|
+
},
|
|
8539
|
+
"nullable": true,
|
|
8540
|
+
"type": "array"
|
|
8541
|
+
},
|
|
8542
|
+
"style": "form"
|
|
8543
|
+
},
|
|
8544
|
+
{
|
|
8545
|
+
"in": "header",
|
|
8546
|
+
"name": "accept-Language",
|
|
8547
|
+
"schema": {
|
|
8548
|
+
"nullable": true,
|
|
8549
|
+
"oneOf": [
|
|
8550
|
+
{
|
|
8551
|
+
"$ref": "#/components/schemas/V1EndUserCommon_AcceptedLanguages"
|
|
8552
|
+
}
|
|
8553
|
+
]
|
|
8554
|
+
}
|
|
8555
|
+
}
|
|
8556
|
+
],
|
|
8557
|
+
"responses": {
|
|
8558
|
+
"200": {
|
|
8559
|
+
"content": {
|
|
8560
|
+
"application/json": {
|
|
8561
|
+
"schema": {
|
|
8562
|
+
"$ref": "#/components/schemas/V1EndUserServiceResourcesQueriesSearch_AuthorizedServiceResources"
|
|
8563
|
+
}
|
|
8564
|
+
}
|
|
8565
|
+
},
|
|
8566
|
+
"description": "Authorized service resource metadata."
|
|
8567
|
+
},
|
|
8568
|
+
"401": {
|
|
8569
|
+
"description": "Unauthorized"
|
|
8570
|
+
},
|
|
8571
|
+
"403": {
|
|
8572
|
+
"description": "Forbidden"
|
|
8573
|
+
},
|
|
8574
|
+
"503": {
|
|
8575
|
+
"content": {
|
|
8576
|
+
"text/plain": {
|
|
8577
|
+
"schema": {
|
|
8578
|
+
"example": "Service Unavailable",
|
|
8579
|
+
"type": "string"
|
|
8580
|
+
}
|
|
8581
|
+
}
|
|
8582
|
+
},
|
|
8583
|
+
"description": "Service Unavailable, used when Dialogporten is in maintenance mode",
|
|
8584
|
+
"headers": {
|
|
8585
|
+
"Retry-After": {
|
|
8586
|
+
"description": "Delay before retrying the request. Datetime format RFC1123",
|
|
8587
|
+
"schema": {
|
|
8588
|
+
"type": "string"
|
|
8589
|
+
}
|
|
8590
|
+
}
|
|
8591
|
+
}
|
|
8592
|
+
}
|
|
8593
|
+
},
|
|
8594
|
+
"security": [
|
|
8595
|
+
{
|
|
8596
|
+
"JWTBearerAuth": [
|
|
8597
|
+
"digdir:dialogporten"
|
|
8598
|
+
]
|
|
8599
|
+
}
|
|
8600
|
+
],
|
|
8601
|
+
"summary": "Gets the service resources the authenticated end user is authorized to use.",
|
|
8602
|
+
"tags": [
|
|
8603
|
+
"Enduser"
|
|
8604
|
+
]
|
|
8605
|
+
}
|
|
8606
|
+
},
|
|
8454
8607
|
"/api/v1/metadata/limits": {
|
|
8455
8608
|
"get": {
|
|
8456
8609
|
"description": "Returns the active limits for EndUser and ServiceOwner search filters.",
|
|
@@ -11532,4 +11685,4 @@
|
|
|
11532
11685
|
}
|
|
11533
11686
|
}
|
|
11534
11687
|
}
|
|
11535
|
-
}
|
|
11688
|
+
}
|