CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • API Explorer available in both working & non-working versions
Pages: [1]

Author Topic: API Explorer available in both working & non-working versions  (Read 809 times)

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
API Explorer available in both working & non-working versions
March 12, 2013, 03:53:01 am
Hi,

I've been used to accessing the API explorer at /civicrm/ajax/doc and when I tried this on 4.3.beta2, I found it didn't work: JS errors, "ReferenceError: cj is not defined". Searching before posting, I found mention of /civicrm/api/explorer so I tried that URL and it works.

Docs such as http://book.civicrm.org/developer/current/techniques/api/ still have the /civicrm/ajax/doc URL & for people who've been using that URL, it looks like we've gone to the right page but the explorer is broken. Perhaps a redirect to the preferred URL would be better?

Cheers,

Dave

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: API Explorer available in both working & non-working versions
March 12, 2013, 03:56:11 am
Thanks for testing, Good suggestion.

Can you add an issue?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Re: API Explorer available in both working & non-working versions
March 12, 2013, 04:23:37 am
Voilà: http://issues.civicrm.org/jira/browse/CRM-12102

D

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: API Explorer available in both working & non-working versions
March 12, 2013, 08:25:35 am
Thanks for checking Dave. I will also update the book at april London sprint ( I will be joining on line)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • API Explorer available in both working & non-working versions

This forum was archived on 2017-11-26.