×

Guided definition of an application programming interface action for a workflow

  • US 10,521,195 B1
  • Filed: 03/19/2019
  • Issued: 12/31/2019
  • Est. Priority Date: 03/19/2019
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×