File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
src/bundle/Resources/api_platform/examples/user/sessions/POST Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11{
22 "Session" : {
3- "_media-type" : " application/vnd.ibexa.api.Session" ,
4- "name" : " eZSSID" ,
5- "identifier" : " go327ij2cirpo59pb6rrv2a4el2" ,
6- "csrfToken" : " 23lkneri34ijajedfw39orj3j93" ,
3+ "_media-type" : " application/vnd.ibexa.api.Session+json" ,
4+ "_href" : " /api/ibexa/v2/user/sessions/ABCDEFGHIJKLMNOPQRSTUVWXYZ" ,
5+ "name" : " IBX_SESSION_ID0123456789ABCDEFGHIJKLMNOPQRSTUV" ,
6+ "identifier" : " ABCDEFGHIJKLMNOPQRSTUVWXYZ" ,
7+ "csrfToken" : " 0123456789ABCDEF.GHIJKLMNOP_QRSTUVWXYZabcdefghijklmnopqrstuv.wxyz0123456-789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq" ,
78 "User" : {
8- "_href " : " /user/users/14 " ,
9- "_media-type " : " application/vnd.ibexa. api.User+json "
9+ "_media-type " : " application/vnd.ibexa.api.User+json " ,
10+ "_href " : " / api/ibexa/v2/user/users/14 "
1011 }
1112 }
1213}
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <Session href = " /user/sessions/sessionID " media-type =" application/vnd.ibexa.api.Session+xml" >
3- <name >eZSSID </name >
4- <identifier >go327ij2cirpo59pb6rrv2a4el2 </identifier >
5- <csrfToken >23lkneri34ijajedfw39orj3j93 </csrfToken >
6- <User href = " /user/users/14 " media-type =" vnd.ibexa.api.User+xml" />
2+ <Session media-type =" application/vnd.ibexa.api.Session+xml" href = " /api/ibexa/v2/user/sessions/ABCDEFGHIJKLMNOPQRSTUVWXYZ " >
3+ <name >IBX_SESSION_ID0123456789ABCDEFGHIJKLMNOPQRSTUV </name >
4+ <identifier >ABCDEFGHIJKLMNOPQRSTUVWXYZ </identifier >
5+ <csrfToken >0123456789ABCDEF.GHIJKLMNOP_QRSTUVWXYZabcdefghijklmnopqrstuv.wxyz0123456-789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopq </csrfToken >
6+ <User media-type =" application/ vnd.ibexa.api.User+xml" href = " /api/ibexa/v2/user/users/14 " />
77</Session >
Original file line number Diff line number Diff line change 11{
22 "SessionInput" : {
3- "_media-type" : " application/vnd.ibexa.api.SessionInput" ,
43 "login" : " admin" ,
54 "password" : " secret"
65 }
You can’t perform that action at this time.
0 commit comments