/ByAoPoints
Get Users by AO Points
Returns a list of users based on their AO (Administrative Operations) points eligibility.
Request
URL
/api/v1/roster/users/byaopointsMethod
GETQuery Parameters
points: The AO points eligibility criteria.
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 points." }
OR
Code: 404 Not Found
Content:
{ "error": "No users are correlated with that eligibility." }
Sample Call
GET https://api.arma.origin-development.net/api/v1/roster/users/byaopoints?points=12
Notes
This endpoint retrieves users based on their AO points eligibility.
The points criteria is required as a query parameter.
If no points criteria is provided or no users match the criteria, appropriate error messages are returned.
Last updated