Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 7.4.0
HTML
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

Reverse API User Interface

Table of Contents

This is a beta feature

The Reverse API endpoint builder is accessed from the Admin section of ProVision, under the API tab.

Image Removed

Clicking on the link circled above will take you to the Reverse API Endpoint Builder interface.

Image Removed

Add a New Endpoint

To add a new endpoint

1) Select "Add a New Endpoint" next to "Endpoint". 

Image Removed

2) Type in the desired endpoint name and call

Image Removed

3) Review / Edit the presentation Javascript as desired for your output

Image Removed

4) Save your new endpoint

Image Removed

5) Test the call on a selected Resource by selecting a Resource from the dropdown, then hitting the "Test" button.

Image Removed 

Info
Note: The selected Resource must have a Reverse API gadget enabled section! See Customizing Sections and Gadgets for information on enabling gadgets for a section.

Delete an Endpoint

1) Select the endpoint name next to "Endpoint". 

Image Removed

2) At the bottom of the screen, click "Delete Endpoint"

Image Removed

Edit an Endpoint

1) Select the endpoint name next to "Endpoint". 

Image Removed

4) Save the endpoint

Image Removed

Displaying the Endpoint

The created Reverse API endpoint may be added to the Reverse API Console Gadget, and shown on a Resource's Entry Page. 

To add the Reverse API Gadget to a Section, see Customizing Sections

For information on working in the Gadget, see Gadgets.