File tree Expand file tree Collapse file tree 5 files changed +23
-26
lines changed
docs/api/rest_api/rest_api_reference/input
examples/collaborative_editing/session/create/POST Expand file tree Collapse file tree 5 files changed +23
-26
lines changed Original file line number Diff line number Diff line change 33 "_media-type" : " application/vnd.ibexa.api.ContentSession+json" ,
44 "id" : 34 ,
55 "token" : " 3dbddb0e-e8ac-44bf-9042-57ca0c027f51" ,
6+ "isActive" : true ,
7+ "hasPublicLink" : false ,
68 "createdAt" : " 2025-04-02T10:32:43+00:00" ,
79 "updatedAt" : " 2025-04-02T10:32:43+00:00" ,
810 "ParticipantList" : {
1113 {
1214 "_media-type" : " application/vnd.ibexa.api.InternalParticipant+json" ,
1315 "id" : 50 ,
14- "name" : " Administrator User " ,
15- "scope" : " view " ,
16+ "name" : " Editor " ,
17+ "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 },
2022 "createdAt" : " 2025-04-02T10:32:43+00:00" ,
2123 "updatedAt" : " 2025-04-02T10:32:43+00:00"
3537 "_media-type" : " application/vnd.ibexa.api.User+json" ,
3638 "_href" : " /api/ibexa/v2/user/users/14"
3739 },
38- "hasPublicLink" : false ,
3940 "VersionInfo" : {
4041 "id" : 517 ,
4142 "versionNo" : 1 ,
Original file line number Diff line number Diff line change 22<CollaborationSession media-type =" application/vnd.ibexa.api.ContentSession+xml" >
33 <id >38</id >
44 <token >899fdbd7-4449-4f48-ae0e-eae56758c51f</token >
5+ <isActive >true</isActive >
6+ <hasPublicLink >false</hasPublicLink >
57 <createdAt >2025-04-02T10:35:57+00:00</createdAt >
68 <updatedAt >2025-04-02T10:35:57+00:00</updatedAt >
79 <ParticipantList media-type =" application/vnd.ibexa.api.ParticipantList+xml" >
810 <Participant media-type =" application/vnd.ibexa.api.InternalParticipant+xml" >
9- <id >52 </id >
11+ <id >50 </id >
1012 <name >Administrator User</name >
11- <scope >view </scope >
12- <User media-type =" application/vnd.ibexa.api.User+xml" href =" /api/ibexa/v2/user/users/14 " />
13+ <scope >edit </scope >
14+ <User media-type =" application/vnd.ibexa.api.User+xml" href =" /api/ibexa/v2/user/users/70 " />
1315 <createdAt >2025-04-02T10:35:57+00:00</createdAt >
1416 <updatedAt >2025-04-02T10:35:57+00:00</updatedAt >
1517 </Participant >
2325 </Participant >
2426 </ParticipantList >
2527 <Owner media-type =" application/vnd.ibexa.api.User+xml" href =" /api/ibexa/v2/user/users/14" />
26- <hasPublicLink >false</hasPublicLink >
2728 <VersionInfo >
2829 <id >490</id >
2930 <versionNo >1</versionNo >
Original file line number Diff line number Diff line change 11{
2- "CollaborationSessionCreate " : {
2+ "ContentSessionCreate " : {
33 "Owner" : {
44 "_media-type" : " application/vnd.ibexa.api.User+json" ,
55 "_href" : " /api/ibexa/v2/user/users/14"
66 },
7- "SessionTypeCreate" : {
8- "_media-type" : " application/vnd.ibexa.api.ContentSessionCreate+json" ,
9- "contentId" : 57 ,
10- "versionNo" : 1
11- },
127 "ParticipantListCreate" : {
138 "_media-type" : " application\/ vnd.ibexa.api.ParticipantListCreate+json" ,
149 "ParticipantCreate" : [
1510 {
1611 "_media-type" : " application\/ vnd.ibexa.api.InternalParticipantCreate+json" ,
1712 "User" : {
1813 "_media-type" : " application/vnd.ibexa.api.User+json" ,
19- "_href" : " /api/ibexa/v2/user/users/14 "
14+ "_href" : " /api/ibexa/v2/user/users/70 "
2015 },
21- "scope" : " view "
16+ "scope" : " edit "
2217 },
2318 {
2419 "_media-type" : " application\/ vnd.ibexa.api.ExternalParticipantCreate+json" ,
25202621 "scope" : " view"
2722 }
2823 ]
29- }
24+ },
25+ "contentId" : 57 ,
26+ "versionNo" : 1
3027 }
3128}
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <CollaborationSessionCreate >
2+ <ContentSessionCreate >
33 <Owner media-type =" application/vnd.ibexa.api.User+xml"
44 href =" /api/ibexa/v2/user/users/14"
55 >
66 </Owner >
77 <ParticipantListCreate media-type =" application/vnd.ibexa.api.ParticipantListCreate+xml" >
88 <ParticipantCreate media-type =" application/vnd.ibexa.api.InternalParticipantCreate+xml" >
9- <scope >view </scope >
9+ <scope >edit </scope >
1010 <User media-type =" application/vnd.ibexa.api.User+xml"
11- href =" /api/ibexa/v2/user/users/14 "
11+ href =" /api/ibexa/v2/user/users/1470
1212 >
1313 </User>
1414 </ParticipantCreate>
1717 <scope>view</scope>
1818 </ParticipantCreate>
1919 </ParticipantListCreate>
20- <SessionTypeCreate media-type =" application/vnd.ibexa.api.ContentSessionCreate+xml" >
21- <contentId >51</contentId >
22- <versionNo >1</versionNo >
23- </SessionTypeCreate >
24- </CollaborationSessionCreate >
20+ <contentId>57</contentId>
21+ <versionNo>1</versionNo>
22+ </ContentSessionCreate>
Original file line number Diff line number Diff line change 3838 404 :
3939 description : Error - no session with the given ID exists.
4040
41- /{sessionId } :
41+ /{sessionToken } :
4242 delete :
4343 displayName : Delete session (collaboration)
4444 description : The collaboration session is deleted.
You can’t perform that action at this time.
0 commit comments