TestController
struct TestController : APIRouteCollectionThe collection of /api/v3/test/* route endpoints and handler functions for unit
testing and benchmarking purposes.
Note
These endpoints are NOT intended as API for client development.- 
                  
                  Required. Registers routes to the incoming router. DeclarationSwift func registerRoutes(_ app: Application) throws
- 
                  getUsersHandler(_:Asynchronous) 
- 
                  getRegistrationCodesHandler(_:Asynchronous) GET /api/v3/test/getregistrationcodesReturns an array of all stored RegistrationCodemodels. If called in a production environment, the actual codes are sanitized before return.DeclarationSwift func getRegistrationCodesHandler(_ req: Request) async throws -> [RegistrationCode]ParametersreqThe incoming Request, provided automatically.Return ValueAn array of the RegistrationCoemodels in the databases.
 View on GitHub
            View on GitHub
           TestController Structure Reference
      TestController Structure Reference