US2020106692A1PendingUtilityA1

Application program interface endpoint monitoring

Assignee: EBAY INCPriority: Jun 3, 2016Filed: Oct 1, 2019Published: Apr 2, 2020
Est. expiryJun 3, 2036(~9.8 yrs left)· nominal 20-yr term from priority
H04L 67/02H04L 63/08H04L 69/40H04L 43/50H04L 41/0803
38
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A computer-implemented method to monitor application program interface (API) endpoints may include sending, over a network from a computing system, a test structure to an API endpoint. In some embodiments, the test structure may be configured based on the API endpoint. The method may further include receiving a first response over the network at the computing system from the API endpoint in response to sending the test structure and resending, over the network from the computing system, the test structure to the API endpoint. The method may further include receiving a second response at the computing system from the API endpoint in response to resending the test structure and comparing, at the computing system, the first response and the second response. The method may further include determining, at the computing system, a status of the API endpoint based on the comparison of the first response and the second response.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A computer-implemented method to monitor application program interface (API) endpoints, the method comprising:
 receiving a test structure at a computing system, the test structure configured based on an API endpoint on a first server;   sending, over a network from the computing system, the test structure to the API endpoint;   receiving a first response over the network at the computing system from the API endpoint in response to sending the test structure;   storing the first response;   resending, over the network from the computing system, the test structure to the API endpoint;   receiving a second response at the computing system from the API endpoint in response to resending the test structure;   comparing, at the computing system, the first response and the second response; and   setting, at the computing system, a status of the API endpoint to error when the first response differs from the second response.   
     
     
         2 . The method of  claim 1 , wherein the error code is an hypertext transfer protocol (HTTP) error code. 
     
     
         3 . The method of  claim 1 , wherein the test structure includes an authentication token previously provided by the API endpoint, the authentication token provided by the API endpoint in response to the API endpoint receiving authentication credentials. 
     
     
         4 . The method of  claim 1 , further comprising automatically generating a workflow when the status of the API endpoint is error. 
     
     
         5 . The method of  claim 1 , further comprising:
 storing the second response in the database;   resending, over the network from the computing system, the test structure to the API endpoint;   receiving a third response from the API endpoint;   comparing, at the computing system, the third response and the second response; and   determining, at the computing system, the API endpoint has a status of error when the third response differs from the second response.   
     
     
         6 . The method of  claim 5 , wherein the second response is stored in the database in response to receiving an indication that the second response indicates a non-error status of the API endpoint. 
     
     
         7 . The method of  claim 1 , wherein the test structure is part of a test file received at the computing system, and wherein the test file further includes a network address of the API endpoint and configuration data. 
     
     
         8 . The method of  claim 7 , wherein the configuration data includes one or more of authentication credentials and repeat data. 
     
     
         9 . The method of  claim 8 , further comprising: repeating operations at a frequency determined by the repeat data, the operations including:
 sending the test structure to the API endpoint;   receiving a third response from the API endpoint;   when the first response is not an error code, comparing the third response to the first response; and   determining the status of the API endpoint is error when the third response differs from the first response.   
     
     
         10 . (canceled) 
     
     
         11 . A system configured to determine a status of application program interface (API) endpoints, the system comprising:
 a database configured to store a test structure configured based on an API endpoint, a first response received from the API endpoint in response to the API endpoint receiving the test structure a first time, and a second response received from the API endpoint in response to the API receiving the test structure a second time;   a communication unit configured to send the test structure to the API endpoint and to receive the first response and a second response from the API endpoint; and   a processor configured to:
 direct the communication unit to send the test structure to the API endpoint the first time and the second time, 
 compare the first response and the second response, and 
 set a status of the API endpoint based on the comparison of the first response and the second response. 
   
     
     
         12 . The system of  claim 11 , wherein the database further comprises a plurality of different test structures that include the test structure, wherein each of the test structures corresponds to a different computing environment that communicates with the API endpoint, and wherein the processor is configured to determine the status of the API endpoint with respect to each of the computing environments. 
     
     
         13 . The system of  claim 11 , wherein the database further comprises a plurality of different test structures that includes the test structure and a plurality of different first responses that include the first response, wherein each of the test structures corresponds to a different one of a plurality of API endpoints that include the API endpoint and each of the plurality of first responses corresponds to a different one of the plurality of API endpoints. 
     
     
         14 . The system of  claim 13 , wherein:
 the communication unit is further configured to receive a plurality of second responses that include the second response, each of the plurality of second responses received from one of the plurality of API endpoints, and   the processor is further configured to determine the status of each of the plurality of API endpoints based on comparisons of a first response of the plurality of first responses and a corresponding second response of the plurality of second responses.   
     
     
         15 . The system of  claim 13 , wherein the processor is further configured to receive configuration data and provide a notification of the status for each of the plurality of API endpoints based on the configuration data. 
     
     
         16 . The system of  claim 15 , wherein the processor is configured to provide the notification of the status for each of the plurality of API endpoints for presentation on a single display. 
     
     
         17 . A computer-implemented method to monitor application program interface (API) endpoints, the method comprising:
 sending, over a network from a computing system, a test structure to an API endpoint, the test structure configured based on the API endpoint;   receiving a first response over the network at the computing system from the API endpoint in response to sending the test structure;   resending, over the network from the computing system, the test structure to the API endpoint;   receiving a second response at the computing system from the API endpoint in response to resending the test structure;   comparing, at the computing system, the first response and the second response; and   determining, at the computing system, a status of the API endpoint based on the comparison of the first response and the second response.   
     
     
         18 . The method of  claim 17 , further comprising:
 resending, over a network from the computing system, the test structure to the API endpoint;   receiving a third response from the API endpoint;   comparing, at the computing system, the third response and the second response; and   determining, at the computing system, the API endpoint has a status of error when the third response differs from the second response.   
     
     
         19 . The method of  claim 17 , further comprising:
 repeating operations at a frequency determined by repeat data received at the computing system, the operations including:   sending the test structure to the API endpoint;   receiving a third response from the API endpoint;   when the first response is not an error code, comparing the third response to the first response; and   determining the status of the API endpoint is error when the third response differs from the first response.   
     
     
         20 . (canceled)

Join the waitlist — get patent alerts

Track US2020106692A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.