/ByAbv
Get Users by ABV
Returns a list of users associated with a specific ABV (Abbreviation).
Request
URL
/api/v1/roster/users/byabvMethod
GETQuery Parameters
abv: The abbreviation (ABV) for which users are to be fetched.
Response
Success Response
Code: 200 OK
Content:
[ { "user_info": { "discord_id": "123456789012345678", "discord_user": "username#1234" }, "arma_data": { "ingame_name": "IngameName", "rank_name": "RankName", "team_name": "TeamName", "default_role": "DefaultRole", "abv": "ABV", "time_in_grade": "TimeInGrade", "ao_points": "AOPoints", "promotion_eligible": "PromotionEligible", "hire_date": "HireDate", "promotion_date": "PromotionDate" } }, ... ]
Error Response
Code: 400 Bad Request
Content:
{ "error": "Please provide an abv." }
OR
Code: 404 Not Found
Content:
{ "error": "No users are correlated with that abv." }
Sample Call
GET https://api.arma.origin-development.net/api/v1/roster/users/byabv?abv=pvt
Notes
This endpoint retrieves users associated with a specific ABV (Abbreviation).
The ABV is required as a query parameter.
If no ABV is provided or no users are found for the given ABV, appropriate error messages are returned.
Last updated