@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api VA Forms
@base https://sandbox-api.va.gov/services/va_forms/v0
@version 0.0.0
@auth ApiKey apikey in header
@endpoints 2
@toc forms(2)

@endpoint GET /forms
@desc Returns all VA Forms and their last revision date
@optional {query: any # Returns form data based on entered form name.}
@returns(200) {data: [any]} # VA Forms index response
@errors {401: Unauthorized, 429: Too many requests}

@endpoint GET /forms/{form_name}
@desc Find form by form name
@required {form_name: str # The VA form_name of the form being requested. The exact form name must be passed, including proper placement of prefixes and/or hyphens.}
@returns(200) {data: any} # VA Form Show response
@errors {401: Unauthorized, 404: Not Found, 429: Too many requests}

@end
