Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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).

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 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 ...
user avatar
  • 37
1 vote
0 answers
34 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 ...
user avatar
0 votes
0 answers
23 views

Joomla 4 REST API - Create User with required fields

When creating a new user over api - this works fine when there are not user->fields with required fields present. However, as soon as you mark a field as required - you must include that item in ...
user avatar
2 votes
2 answers
43 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-...
user avatar
2 votes
1 answer
70 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 ...
user avatar
  • 45
1 vote
1 answer
61 views

J4 API - There are two variables for Article Text, why do neither work on PATCH?

While working with the new Joomla 4 web services API. The Article text does not update. Additionally, as per the documentation, when creating an article via API the article text variable is ...
user avatar
  • 45
0 votes
1 answer
26 views

Does on after save work with the API call?

I want to listen to when an article has been changed and then send a request to a webhook. If it was manually being entered then I could do an onAfterSave plugin. Will this work with an API call? ...
user avatar
  • 1,829
1 vote
1 answer
60 views

Where do I add php code to submit an HTML form?

I am new to Joomla, and so far, I used the basics to make a simple website. I decided to try out making a component, using JCB, that has a database of a list of items, and for each item, there is a ...
user avatar
  • 11
1 vote
1 answer
75 views

Techjoomla API using same ACL as site

First Context: I am making a JS application that needs to call an api. The application is a form full of multiple choice select elements. Depending on the selected elements data is sent to the api. ...
user avatar
  • 229
1 vote
1 answer
123 views

How can I make a custom controller for a Joomla based api?

For my latest project I need an api that responds to a 'POST' request by returning json text that depends on the content of the 'POST'. I have made a version of this in loopback, however I can't think ...
user avatar
  • 229
2 votes
1 answer
32 views

Can Joomla control access to a separate API which is behind a reverse proxy?

I have a joomla site and wish to run a piece of vanilla Java-script (that I wrote) on this site. The java script requires access to an API (which I have made). I would much rather not have to ...
user avatar
  • 229
1 vote
1 answer
140 views

Does Joomla CMS or Joomla Framework provide any Class for making POST request to an external API?

I came across: the documentation for Joomla's HTTP client class and joomla/http in packagist Are they the same thing? Are these capable of sending POST requests to an external API?
user avatar
  • 1,369
3 votes
2 answers
190 views

Crawling Joomla websites without parsing website's html

Nowadays many crawlers are using the REST Api features of most CMSs, to be able to crawl websites fast. WordPress and Drupal have their own REST interfaces so indexing any WordPress website is a ...
user avatar
  • 133
2 votes
1 answer
71 views

SEF URL Broken Image Links When Fetching API Results

Using Joomla 3.9.8 I'm using the fetch() api in order to retrieve some data from a remote API. When I have the api results I'm displaying them in html elements. The API returns various values, one ...
user avatar
  • 3,491
0 votes
1 answer
61 views

Retrieve Contacts from Components via REST API

is there any official REST API in Joomla? If yes I would like to retrieve Contacts from Components, do you have any advice on how to achieve it?
user avatar
1 vote
1 answer
259 views

Error! Could not find a Joomla! XML setup file in the package

I'm looking for an extension to serve my Joomla 1.5 websites contents as REST, after some search I've found https://extensions.joomla.org/extension/rest-api/ component, but there is no specification ...
user avatar
  • 111
0 votes
1 answer
81 views

Including Results from API Call in Joomla! Search Results

My organization uses Joomla! for its customer facing site. There is a database that I only have REST API access to. I'm trying to ping that API to include results from it alongside the normal Joomla! ...
user avatar
0 votes
2 answers
768 views

Joomla 3 - JSON with modules

I am new to Joomla and facing a situation - I need to have a page with custom URL (/dashboard) which would return some data in JSON that external application will read. I have a Slideshow CK module, ...
user avatar
2 votes
1 answer
216 views

Accessing ajax/REST based php api

Someone built a site using joomla and third party plugin RS Forms Pro and created a page where a client could configure and purchase a product (via stripe). But they have asked me to write some ...
user avatar
0 votes
1 answer
515 views

Integrating an existing API with PHP/mySQL to Joomla for inventory Management

I have implemented an API on my server with PHP/mySQL to create products, categories, orders etc.For the sake of testing i had been testing the whole system with Postman. At this stage of the project ...
user avatar
0 votes
2 answers
983 views

Making changes to a Joomla site via REST

Has the J! project got an official REST API that can be used to manage a running Joomla site? At this stage it looks like we will need to manage at least: articles, categories, tags and perhaps even a ...
user avatar
  • 103
2 votes
2 answers
2k views

How to leverage external JSON REST API in Joomla 3.5.1 after user login?

I need to integrate a Joomla website with a third party REST API. Let me try to clarify what I'm trying to do. Ideally when a user logs on to the Joomla website once they authenticate they will also ...
user avatar
6 votes
1 answer
4k views

How to use com_api plugin for REST?

I have installed the com_api component and plugin from the official site for REST calls. I should authenticate user login with a web service at another domain using REST POST. How should I do it? I ...
user avatar
  • 61
2 votes
1 answer
1k views

Model / View pulling data from external API(s)

I have a model pulling data from two external API's, concatenating the returned arrays, and a view template that displays it. I have a sub-view that will need only one of the API's. So my question ...
user avatar
  • 461
3 votes
4 answers
4k views

What is the best way to create REST/SOAP/JSON Web Services for Joomla?

If I have to create Web Services (REST/SOAP APIs) for Joomla based website. I have MySQL DataBase running with Joomla website and I wanted to create mobile apps for that. By using same Database how ...
user avatar
  • 1,771
0 votes
1 answer
875 views

API to publish articles on Joomla [duplicate]

Does Joomla provide any kind of APIs to publish articles? I have Ruby on Rails application for content authoring and need to publish articles to different site which runs on Joomla
user avatar
5 votes
3 answers
6k views

Creating an API for a Joomla extension

I need to create an API so an external client can perform actions on my custom extensions database table. What would be the right approach? Should I use https://api.joomla.org/cms-3/ for this? How?! ...
user avatar
5 votes
2 answers
2k views

RESTful API to manage article

We have an application which collaboratively collects data from authors. We want to upload curated content to different joomla powered sites. The current application is built on Ruby on Rails. Does ...
user avatar