Plain Json API's
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 44
- Joined: 05 Oct 2019, 06:42
Plain Json API's
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
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
Re: Plain Json API's
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
- 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, give us a star
If you like Aimeos, give us a star