This document defines the standard template (Format 1A) used for documenting USAspending API endpoints. It provides a structured way to describe endpoint paths, HTTP methods, required parameters, and the expected JSON response structures (including arrays and single objects).
# Short Endpoint Name [/api/v2/this/is/your/{param_for_endpoint}/]
## GET
+ Parameters
+ `param_for_endpoint`: `endpoint` (required, string)
+ Response 200 (application/json)
+ Attributes
+ `data_structure_array` (required, array[ForTheArray], fixed-type)
+ `single_data_structure` (optional, SampleSingleObject)
+ `name` (required, enum[string])
# Data Structures
## ForTheArray
+ `value_1` (optional, string)
+ `value_2` (optional, string)
## SampleSingleObject
+ `value_1` (required, number)
+ `value_2` (optional, string)
+ `value_3` (optional, number, nullable)