-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
5,043 additions
and
171 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...put/examples/collaborative_editing/participant/add/PATCH/InternalParticipant.json.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"Participant": { | ||
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json", | ||
"id": 46, | ||
"name": "user@link.invalid", | ||
"scope": "view", | ||
"email": "user@link.invalid", | ||
"createdAt": "2024-11-14T14:09:47+00:00", | ||
"updatedAt": "2024-11-15T13:13:22+00:00" | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...nput/examples/collaborative_editing/participant/add/PATCH/InternalParticipant.xml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> | ||
<id>46</id> | ||
<name>user@link.invalid</name> | ||
<scope>edit</scope> | ||
<email>user@link.invalid</email> | ||
<createdAt>2024-11-14T14:09:47+00:00</createdAt> | ||
<updatedAt>2024-11-15T12:50:03+00:00</updatedAt> | ||
</Participant> |
5 changes: 5 additions & 0 deletions
5
...amples/collaborative_editing/participant/add/PATCH/InternalParticipantUpdate.json.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"InternalParticipantUpdate": { | ||
"scope": "view" | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
...xamples/collaborative_editing/participant/add/PATCH/InternalParticipantUpdate.xml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<InternalParticipantUpdate> | ||
<scope>edit</scope> | ||
</InternalParticipantUpdate> |
4 changes: 4 additions & 0 deletions
4
.../input/examples/collaborative_editing/participant/add/PATCH/ParticipantUpdate.xml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<InternalParticipantUpdate> | ||
<scope>view</scope> | ||
</InternalParticipantUpdate> |
112 changes: 112 additions & 0 deletions
112
...ce/input/examples/collaborative_editing/participant/add/POST/ParticipantList.json.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"ParticipantList": { | ||
"_media-type": "application/vnd.ibexa.api.ParticipantList+json", | ||
"Participants": [ | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json", | ||
"id": 11, | ||
"name": "Administrator User", | ||
"scope": "edit", | ||
"User": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
}, | ||
"createdAt": "2024-11-13T11:01:24+00:00", | ||
"updatedAt": "2024-11-13T11:01:24+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json", | ||
"id": 12, | ||
"name": "user@link.invalid", | ||
"scope": "view", | ||
"email": "user@link.invalid", | ||
"createdAt": "2024-11-13T11:01:24+00:00", | ||
"updatedAt": "2024-11-13T11:01:24+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json", | ||
"id": 13, | ||
"name": "Administrator User", | ||
"scope": "view", | ||
"User": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
}, | ||
"createdAt": "2024-11-13T11:02:22+00:00", | ||
"updatedAt": "2024-11-13T11:02:22+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json", | ||
"id": 14, | ||
"name": "user@link.invalid", | ||
"scope": "view", | ||
"email": "user@link.invalid", | ||
"createdAt": "2024-11-13T11:02:22+00:00", | ||
"updatedAt": "2024-11-13T11:02:22+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json", | ||
"id": 15, | ||
"name": "Administrator User", | ||
"scope": "view", | ||
"User": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
}, | ||
"createdAt": "2024-11-13T11:10:29+00:00", | ||
"updatedAt": "2024-11-13T11:10:29+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json", | ||
"id": 16, | ||
"name": "user@link.invalid", | ||
"scope": "view", | ||
"email": "user@link.invalid", | ||
"createdAt": "2024-11-13T11:10:29+00:00", | ||
"updatedAt": "2024-11-13T11:10:29+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json", | ||
"id": 17, | ||
"name": "Administrator User", | ||
"scope": "view", | ||
"User": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
}, | ||
"createdAt": "2024-11-13T11:43:20+00:00", | ||
"updatedAt": "2024-11-13T11:43:20+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json", | ||
"id": 18, | ||
"name": "user@link.invalid", | ||
"scope": "view", | ||
"email": "user@link.invalid", | ||
"createdAt": "2024-11-13T11:43:20+00:00", | ||
"updatedAt": "2024-11-13T11:43:20+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json", | ||
"id": 45, | ||
"name": "Administrator User", | ||
"scope": "view", | ||
"User": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
}, | ||
"createdAt": "2024-11-14T14:09:47+00:00", | ||
"updatedAt": "2024-11-14T14:09:47+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json", | ||
"id": 46, | ||
"name": "user@link.invalid", | ||
"scope": "view", | ||
"email": "user@link.invalid", | ||
"createdAt": "2024-11-14T14:09:47+00:00", | ||
"updatedAt": "2024-11-14T14:09:47+00:00" | ||
} | ||
] | ||
} | ||
} |
91 changes: 91 additions & 0 deletions
91
...nce/input/examples/collaborative_editing/participant/add/POST/ParticipantList.xml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ParticipantList media-type="application/vnd.ibexa.api.ParticipantList+xml"> | ||
<Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> | ||
<id>11</id> | ||
<name>Administrator User</name> | ||
<scope>edit</scope> | ||
<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> | ||
<createdAt>2024-11-13T11:01:24+00:00</createdAt> | ||
<updatedAt>2024-11-13T11:01:24+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> | ||
<id>13</id> | ||
<name>Administrator User</name> | ||
<scope>view</scope> | ||
<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> | ||
<createdAt>2024-11-13T11:02:22+00:00</createdAt> | ||
<updatedAt>2024-11-13T11:02:22+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> | ||
<id>14</id> | ||
<name>user@link.invalid</name> | ||
<scope>view</scope> | ||
<email>user@link.invalid</email> | ||
<createdAt>2024-11-13T11:02:22+00:00</createdAt> | ||
<updatedAt>2024-11-13T11:02:22+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> | ||
<id>15</id> | ||
<name>Administrator User</name> | ||
<scope>view</scope> | ||
<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> | ||
<createdAt>2024-11-13T11:10:29+00:00</createdAt> | ||
<updatedAt>2024-11-13T11:10:29+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> | ||
<id>16</id> | ||
<name>user@link.invalid</name> | ||
<scope>view</scope> | ||
<email>user@link.invalid</email> | ||
<createdAt>2024-11-13T11:10:29+00:00</createdAt> | ||
<updatedAt>2024-11-13T11:10:29+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> | ||
<id>17</id> | ||
<name>Administrator User</name> | ||
<scope>view</scope> | ||
<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> | ||
<createdAt>2024-11-13T11:43:20+00:00</createdAt> | ||
<updatedAt>2024-11-13T11:43:20+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> | ||
<id>18</id> | ||
<name>user@link.invalid</name> | ||
<scope>view</scope> | ||
<email>user@link.invalid</email> | ||
<createdAt>2024-11-13T11:43:20+00:00</createdAt> | ||
<updatedAt>2024-11-13T11:43:20+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> | ||
<id>45</id> | ||
<name>Administrator User</name> | ||
<scope>view</scope> | ||
<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> | ||
<createdAt>2024-11-14T14:09:47+00:00</createdAt> | ||
<updatedAt>2024-11-14T14:09:47+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> | ||
<id>46</id> | ||
<name>user@link.invalid</name> | ||
<scope>view</scope> | ||
<email>user@link.invalid</email> | ||
<createdAt>2024-11-14T14:09:47+00:00</createdAt> | ||
<updatedAt>2024-11-14T14:09:47+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.InternalParticipant+xml"> | ||
<id>49</id> | ||
<name>Administrator User</name> | ||
<scope>view</scope> | ||
<User media-type="application/vnd.ibexa.api.User+xml" href="/api/ibexa/v2/user/users/14"/> | ||
<createdAt>2024-11-15T11:55:38+00:00</createdAt> | ||
<updatedAt>2024-11-15T11:55:38+00:00</updatedAt> | ||
</Participant> | ||
<Participant media-type="application/vnd.ibexa.api.ExternalParticipant+xml"> | ||
<id>50</id> | ||
<name>user@link.invalid</name> | ||
<scope>view</scope> | ||
<email>user@link.invalid</email> | ||
<createdAt>2024-11-15T11:55:38+00:00</createdAt> | ||
<updatedAt>2024-11-15T11:55:38+00:00</updatedAt> | ||
</Participant> | ||
</ParticipantList> |
19 changes: 19 additions & 0 deletions
19
...ut/examples/collaborative_editing/participant/add/POST/ParticipantListCreate.json.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"ParticipantListCreate": { | ||
"ParticipantCreate": [ | ||
{ | ||
"_media-type": "application\/vnd.ibexa.api.InternalParticipantCreate+json", | ||
"User": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
}, | ||
"scope": "view" | ||
}, | ||
{ | ||
"_media-type": "application\/vnd.ibexa.api.ExternalParticipantCreate+json", | ||
"email": "user@link.invalid", | ||
"scope": "view" | ||
} | ||
] | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...put/examples/collaborative_editing/participant/add/POST/ParticipantListCreate.xml.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ParticipantListCreate> | ||
<ParticipantCreate media-type="application/vnd.ibexa.api.InternalParticipantCreate+xml"> | ||
<scope>view</scope> | ||
<User media-type="application/vnd.ibexa.api.User+xml" | ||
href="/api/ibexa/v2/user/users/14" | ||
> | ||
</User> | ||
</ParticipantCreate> | ||
<ParticipantCreate media-type="application/vnd.ibexa.api.ExternalParticipantCreate+xml"> | ||
<email>user@link.invalid</email> | ||
<scope>view</scope> | ||
</ParticipantCreate> | ||
</ParticipantListCreate> |
30 changes: 15 additions & 15 deletions
30
...ce/input/examples/collaborative_editing/participant/list/GET/ParticipantList.json.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"ParticipantList": { | ||
"_media-type": "application/vnd.ibexa.api.ParticipantList+json", | ||
"Participants": [ | ||
{ | ||
"User": { | ||
"_href": "/api/ibexa/v2/user/users/__FIXED_ID__", | ||
"_media-type": "application/vnd.ibexa.api.User+json" | ||
}, | ||
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json", | ||
"createdAt": "__CREATED_AT__", | ||
"id": "__FIXED_ID__", | ||
"name": "Anonymous User", | ||
"id": 39, | ||
"name": "Administrator User", | ||
"scope": "edit", | ||
"updatedAt": "__UPDATED_AT__" | ||
"User": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
}, | ||
"createdAt": "2024-11-14T11:34:41+00:00", | ||
"updatedAt": "2024-11-14T11:34:41+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json", | ||
"createdAt": "__CREATED_AT__", | ||
"email": "guest-foo@example.com", | ||
"id": "__FIXED_ID__", | ||
"name": "guest-foo@example.com", | ||
"id": 40, | ||
"name": "user@link.invalid", | ||
"scope": "view", | ||
"updatedAt": "__UPDATED_AT__" | ||
"email": "user@link.invalid", | ||
"createdAt": "2024-11-14T11:34:41+00:00", | ||
"updatedAt": "2024-11-14T11:34:41+00:00" | ||
} | ||
], | ||
"_media-type": "application/vnd.ibexa.api.ParticipantList+json" | ||
] | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...erence/input/examples/collaborative_editing/session/GET/CollaborationSession.json.example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"CollaborationSession": { | ||
"_media-type": "application/vnd.ibexa.api.CollaborationSession+json", | ||
"id": 17, | ||
"token": "f637f415-688a-4655-a3c5-e209e2bd6771", | ||
"createdAt": "2024-11-14T11:34:40+00:00", | ||
"updatedAt": "2024-11-14T11:34:40+00:00", | ||
"ParticipantList": { | ||
"_media-type": "application/vnd.ibexa.api.ParticipantList+json", | ||
"Participants": [ | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.InternalParticipant+json", | ||
"id": 39, | ||
"name": "Administrator User", | ||
"scope": "edit", | ||
"User": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
}, | ||
"createdAt": "2024-11-14T11:34:41+00:00", | ||
"updatedAt": "2024-11-14T11:34:41+00:00" | ||
}, | ||
{ | ||
"_media-type": "application/vnd.ibexa.api.ExternalParticipant+json", | ||
"id": 40, | ||
"name": "user@link.invalid", | ||
"scope": "view", | ||
"email": "user@link.invalid", | ||
"createdAt": "2024-11-14T11:34:41+00:00", | ||
"updatedAt": "2024-11-14T11:34:41+00:00" | ||
} | ||
] | ||
}, | ||
"Owner": { | ||
"_media-type": "application/vnd.ibexa.api.User+json", | ||
"_href": "/api/ibexa/v2/user/users/14" | ||
} | ||
} | ||
} |
Oops, something went wrong.