Creating an API EndpointAPI endpoints must be made using the specific option on the Insert excerpt |
---|
| _actionflow |
---|
| _actionflow |
---|
nopanel | true |
---|
| homepage to ensure a URL is generated and a set of predefined input parameters are configured on the incoming connection point. Iframe |
---|
allowfullscreen | true |
---|
src | https://www.youtube.com/embed/fuh5kkeufWI?si=45Jk2d5Zr298SVxz?&rel=0&ytp-pause-overlay |
---|
width | 680 |
---|
align | middle |
---|
height | 400 |
---|
|
- Create a new
Insert excerpt |
---|
| _actionflow_api_endpoint |
---|
| _actionflow_api_endpoint |
---|
name | text |
---|
nopanel | true |
---|
| on the Insert excerpt |
---|
| _actionflow |
---|
| _actionflow |
---|
nopanel | true |
---|
| homepage using the Image Added option Image Added
- Set a unique name and provide a useful description
- If you have made your API Endpoint via the
Insert excerpt |
---|
| _repository |
---|
| _repository |
---|
nopanel | true |
---|
| , right-click on the API Endpoint name and choose Insert excerpt |
---|
| _actionflow_icon |
---|
| _actionflow_icon |
---|
nopanel | true |
---|
| Display
- The API Endpoint
Insert excerpt |
---|
| _property_settings |
---|
| _property_settings |
---|
nopanel | true |
---|
| will open on the right - for the full Properties list, see API Endpoint Properties - Configure the API to perform the required tasks, for example return all company data , or pass in a date and return all companies onboarded after this date
- See Worked Example below for an example setup
Insert excerpt |
---|
| _actionflow_api_endpoint |
---|
| _actionflow_api_endpoint |
---|
name | text |
---|
nopanel | true |
---|
| s have fixed parameters set on the input node (body, headers, contentType and url), and the output node (body, headers, contentType and statusCode) which can be mapped to.
Image Added
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 node
- The
Insert excerpt |
---|
| _property_settings |
---|
| _property_settings |
---|
nopanel | true |
---|
| will open on the right and in the Input Parameters section, click the Insert excerpt |
---|
| _add_icon |
---|
| _add_icon |
---|
nopanel | true |
---|
| icon to create a new attribute - Enter a Name and Default Value (optional)
The Name set on the must match the parameter name in the URL, e.g. if an Input Parameter, "field" is created, and the request URL is https://server/phixflow/api/1/action/App/Api/trigger?field=abc then the value "abc" will be used as a parameter. When calling APIs using query string parameters in the URL, care should be taken to ensure that the values are appropriately URL encoded to prevent unexpected behaviour. See /wiki/spaces/HELP12/pages/9615606000. If a parameter is missing then it will be marked as unavailable, unless a Default Value has been configured. Note |
---|
If a “timeout” parameter is sent via the URL, a corresponding Input Parameter is not required on the API Endpoint. See Timeout below. |
Handling content-type: multipart/form-dataAvailable in PhixFlow version 11.3.2+ When uploading files and sending other data through an HTTP POST request, a content-type of multipart/form-data is used. If a multipart post is received by an API Endpoint, the body attribute isn’t populated, instead custom input attributes can be created matching the names of the parts. URL & URL AliasURL and URL Alias can be found on the API Endpoint Insert excerpt |
---|
| _property_settings |
---|
| _property_settings |
---|
nopanel | true |
---|
| . |