Difference: SetResolvers (5 vs. 6)

Revision 629 Sep 2009 - MelanieSeibert

Line: 1 to 1
 
META TOPICPARENT name="XmlApi"

Set Resolvers — setresolvers

Line: 9 to 9
 
Added:
>
>
 

Calling Functions

Using the XML API

<--/twistyPlugin twikiMakeVisibleInline-->

To use the XML API to perform the setresolvers function from within your custom script:

  • Append the /xml-api/setresolvers function call name, plus the required variables (see below), to a URL which includes the address of your server.

  • For example, on a server whose hostname is example.com, you would include the following string in your script: https://example.com:2087/xml-api/setresolvers

  • You need to be logged in with the proper permissions in order to call a function. See our document about Authenticating API Function Calls for more information about authenticating APIs from within a script.

  • You can also perform the function by entering the string in your web browser's address bar. This may be useful for testing the function call and viewing its output.

<--/twistyPlugin-->

Using the JSON API

<--/twistyPlugin twikiMakeVisibleInline-->

To use the JSON API to perform the setresolvers function from within your custom script:

  • Append the /json-api/setresolvers function call name, plus the required variables (see below), to a URL which includes the address of your server.

  • For example, on a server whose hostname is example.com, you would include the following string in your script: https://example.com:2087/json-api/setresolvers

  • You need to be logged in with the proper permissions in order to call a function. See our document about Authenticating API Function Calls for more information about authenticating APIs from within a script.

  • You can also perform the function by entering the string in your web browser's address bar. This may be useful for testing the function call and viewing its output.
<--/twistyPlugin-->
Line: 89 to 90
 } %ENDCODE% woops, ordering error: got an ENDTWISTY before seeing a TWISTY \ No newline at end of file
Added:
>
>
 \ No newline at end of file