Skip to content

Commit 0047c84

Browse files
committed
Fixes after review
1 parent 9e3c21e commit 0047c84

File tree

6 files changed

+91
-46
lines changed

6 files changed

+91
-46
lines changed

docs/api/rest_api/rest_api_reference/input/examples/collaborative_editing/participant/add/PATCH/InternalParticipant.json.example

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"Participant": {
3-
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json",
4-
"id": 46,
5-
"name": "[email protected]",
3+
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json",
4+
"id": "46",
65
"scope": "view",
7-
"email": "[email protected]",
6+
"name": "Editor",
7+
"User": {
8+
"_media-type": "application/vnd.ibexa.api.User+json",
9+
"_href": "/api/ibexa/v2/user/users/70"
10+
},
811
"createdAt": "2024-11-14T14:09:47+00:00",
912
"updatedAt": "2024-11-15T13:13:22+00:00"
1013
}
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml">
1+
<?xml version="1.0"?>
2+
<Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml">
33
<id>46</id>
4-
<name>[email protected]</name>
5-
<scope>edit</scope>
6-
<email>[email protected]</email>
4+
<name>Editor</name>
5+
<scope>view</scope>
6+
<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/70"/>
77
<createdAt>2024-11-14T14:09:47+00:00</createdAt>
88
<updatedAt>2024-11-15T12:50:03+00:00</updatedAt>
99
</Participant>
Lines changed: 55 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,81 @@
11
{
22
"CollaborationSession": {
3-
"_media-type": "application/vnd.ibexa.api.CollaborationSession+json",
4-
"id": 17,
5-
"token": "f637f415-688a-4655-a3c5-e209e2bd6771",
6-
"createdAt": "2024-11-14T11:34:40+00:00",
7-
"updatedAt": "2024-11-14T11:34:40+00:00",
3+
"_media-type": "application/vnd.ibexa.api.ContentSession+json",
4+
"id": 34,
5+
"token": "3dbddb0e-e8ac-44bf-9042-57ca0c027f51",
6+
"isActive": true,
7+
"hasPublicLink": false,
8+
"createdAt": "2025-04-02T10:32:43+00:00",
9+
"updatedAt": "2025-04-02T10:32:43+00:00",
810
"ParticipantList": {
911
"_media-type": "application/vnd.ibexa.api.ParticipantList+json",
1012
"Participants": [
1113
{
1214
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json",
13-
"id": 39,
14-
"name": "Administrator User",
15+
"id": 50,
16+
"name": "Editor",
1517
"scope": "edit",
1618
"User": {
1719
"_media-type": "application/vnd.ibexa.api.User+json",
18-
"_href": "/api/ibexa/v2/user/users/14"
20+
"_href": "/api/ibexa/v2/user/users/70"
1921
},
20-
"createdAt": "2024-11-14T11:34:41+00:00",
21-
"updatedAt": "2024-11-14T11:34:41+00:00"
22+
"createdAt": "2025-04-02T10:32:43+00:00",
23+
"updatedAt": "2025-04-02T10:32:43+00:00"
2224
},
2325
{
2426
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json",
25-
"id": 40,
27+
"id": 51,
2628
"name": "[email protected]",
2729
"scope": "view",
2830
"email": "[email protected]",
29-
"createdAt": "2024-11-14T11:34:41+00:00",
30-
"updatedAt": "2024-11-14T11:34:41+00:00"
31+
"createdAt": "2025-04-02T10:32:43+00:00",
32+
"updatedAt": "2025-04-02T10:32:43+00:00"
3133
}
3234
]
3335
},
3436
"Owner": {
3537
"_media-type": "application/vnd.ibexa.api.User+json",
3638
"_href": "/api/ibexa/v2/user/users/14"
39+
},
40+
"VersionInfo": {
41+
"id": 517,
42+
"versionNo": 1,
43+
"status": "PUBLISHED",
44+
"modificationDate": "2025-03-03T14:09:56+00:00",
45+
"Creator": {
46+
"_media-type": "application/vnd.ibexa.api.User+json",
47+
"_href": "/api/ibexa/v2/user/users/14"
48+
},
49+
"creationDate": "2025-03-03T14:09:56+00:00",
50+
"initialLanguageCode": "eng-GB",
51+
"languageCodes": "eng-GB",
52+
"VersionTranslationInfo": {
53+
"_media-type": "application/vnd.ibexa.api.VersionTranslationInfo+json",
54+
"Language": [
55+
{
56+
"languageCode": "eng-GB"
57+
}
58+
]
59+
},
60+
"names": {
61+
"value": [
62+
{
63+
"_languageCode": "eng-GB",
64+
"#text": "Tags"
65+
}
66+
]
67+
},
68+
"Content": {
69+
"_media-type": "application/vnd.ibexa.api.ContentInfo+json",
70+
"_href": "/api/ibexa/v2/content/objects/57"
71+
}
72+
},
73+
"Language": {
74+
"_media-type": "application/vnd.ibexa.api.Language+json",
75+
"_href": "/api/ibexa/v2/languages/eng-GB",
76+
"languageId": 2,
77+
"languageCode": "eng-GB",
78+
"name": "English (United Kingdom)"
3779
}
3880
}
3981
}

