How to add page #99
-
I want to add a page using the api. How can I do that? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
@kaaax0815 There are two important informations you should start with:
You could use my example integration of |
Beta Was this translation helpful? Give feedback.
@kaaax0815 There are two important informations you should start with:
t3api works on Extbase models, therefore firstly you would need to create a model and configure
pages
table to use it. It's quite easy with Extbase and it's well documented here: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/Extbase/Reference/Domain/Persistence.html#extbase_manual_mappingSecondly you would need to define
POST
operation (endpoint) for your model. It's documented here: https://docs.typo3.org/p/sourcebroker/t3api/main/en-us/Operations/Index.htmlYou could use my example integration of
tt_content
andpages
tables with t3api - klamparski/t3apicontent. Although it's…