-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update api3 explorer url path for consistency #15597
Conversation
(Standard links)
|
I'm not seeing where the redirect is defined from reading the code on this one? |
@@ -85,6 +85,12 @@ | |||
</item> | |||
<item> | |||
<path>civicrm/api</path> | |||
<page_callback>CRM_Core_Page_Redirect</page_callback> | |||
<page_arguments>url=civicrm/api3</page_arguments> | |||
<access_arguments>access CiviCRM</access_arguments> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MikeyMJCO this adds the redirect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :-D missed that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do an r-run on this shortly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This runs fine locally - both URLs work.
thanks @colemanw @MikeyMJCO |
Overview
For consistency with the api4 explorer let's include the version in the url.
Before
Api3 explorer at
civicrm/api
.After
Api3 explorer at
civicrm/api3
. Redirects fromcivicrm/api
.