An attempt to help the Joomla! 4.x/5.x/6.x early adopters mainly focused for developers. It's an unofficial Postman collection of official Joomla Web Services Specification.
https://github.com/alexandreelise/j4x-api-collection for updates and information.
Or directly ready to use code in your favourite programming language generated by the documentation. Here is the link below
https://documenter.getpostman.com/view/7443864/2s9YywfKez
Slides by Marc DECHÈVRE https://slides.woluweb.be/api/api.html
-
Click on the Run in Postman button above or below in this README
-
Follow the instructions (You should fork the collection in your own postman workspace)
-
You should now have a new collection of endpoints in Postman
-
Click on the collection, then on the ... on the right of the collection to open the settings for the collection
-
Set your own values for Authentication and Variables per the steps below
-
Test a generic GET request from the list to then confirm your authentication is working and your base_url and base_path is set correctly.
Authentication is done using a Joomla API Token. To get the token, go to your Super User profile in your Joomla 4 Installation and activate then copy the API key. In Postman, edit the Collection and then click on the Authorization tab.
-
Select Type = "API Key"
-
For the Key field, enter "X-Joomla-Token"
-
In the Value field, paste your Joomla API Token
-
For the Add To field, leave the value as "Header"
-
Click Update to save the settings or click on Variables tab to modify your Base Path variable.
If you prefer a video about how to set up your Joomla API Token here is one:
Short video how to set up Joomla API Token
Full video is :
Joomla 4 tutorial: Using the Web Services API
The URLs are set via base_url and base_path. You should set this variable within your collection.
-
Click the 3 dots on the collection.
-
Select Edit.
-
Click on the variables tab.
-
Add (or update) the base_url and base_path variable, setting the Initial Value field to the URL for your Joomla for installation.
YouTube playlist about Joomla Web Services / APIs
You might want to consider using :
https://github.com/muhme/joomla-branches-tester
https://github.com/alexandreelise/j4x-api-collection for updates and information.
The Postman generated API documentation of Joomla! 4.x and above Web Services collection with directly ready to use code in your favourite programming language generated. Here is the link below