|
1486 | 1486 | ]
|
1487 | 1487 | }
|
1488 | 1488 | },
|
| 1489 | + "/api/v1/enduser/dialogs/{dialogId}/seenlog": { |
| 1490 | + "get": { |
| 1491 | + "tags": [ |
| 1492 | + "Enduser" |
| 1493 | + ], |
| 1494 | + "summary": "Gets a single dialog seen log record", |
| 1495 | + "description": "Gets a single dialog seen log record. For more information see the documentation (link TBD).", |
| 1496 | + "operationId": "SearchDialogSeenLog", |
| 1497 | + "parameters": [ |
| 1498 | + { |
| 1499 | + "name": "dialogId", |
| 1500 | + "in": "path", |
| 1501 | + "required": true, |
| 1502 | + "schema": { |
| 1503 | + "type": "string", |
| 1504 | + "format": "guid" |
| 1505 | + } |
| 1506 | + } |
| 1507 | + ], |
| 1508 | + "responses": { |
| 1509 | + "401": { |
| 1510 | + "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"." |
| 1511 | + }, |
| 1512 | + "403": { |
| 1513 | + "description": "Forbidden" |
| 1514 | + }, |
| 1515 | + "200": { |
| 1516 | + "description": "Successfully returned the dialog seen log record.", |
| 1517 | + "content": { |
| 1518 | + "application/json": { |
| 1519 | + "schema": { |
| 1520 | + "type": "array", |
| 1521 | + "items": { |
| 1522 | + "$ref": "#/components/schemas/SearchDialogSeenLogDto" |
| 1523 | + } |
| 1524 | + } |
| 1525 | + } |
| 1526 | + } |
| 1527 | + }, |
| 1528 | + "404": { |
| 1529 | + "description": "The given dialog ID or dialog element ID was not found or was already deleted.", |
| 1530 | + "content": { |
| 1531 | + "application/problem+json": { |
| 1532 | + "schema": { |
| 1533 | + "$ref": "#/components/schemas/ProblemDetails" |
| 1534 | + } |
| 1535 | + } |
| 1536 | + } |
| 1537 | + } |
| 1538 | + }, |
| 1539 | + "security": [ |
| 1540 | + { |
| 1541 | + "JWTBearerAuth": [] |
| 1542 | + } |
| 1543 | + ] |
| 1544 | + } |
| 1545 | + }, |
| 1546 | + "/api/v1/enduser/dialogs/{dialogId}/seenlog/{seenLogId}": { |
| 1547 | + "get": { |
| 1548 | + "tags": [ |
| 1549 | + "Enduser" |
| 1550 | + ], |
| 1551 | + "summary": "Gets a single dialog seen log record", |
| 1552 | + "description": "Gets a single dialog seen log record. For more information see the documentation (link TBD).", |
| 1553 | + "operationId": "GetDialogSeenLog", |
| 1554 | + "parameters": [ |
| 1555 | + { |
| 1556 | + "name": "dialogId", |
| 1557 | + "in": "path", |
| 1558 | + "required": true, |
| 1559 | + "schema": { |
| 1560 | + "type": "string", |
| 1561 | + "format": "guid" |
| 1562 | + } |
| 1563 | + }, |
| 1564 | + { |
| 1565 | + "name": "seenLogId", |
| 1566 | + "in": "path", |
| 1567 | + "required": true, |
| 1568 | + "schema": { |
| 1569 | + "type": "string", |
| 1570 | + "format": "guid" |
| 1571 | + } |
| 1572 | + } |
| 1573 | + ], |
| 1574 | + "responses": { |
| 1575 | + "401": { |
| 1576 | + "description": "Missing or invalid authentication token. Requires a Maskinporten-token with the scope \"digdir:dialogporten\"." |
| 1577 | + }, |
| 1578 | + "403": { |
| 1579 | + "description": "Forbidden" |
| 1580 | + }, |
| 1581 | + "200": { |
| 1582 | + "description": "Successfully returned the dialog seen log record.", |
| 1583 | + "content": { |
| 1584 | + "application/json": { |
| 1585 | + "schema": { |
| 1586 | + "$ref": "#/components/schemas/GetDialogSeenLogDto" |
| 1587 | + } |
| 1588 | + } |
| 1589 | + } |
| 1590 | + }, |
| 1591 | + "404": { |
| 1592 | + "description": "The given dialog ID or dialog element ID was not found or was already deleted.", |
| 1593 | + "content": { |
| 1594 | + "application/problem+json": { |
| 1595 | + "schema": { |
| 1596 | + "$ref": "#/components/schemas/ProblemDetails" |
| 1597 | + } |
| 1598 | + } |
| 1599 | + } |
| 1600 | + } |
| 1601 | + }, |
| 1602 | + "security": [ |
| 1603 | + { |
| 1604 | + "JWTBearerAuth": [] |
| 1605 | + } |
| 1606 | + ] |
| 1607 | + } |
| 1608 | + }, |
1489 | 1609 | "/api/v1/enduser/dialogs": {
|
1490 | 1610 | "get": {
|
1491 | 1611 | "tags": [
|
|
2606 | 2726 | "seenSinceLastUpdate": {
|
2607 | 2727 | "type": "array",
|
2608 | 2728 | "items": {
|
2609 |
| - "$ref": "#/components/schemas/SearchDialogDialogSeenRecordDtoSO" |
| 2729 | + "$ref": "#/components/schemas/SearchDialogDialogSeenLogDtoSO" |
2610 | 2730 | }
|
2611 | 2731 | }
|
2612 | 2732 | }
|
|
2626 | 2746 | }
|
2627 | 2747 | }
|
2628 | 2748 | },
|
2629 |
| - "SearchDialogDialogSeenRecordDtoSO": { |
| 2749 | + "SearchDialogDialogSeenLogDtoSO": { |
2630 | 2750 | "type": "object",
|
2631 | 2751 | "additionalProperties": false,
|
2632 | 2752 | "properties": {
|
|
2756 | 2876 | "seenSinceLastUpdate": {
|
2757 | 2877 | "type": "array",
|
2758 | 2878 | "items": {
|
2759 |
| - "$ref": "#/components/schemas/GetDialogDialogSeenRecordDtoSO" |
| 2879 | + "$ref": "#/components/schemas/GetDialogDialogSeenLogDtoSO" |
2760 | 2880 | }
|
2761 | 2881 | }
|
2762 | 2882 | }
|
|
2998 | 3118 | }
|
2999 | 3119 | }
|
3000 | 3120 | },
|
3001 |
| - "GetDialogDialogSeenRecordDtoSO": { |
| 3121 | + "GetDialogDialogSeenLogDtoSO": { |
3002 | 3122 | "type": "object",
|
3003 | 3123 | "additionalProperties": false,
|
3004 | 3124 | "properties": {
|
|
3450 | 3570 | }
|
3451 | 3571 | }
|
3452 | 3572 | },
|
| 3573 | + "SearchDialogSeenLogDto": { |
| 3574 | + "type": "object", |
| 3575 | + "additionalProperties": false, |
| 3576 | + "properties": { |
| 3577 | + "id": { |
| 3578 | + "type": "string", |
| 3579 | + "format": "guid" |
| 3580 | + }, |
| 3581 | + "seenAt": { |
| 3582 | + "type": "string", |
| 3583 | + "format": "date-time" |
| 3584 | + }, |
| 3585 | + "endUserIdHash": { |
| 3586 | + "type": "string" |
| 3587 | + }, |
| 3588 | + "endUserName": { |
| 3589 | + "type": "string", |
| 3590 | + "nullable": true |
| 3591 | + }, |
| 3592 | + "isCurrentEndUser": { |
| 3593 | + "type": "boolean" |
| 3594 | + } |
| 3595 | + } |
| 3596 | + }, |
| 3597 | + "GetDialogSeenLogDto": { |
| 3598 | + "type": "object", |
| 3599 | + "additionalProperties": false, |
| 3600 | + "properties": { |
| 3601 | + "id": { |
| 3602 | + "type": "string", |
| 3603 | + "format": "guid" |
| 3604 | + }, |
| 3605 | + "seenAt": { |
| 3606 | + "type": "string", |
| 3607 | + "format": "date-time" |
| 3608 | + }, |
| 3609 | + "endUserIdHash": { |
| 3610 | + "type": "string" |
| 3611 | + }, |
| 3612 | + "endUserName": { |
| 3613 | + "type": "string", |
| 3614 | + "nullable": true |
| 3615 | + }, |
| 3616 | + "isCurrentEndUser": { |
| 3617 | + "type": "boolean" |
| 3618 | + } |
| 3619 | + } |
| 3620 | + }, |
3453 | 3621 | "PaginatedListOfSearchDialogDto": {
|
3454 | 3622 | "type": "object",
|
3455 | 3623 | "additionalProperties": false,
|
|
3536 | 3704 | "seenSinceLastUpdate": {
|
3537 | 3705 | "type": "array",
|
3538 | 3706 | "items": {
|
3539 |
| - "$ref": "#/components/schemas/SearchDialogDialogSeenRecordDto" |
| 3707 | + "$ref": "#/components/schemas/SearchDialogDialogSeenLogDto" |
3540 | 3708 | }
|
3541 | 3709 | }
|
3542 | 3710 | }
|
|
3602 | 3770 | }
|
3603 | 3771 | }
|
3604 | 3772 | },
|
3605 |
| - "SearchDialogDialogSeenRecordDto": { |
| 3773 | + "SearchDialogDialogSeenLogDto": { |
3606 | 3774 | "type": "object",
|
3607 | 3775 | "additionalProperties": false,
|
3608 | 3776 | "properties": {
|
|
3723 | 3891 | "seenSinceLastUpdate": {
|
3724 | 3892 | "type": "array",
|
3725 | 3893 | "items": {
|
3726 |
| - "$ref": "#/components/schemas/GetDialogDialogSeenRecordDto" |
| 3894 | + "$ref": "#/components/schemas/GetDialogDialogSeenLogDto" |
3727 | 3895 | }
|
3728 | 3896 | }
|
3729 | 3897 | }
|
|
3967 | 4135 | }
|
3968 | 4136 | }
|
3969 | 4137 | },
|
3970 |
| - "GetDialogDialogSeenRecordDto": { |
| 4138 | + "GetDialogDialogSeenLogDto": { |
3971 | 4139 | "type": "object",
|
3972 | 4140 | "additionalProperties": false,
|
3973 | 4141 | "properties": {
|
|
0 commit comments