Skip to content

Commit

Permalink
Added REST fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
juskora committed Nov 15, 2024
1 parent e8fab78 commit 615b1f0
Show file tree
Hide file tree
Showing 21 changed files with 4,272 additions and 168 deletions.
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"
}
}
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>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"InternalParticipantUpdate": {
"scope": "view"
}
}
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>
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>
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"
}
]
}
}
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>
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"
}
]
}
}
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>
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"
]
}
}
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"
}
}
}
Loading

0 comments on commit 615b1f0

Please sign in to comment.