/unit/searchList of available units
Example request:
GET /unit/search?unit_id[]=127&unit_id[]=9&api_key=key-XXXXXXXXXXXXX HTTP/1.1
Host: api.dvidshub.net
Accept-encoding: gzip, deflate
User-Agent: Zend_Http_Client
Accept: application/json, text/javascript
Referer: https://api.dvidshub.net
Example response:
HTTP/1.1 200 OK
Content-type: application/json
Content-length: 243
Connection: keep-alive
Date: Sat, 22 Nov 2025 00:30:13 GMT
Content-encoding: gzip
Server: Apache
Access-control-allow-origin: *
Vary: Accept-Encoding
X-cache: Miss from cloudfront
Via: 1.1 c1ad0e11a95c9a5b3f4d80fde7d23fea.cloudfront.net (CloudFront)
X-amz-cf-pop: IAD12-P4
Alt-svc: h3=":443"; ma=86400
X-amz-cf-id: Gi1FzojUJeKZg_nDPG1VnpgE_iLErN7Y46wC3Jq6c6Y6bRmsOyZ-Zg==
{
"messages":[
"max_results was not supplied. A maximum of 50 results per page will be returned."
],
"page_info":{
"total_results":2,
"results_per_page":50
},
"results":[
{
"id":"9",
"unit_name":"139th Mobile Public Affairs Detachment",
"unit_abbrev":"139MPAD",
"branch":"Army"
},
{
"id":"127",
"unit_name":"DVIDS Hub",
"unit_abbrev":"DVIDSHUB",
"branch":"Joint"
}
]
}