Support

Akeeba Backup for Joomla!

#12938 Akeeba Backup JSON API

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Friday, 13 July 2012 01:05 CDT

inetis
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Can't find it
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes, https://www.akeebabackup.com/documentation/json-api/ar01s02.html#idm3503664
Joomla! version: (unknown)
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Akeeba Backup version: (unknown)

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

Hi,

I'm currently trying to trigger informations and backups remotely. So I read your related documentation. I built my url and I get 401 error : Invalid login credentials. I verified my passwords and the way I do the challenge, it is ok.

What I'm not sure to undestand is the "key". What is it ? Is this something random I define ? If not, where does it come from ?

Here is what my url looks like : http://mydomain.ch/index.php?option=com_akeeba&view=json&format=component&json={"encapsulation":"1","body":"["challenge","test:ecc3f264d89e3e3ce92345ef2a0dbe18","key","test","method","getVersion"]"}

Thanks a lot.

nicholas
Akeeba Staff
Manager
I believe it's easier for me to demonstrate this with working code. In the attached file I have a short script which will run a backup. You'll see how the authentication works.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

inetis
Thanks a lot ! It's working now :)

Have a nice day !

nicholas
Akeeba Staff
Manager
You're welcome, Piere!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!