Statistics
Count construction materials by component
Returns the material distribution for each major component: frame, slide, barrel, and stock.
Requires Studio tier or higher.
get/v1/stats/materials
Request
- Base URL: https://api.gunspec.io
- URL: https://api.gunspec.io/v1/stats/materials
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Response
Count construction materials by component
Example response
{
"success": true,
"data": {
"frame": [
{
"material": "Polymer",
"count": 2841
}
],
"slide": [
{
"material": "Polymer",
"count": 2841
}
],
"barrel": [
{
"material": "Polymer",
"count": 2841
}
],
"stock": [
{
"material": "Polymer",
"count": 2841
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.