42-Bangkok / portal

https://portal.42bangkok.com
2 stars 2 forks source link

Onsite Cluster Map #4

Closed hazamashoken closed 10 months ago

hazamashoken commented 11 months ago

Features list

Possible bugs regarding 42 API

hazamashoken commented 11 months ago

There's is no direct way to filter who is on site rn.

The current possible solution is to use /v2/campus/33/users?sort=-updated_at,status&status=1&page[size]=100&page[number]=1 and loop through to the end then filter profile with location field value
"location": "z3t4c1",

hazamashoken commented 11 months ago

if we can filter active? or location fields directly it would reduce the amount of request to the backend

hazamashoken commented 10 months ago

move to https://github.com/orgs/42-Bangkok/discussions/12