VALIDATION OF APPLICATION PROGRAMMING INTERFACES
In some implementations, a validation device may receive a set of rules associated with requests to and responses from a set of application programming interfaces (APIs). The validation device may transmit, to the set of APIs, a plurality of requests based on the set of rules. The validation device may receive, from the set of APIs, a plurality of responses corresponding to the plurality of requests. The validation device may verify the plurality of responses against the set of rules. The validation device may transmit, to a user device, instructions for a user interface indicating one or more results from verifying the plurality of responses against the set of rules.
1 . A system for validating one or more application programming interfaces (APIs), the system comprising:
one or more memories; and
one or more processors, communicatively coupled to the one or more memories, configured to:
receive, from a data provider, a configuration identifying a set of APIs;
receive, from a rules database and based on an event, one or more rules associated with a specification or standards document;
generate one or more test requests based on the one or more rules;
transmit, to the set of APIs, the one or more test requests;
receive, from the set of APIs, one or more test responses corresponding to the one or more test requests;
verify the one or more test responses against the one or more rules; and
transmit, to a user device, instructions for a user interface indicating one or more results from verifying the one or more test responses against the one or more rules.
2 . The system of claim 1 , wherein the event is an input from a user.
3 . The system of claim 1 , wherein the event is a modification to the one or more rules.
4 . The system of claim 1 , wherein the one or more processors are further configured to:
receive, periodically from the rules database, one or more rules associated with the specification or the standards document.
5 . The system of claim 1 , wherein the one or more processors are further configured to:
receive a configuration associated with the set of APIs.
6 . The system of claim 1 , wherein the one or more test requests include one or commands that call the set of APIs.
7 . The system of claim 1 , wherein the one or more processors are further configured to:
receive an access token; and
wherein the one or more processors, to transmit the one or more test requests, are configured to:
transmit the one or more test requests using the access token.
8 . A method for validating one or more application programming interfaces (APIs), comprising:
receiving, by a system and from a data provider, a configuration identifying a set of APIs;
receiving, by the system, from a rules database, and based on an event, one or more rules associated with a specification or standards document;
generating, by the system, one or more test requests based on the one or more rules;
transmitting, by the system and to the set of APIs, the one or more test requests;
receiving, by the system and from the set of APIs, one or more test responses corresponding to the one or more test requests;
verifying, by the system, the one or more test responses against the one or more rules; and
transmitting, by the system and to a user device, instructions for a user interface indicating one or more results from verifying the one or more test responses against the one or more rules.
9 . The method of claim 8 , wherein the event is an input from a user.
10 . The method of claim 8 , wherein the event is a modification to the one or more rules.
11 . The method of claim 8 , further comprising:
receiving, periodically from the rules database, one or more rules associated with the specification or the standards document.
12 . The method of claim 8 , further comprising:
receiving a configuration associated with the set of APIs.
13 . The method of claim 8 , wherein the one or more test requests include one or commands that call the set of APIs.
14 . The method of claim 8 , further comprising:
receiving an access token; and
wherein transmitting the one or more test requests comprises:
transmitting the one or more test requests using the access token.
15 . A non-transitory computer-readable medium storing a set of instructions, the set of instructions comprising:
one or more instructions that, when executed by one or more processors of a system, cause the system to:
receive, from a data provider, a configuration identifying a set of application programming interfaces (APIs);
receive from a rules database, and based on an event, one or more rules associated with a specification or standards document;
generate one or more test requests based on the one or more rules;
transmit, to the set of APIs, the one or more test requests;
receive, from the set of APIs, one or more test responses corresponding to the one or more test requests;
verify the one or more test responses against the one or more rules; and
transmit, to a user device, instructions for a user interface indicating one or more results from verifying the one or more test responses against the one or more rules.
16 . The non-transitory computer-readable medium of claim 15 , wherein the event is an input from a user.
17 . The non-transitory computer-readable medium of claim 15 , wherein the event is a modification to the one or more rules.
18 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions further cause the system to:
receive, periodically from the rules database, one or more rules associated with the specification or the standards document.
19 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions further cause the system to:
receive a configuration associated with the set of APIs.
20 . The non-transitory computer-readable medium of claim 15 , wherein the one or more instructions further cause the system to:
receive an access token; and
wherein the one or more instructions, that cause the system to transmit the one or more test requests, cause the system to:
transmit the one or more test requests using the access token.