List / search communities
GET
/communitiesSearch and list public communities. `tags` is AND-matched across all tags.
| Auth | Optional (login-aware) |
|---|
Query parameters
pagenumberPage number (1-based). Default 1
perPagenumberItems per page. Default 20
joinTypestringFilter by join type
searchstringSearch keyword (name / description)
tagsstringTags (comma-separated, AND)
featured'true'Featured only
Response
| Field | Type | Description |
|---|---|---|
communities | Community[] | Communities |
pageInfo | object | Pagination info (totalCount / totalPages / page / perPage) |
Request
curl https://api.4s.link/communities \-H "Authorization: Bearer 4s_at_..."
Example response
{"communities": [{"id": "c1d2e3f4-...","name": "4S Developers","description": "...","joinType": "FREE","visibility": "PUBLIC","logoUrl": "https://.../logo.png","slug": "4s-devs","featured": false,"memberCount": 120,"tags": []}],"pageInfo": { "totalCount": 100, "totalPages": 5, "page": 1, "perPage": 20 }}