Plain Json API's

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
adityabanerjee
Posts: 44
Joined: 05 Oct 2019, 06:42

Plain Json API's

Post by adityabanerjee » 24 Nov 2019, 21:15

Hi team,

We are facing issues in understanding and consuming the JSON:API standard in Android and IOS that aimeos has provided. We are now planning to build plain JSON API's as it would be easy for the Android and IOS team to work on it. Now in such a case, we would require to write all the API's from showing catalog, to categories, products, cart functionality, etc. For this, we would need to understand the current API's, tables the aimeos are using and the logic. So keeping this in mind, Is there documentation that we could refer to build our own custom Plain JSON API's?

Regards
Aditya Banerjee

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Plain Json API's

Post by aimeos » 25 Nov 2019, 10:17

Here you can find of what parts Aimeos consists of and the ER model:
- https://aimeos.org/docs/Developers/Software_stack
- https://aimeos.org/fileadmin/download/A ... abase.svgz

All clients (HTML and JSON API) are using the frontend controller (the business logic):
https://github.com/aimeos/ai-controller-frontend

There's more or less a 1:1 match in the API:
https://github.com/aimeos/ai-client-jso ... nt/JsonApi

If you want to build your own API, the easisest way is to change the templates to create an output that is more suitable to what you want:
https://github.com/aimeos/ai-client-jso ... /templates
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply