Questions tagged [restful-api]
A RESTful API (or REST API) is an application program interface (API) that uses HTTP requests to access and use data according to a protocol called REST (REpresentational State Transfer).
38 questions
1 vote
1 answer
24 views
Custom Field Administration
I am sitting here since day and didn´t find the issue. My custom field will not be registered, that means I can create it as a field and then it appears in the article but without any data. the list ...
1 vote
0 answers
42 views
Unable to patch article using API
I'm trying to edit some articles automatically. I can GET the articles using the API, but when trying to apply PATCH, the content does not change. I did try "fulltext", "introtext",...
1 vote
1 answer
77 views
Is it possible to process content plugins before returning articles in Web Services?
Imagine a have a list of content plugins installed on joomla like: Snippets LoadModule etc... I have an article with the following content: <p>{snippet id="1"} {loadmoduleid 1}</p&...
1 vote
1 answer
86 views
Grant access to Joomla API from just one site
In Joomla Joomla 4/5: What is the best strategy to allow access to Joomla API endpoints from only one (or more) specific domains? And how is this configured in Joomla 4/5? (CORS vs. HTTP-Header-Plugin ...
2 votes
1 answer
412 views
File Upload from WebApp to Joomla API
I have successfully programmed a Joomla 4/5 API to generate an API web service. There is a kind of weird bug uploading files though, because it basically works on localhost - but on the live system I ...
1 vote
0 answers
81 views
Updating user via J4 REST API resets password
In our organization we use Salesforce as the authoritative source of info about our users, so it makes sense for us to use that info when creating the associated users in our new Joomla site. I have ...
0 votes
1 answer
68 views
J4 API Test Helper missing functions
So I installed codeception/module-rest and created an api.suite.yml containing: modules: enabled: - Helper\JoomlaDb - Helper\Api config: Helper\JoomlaDb: dsn: "mysql:host=...
1 vote
1 answer
67 views
Super slow editing mask because repeatable custom field is in subform and calls API many times
I have some options to configure a plugin of mine. These options contain one subform field, that can be repeated. The purpose of the field is to match names of one type to ones of another type. The ...
1 vote
2 answers
179 views
Joomla 4 API MVC Layer type
Is it possible to create a webservice and API access for my own component if the component file structure is not setup like this and uses namespace based classes? https://docs.joomla.org/J4.x:...
1 vote
0 answers
81 views
Joomla 4 webservices are only responding with 404
I am trying the web services in Joomla 4. I have enabled SEF URLS, URL Rewriting on site configuration and I have set nginx according to https://docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%...
3 votes
0 answers
501 views
The quickest way to get the POST object in Joomla 3 & 4
I've been creating a lot of webservices API endpoints in Joomla 4 lately and wanted to ask: "What's the simplest, fastest, most practical way to get the entire POST object when a controller ...
0 votes
1 answer
412 views
Pulling api data and saving to mySQL
So, I am trying to pull data from EA Sports API for games like NHL or FIFA. The issues with EAs API is it only shows the last 5 games played. I am trying to have a script run every minute and save ...
1 vote
0 answers
70 views
Joomla exception "throw new DebugBarException("Session must be started before using stack data in the debug bar");"
I have updated my website to Joomla 4.13 and using Postman to get data via Joomla 4 webservices. I have turned on the Debug. Now I'm getting a response to the Postman "Session must be started ...
2 votes
2 answers
320 views
API - get menu items from specific menu
I can't guess how to get menu items from a specific menu via API. I use: https://github.com/alexandreelise/j4x-api-collection https://documenter.getpostman.com/view/9617873/Szzj9yJy#6ac385da-724b-4b5b-...
2 votes
1 answer
440 views
Are custom fields updatable using joomla 4 api?
Simply put when using the API to update a custom field of an article, the new information is not successfully passed through. Furthermore, the original contents are deleted from the field. The ...