What is an API Endpoint?
name | Overview |
---|
name | FullPage |
---|
API Endpoint Setup
API endpoints must be made using the specific option on the Iframe allowfullscreen true src https://www.youtube.com/embed/fuh5kkeufWI?si=45Jk2d5Zr298SVxz?&rel=0&ytp-pause-overlay width 680 align middle height 400
Excerpt | ||
---|---|---|
| ||
This allows anyone with the URL for the API to call it. The audit trail records the system as running performing the API call. |
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Example URL: https://app.phixflow.com/phixflow/api/1/action/MyApp/My%20API/trigger
If a parameter is missing then it will be marked as unavailable, unless a Default Value has been configured.
- Wait for result (Synchronous) (Default): The API waits for the results or the timeout to occur
- Note: If the timeout occurs the command is aborted
- Poll for result (Asynchronous): The API is called and a response is returned immediately including the process ID
- Subsequent API calls can be made using the process ID to fetch the status of the action
- The asynchronous mode can be thought of as “fire and forget”
Specify a maximum time in milliseconds that the API will wait for before the command is aborted
When a Timeout value is set, it overrides the default timeout, which is 60 seconds where API Mode is Synchronous and 500 milliseconds where API Mode is Asynchronous
However, if a timeout parameter has been provided in the URL calling this API, that will override both this Timeout value and the default value
- See Worked Example below for an example setup
Input Parameters
On the Input Connection Point, additional Input Parameters can be created to facilitate query string parameters being passed into the API via the URL.
Click on the