Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14748

api explorer swaps api_key & key

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.6.9
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      I just noticed api explorer says

      /sites/all/modules/civicrm/extern/rest.php?entity=AclRole&action=get&json=

      {"sequential":1}

      &api_key=yoursitekey&key=yourkey

      WHEREAS the wiki says

      https://www.example.org/path/to/civi/codebase/civicrm/extern/rest.php?entity=thething&action=doit&key=your_site_key&api_key=the_user_api_key

      http://wiki.civicrm.org/confluence/display/CRMDOC/REST+interface

      key=your_site_key
      api_key=the_user_api_key

      appears to be correct. The api explorer version
      key=yourkey
      api_key=yoursitekey

      appears to be wrong

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: