1、From Headlessto Headful DARIUSZ SZUTAbout mePath of Exile player fanDariusz SzutFrontend Team LeaderAt Ibexa since 2015https:/ APIUse caseDemoQ&AREST APIREST API in Ibexa DXPThe REST API in Ibexa DXP allows you to interact with an Ibexa DXP installation by using the HTTP protocol,following a REST in
2、teraction model.Each resource(URI)interacts with a part of the system(like content,users or search).Every interaction with the repository than you can do from back office or by using the Public PHP API can also be done with the REST API.Request headersAcceptDescribing the desired response type and f
3、ormatContent-TypeDescribing the payload type and formatX-SiteaccessSpecifying the target SiteAccess.If omitted the default SiteAccess is usedX-CSRF-Token The CSRF token for securityClick to edit Master title styleGetCollect dataPostCreate an itemUpdateUpdate an item+moreOptions,head,copy,move,swap,p
4、ublish,deleteRequestmethodsRequest exampleconst request=new Request(/api/ibexa/v2/user/sessions,method:POST,headers:Accept:application/vnd.ibexa.api.Session+json,Content-Type:application/vnd.ibexa.api.SessionInput+json,body:JSON.stringify(SessionInput:login:admin,password:secret,),);fetch(request).t
5、hen(response)=response.json();Response exampleSession:name:eZSSID,identifier:go327ij2cirpo59pb6rrv2a4el2,csrfToken:23lkneri34ijajedfw39orj3j93,User:_href:/user/users/14,_media-type:application/vnd.ibexa.api.User+jsonDocumentationDeveloper Documentation:https:/doc.ibexa.co/en/latest/api/rest_api/rest
6、_api_usage/rest_api_usage/Ibexa REST API Doc:https:/doc.ibexa.co/en/latest/api/rest_api/rest_api_reference/rest_api_reference.htmlUse CaseClick to edit Master title styleProduct informationPriceFiltersSearchAdd to cart buttonProduct list pa