docs/api/rest_api/rest_api_reference/input/examples/collaborative_editing/session/create/POST/CollaborationSession.json.example

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
{
22
"CollaborationSession": {
33
"_media-type": "application/vnd.ibexa.api.ContentSession+json",
4-
"id": 34,
5-
"token": "3dbddb0e-e8ac-44bf-9042-57ca0c027f51",
6-
"isActive": true,
7-
"hasPublicLink": false,
8-
"createdAt": "2025-04-02T10:32:43+00:00",
9-
"updatedAt": "2025-04-02T10:32:43+00:00",
4+
"id": 2,
5+
"token": "3c49fd65-4750-49f4-9592-1f66f500fcf6",
6+
"createdAt": "2025-09-19T06:50:52+00:00",
7+
"updatedAt": "2025-09-19T06:50:52+00:00",
108
"ParticipantList": {
119
"_media-type": "application/vnd.ibexa.api.ParticipantList+json",
1210
"Participants": [
1311
{
1412
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json",
15-
"id": 50,
16-
"name": "Editor",
13+
"id": 2,
14+
"name": "Editor0 User0",
1715
"scope": "edit",
1816
"User": {
1917
"_media-type": "application/vnd.ibexa.api.User+json",
20-
"_href": "/api/ibexa/v2/user/users/70"
18+
"_href": "/api/ibexa/v2/user/users/310"
2119
},
22-
"createdAt": "2025-04-02T10:32:43+00:00",
23-
"updatedAt": "2025-04-02T10:32:43+00:00"
20+
"createdAt": "2025-09-19T06:50:52+00:00",
21+
"updatedAt": "2025-09-19T06:50:52+00:00"
2422
},
2523
{
2624
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json",
27-
"id": 51,
25+
"id": 3,
2826
"name": "[email protected]",
2927
"scope": "view",
3028
"email": "[email protected]",
31-
"createdAt": "2025-04-02T10:32:43+00:00",
32-
"updatedAt": "2025-04-02T10:32:43+00:00"
29+
"createdAt": "2025-09-19T06:50:52+00:00",
30+
"updatedAt": "2025-09-19T06:50:52+00:00"
3331
}
3432
]
3533
},
3634
"Owner": {
3735
"_media-type": "application/vnd.ibexa.api.User+json",
38-
"_href": "/api/ibexa/v2/user/users/14"
36+
"_href": "/api/ibexa/v2/user/users/310"
3937
},
38+
"isActive": true,
39+
"hasPublicLink": false,
4040
"VersionInfo": {
41-
"id": 517,
41+
"id": 1099,
4242
"versionNo": 1,
4343
"status": "PUBLISHED",
44-
"modificationDate": "2025-03-03T14:09:56+00:00",
44+
"modificationDate": "2025-09-19T06:41:23+00:00",
4545
"Creator": {
4646
"_media-type": "application/vnd.ibexa.api.User+json",
4747
"_href": "/api/ibexa/v2/user/users/14"
4848
},
49-
"creationDate": "2025-03-03T14:09:56+00:00",
49+
"creationDate": "2025-09-19T06:41:05+00:00",
5050
"initialLanguageCode": "eng-GB",
5151
"languageCodes": "eng-GB",
5252
"VersionTranslationInfo": {
@@ -61,13 +61,13 @@
6161
"value": [
6262
{
6363
"_languageCode": "eng-GB",
64-
"#text": "Tags"
64+
"#text": "REST API session"
6565
}
6666
]
6767
},
6868
"Content": {
6969
"_media-type": "application/vnd.ibexa.api.ContentInfo+json",
70-
"_href": "/api/ibexa/v2/content/objects/57"
70+
"_href": "/api/ibexa/v2/content/objects/590"
7171
}
7272
},
7373
"Language": {

docs/api/rest_api/rest_api_reference/input/examples/collaborative_editing/session/create/POST/CollaborationSessionCreate.json.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"_media-type": "application\/vnd.ibexa.api.InternalParticipantCreate+json",
1212
"User": {
1313
"_media-type": "application/vnd.ibexa.api.User+json",
14-
"_href": "/api/ibexa/v2/user/users/70"
14+
"_href": "/api/ibexa/v2/user/users/14"
1515
},
16-
"scope": "edit"
16+
"scope": "view"
1717
},
1818
{
1919
"_media-type": "application\/vnd.ibexa.api.ExternalParticipantCreate+json",

docs/api/rest_api/rest_api_reference/input/ibexa-collaborativeediting-session.raml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ post:
1010
Content-Type:
1111
description: The session schema encoded in XML or JSON format.
1212
example:
13-
application/vnd.ibexa.api.CollaborationSessionCreate+json
14-
application/vnd.ibexa.api.CollaborationSessionCreate+xml
13+
application/vnd.ibexa.api.ContentSessionCreate+json
14+
application/vnd.ibexa.api.ContentSessionCreate+xml
1515
body:
1616
application/vnd.ibexa.api.ParticipantList+xml:
1717
type: Session

0 commit comments

Comments
 (0)