Patent ID: 9667704
Date: 2017-05-30
CPC Classifications: G06F,H04L

Claim:
1. A method for classifying application program interface (API) requests in an API processing system, whereby the classified API requests facilitate service integration, the method comprising: receiving a client request comprising at least one API language component; mapping a client request to a tree configuration, wherein the tree contains a plurality of nodes; wherein the client request has, associated therewith, a universal resource locator (URL) having a portion associated with a first node of the plurality of nodes, and wherein the traversal of nodes includes at least one mapping function for navigation between the first node and a second node of the tree, the mapping function being generated based on the portion of the URL associated with the first node, the mapping function being obtained from a target look up table associated with the first node; traversing said nodes of the tree in order to fetch information pertaining to one or more portions of the client request; determining a URL path portion and an HTTP verb portion of the client request; the determining including (i) partitioning the URL path into fragments in order to obtain path and grouping information for each fragment, wherein segments of the request URL are parsed in order to reach the node of the tree which is mapped to the URL which represents the resource, and (ii) traversing the configured tree in order to match the URL path and the HTTP verb of the API request with the appropriate grouping/classification information found in the nodes of the tree; whereby classification tree returns both exact and parent matches for classification; applying one or more policies to add additional information to the API request based on the information that is fetched by the traversal, wherein policies include functionalities applicable to a specific service provider plus functionalities applicable to a resource group an API request belong/mapped to, and wherein policies include one or more traffic management policies, security policies, mediation policies, extension policies, and/or developer or service provider created schemas, and add information; and integrating web services based on the fetched information, and providing the integrated web services with the fetched information to the client.