-
Hello Joomlars! Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
https://docs.joomla.org/J4.x:Adding_an_API_to_a_Joomla_Component |
Beta Was this translation helpful? Give feedback.
-
Is it be possible to just create a Plugin - without the component part, too? |
Beta Was this translation helpful? Give feedback.
-
@alexandreelise Thanks for the hint. Looks a bit complex to create a component as well. In my Rest API I just need to connect to existing (non-Joomla) database tables and output the query results as JSON. - Is there no easier way to achieve this than writing a component as well as a plugin? |
Beta Was this translation helpful? Give feedback.
-
Is there already a new working version for com_api available or a new solution for a general custom rest api endpoint? What could be the best approach to migrate an existing com_api solution (including the existing api keys, api tables and data as well as adjusted component files) to the new J4 API-Architecture? |
Beta Was this translation helpful? Give feedback.
https://docs.joomla.org/J4.x:Adding_an_API_to_a_Joomla_Component