Guided definition of an application programming interface action for a workflow
First Claim
1. A computing system comprising:
- persistent storage configured to store definitions of actions for integration into workflows;
one or more processors; and
an action design software application configured to define an action that invokes a function of an application programming interface (API), wherein the action design software application is configured to perform, by way of the one or more processors, operations comprising;
obtaining a specification that defines attributes of the API;
identifying, within the specification, definitions of (i) a uniform resource locator (URL) that addresses the API, (ii) the function, (iii) an input of the function, and (iv) an output of the function;
generating (i) an input variable of the action that corresponds to the input of the function and (ii) an output variable of the action that corresponds to the output of the function;
determining a first mapping between the input variable and a URL parameter of the API,wherein execution of the action generates a modified version of the URL that includes therein a value of the input variable according to the first mapping and invokes the function by transmitting a request to the modified version of the URL during execution of a workflow;
determining a second mapping between the output variable and a response from the API, wherein the response is to the request, andwherein reception from the API of the response causes a value of the output of the function to be stored in the output variable according to the second mapping during execution of the workflow; and
storing the first mapping and the second mapping in the persistent storage to define the action;
wherein the URL parameter of the API comprises at least one of (i) a URL resource path parameter that identifies a specific resource provided by a server device that hosts the API or (ii) a URL query parameter comprising a key and value pair.
1 Assignment
0 Petitions
Accused Products
Abstract
A computing system includes persistent storage configured to store definitions of actions for integration into workflows, and a software application configured to define an action that invokes a function of an application programming interface (API). The software application obtains a specification and identifies therein definitions of a uniform resource locator (URL) that addresses the API, the function, an input of the function, and an output of the function. The software application generates an input variable of the action that corresponds to the input of the function and an output variable of the action that corresponds to the output of the function. The software application determines a first mapping between the input variable and a URL parameter of the API and a second mapping between the output variable and a response from the API. The first and second mappings are stored in in the persistent storage to define the action.
-
Citations
18 Claims
-
1. A computing system comprising:
- persistent storage configured to store definitions of actions for integration into workflows;
one or more processors; and an action design software application configured to define an action that invokes a function of an application programming interface (API), wherein the action design software application is configured to perform, by way of the one or more processors, operations comprising; obtaining a specification that defines attributes of the API;
identifying, within the specification, definitions of (i) a uniform resource locator (URL) that addresses the API, (ii) the function, (iii) an input of the function, and (iv) an output of the function;generating (i) an input variable of the action that corresponds to the input of the function and (ii) an output variable of the action that corresponds to the output of the function; determining a first mapping between the input variable and a URL parameter of the API, wherein execution of the action generates a modified version of the URL that includes therein a value of the input variable according to the first mapping and invokes the function by transmitting a request to the modified version of the URL during execution of a workflow; determining a second mapping between the output variable and a response from the API, wherein the response is to the request, and wherein reception from the API of the response causes a value of the output of the function to be stored in the output variable according to the second mapping during execution of the workflow; and storing the first mapping and the second mapping in the persistent storage to define the action; wherein the URL parameter of the API comprises at least one of (i) a URL resource path parameter that identifies a specific resource provided by a server device that hosts the API or (ii) a URL query parameter comprising a key and value pair. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
- persistent storage configured to store definitions of actions for integration into workflows;
-
13. A computer-implemented method comprising:
- obtaining, by an action design software application configured to define an action, a specification that defines attributes of an application programming interface (API);
identifying, by the action design software application and within the specification, definitions of (i) a uniform resource locator (URL) that addresses the API, (ii) a function of the API, (iii) an input of the function, and (iv) an output of the function; generating, by the action design software application, (i) an input variable of the action that corresponds to the input of the function and (ii) an output variable of the action that corresponds to the output of the function; determining, by the action design software application, a first mapping between the input variable and a URL parameter of the API, wherein execution of the action generates a modified version of the URL that includes therein a value of the input variable according to the first mapping and invokes the function by transmitting a request to the modified version of the URL_ during execution of a workflow; determining, by the action design software application, a second mapping between the output variable and a response from the API, wherein the response is to the request, and wherein reception from the API of the response causes a value of the output of the function to be stored in the output variable according to the second mapping during execution of the workflow; and storing the first mapping and the second mapping in persistent storage to define the action, wherein the persistent storage is configured to store definitions of actions for integration into workflows; wherein the URL parameter of the API comprises at least one of (i) a URL resource path parameter that identifies a specific resource provided by a server device that hosts the API or (ii) a URL query parameter comprising a key and value pair. - View Dependent Claims (14, 15, 16, 17)
- obtaining, by an action design software application configured to define an action, a specification that defines attributes of an application programming interface (API);
-
18. An article of manufacture including a non-transitory computer-readable medium, having stored thereon program instructions that, upon execution by a computing system configured to define an action, cause the computing system to perform operations comprising:
-
obtaining a specification that defines attributes of an application programming interface (API); identifying, within the specification, definitions of (i) a uniform resource locator (URL) that addresses the API, (ii) a function of the API, (iii) an input of the function, and (iv) an output of the function; generating (i) an input variable of the action that corresponds to the input of the function and (ii) an output variable of the action that corresponds to the output of the function; determining a first mapping between the input variable and a URL parameter of the API, wherein execution of the action generates a modified version of the URL that includes therein a value of the input variable according to the first mapping and invokes the function by transmitting a request to the modified version of the URL during execution of a workflow; determining a second mapping between the output variable and a response from the API, wherein the response is to the request, and wherein reception from the API of the response causes a value of the output of the function to be stored in the output variable according to the second mapping during execution of the workflow; and storing the first mapping and the second mapping in persistent storage to define the action, wherein the persistent storage is configured to store definitions of actions for integration into workflows; wherein the URL parameter of the API comprises at least one of (i) a URL resource path parameter that identifies a specific resource provided by a server device that hosts the API or (ii) a URL query parameter comprising a key and value pair.
-
Specification