API Quality Check
Learn to implement API Quality Check with API Gateway.
We'll cover the following
In this lesson, we’re going to introduce a function called apiQualityCheck
. This function will simulate an API endpoint that receives the batch ID and checks if it's a valid UUID. If the batch ID is valid, the function will respond that the quality check passed. If it's not, an error will be thrown, signifying that the quality check failed.
Function implementation
Let's open the apiQualityCheck.ts
file so we can start adding some code to the function.
Get hands-on with 1200+ tech skills courses.