The Community Builder Module is implemented with the plg_jbackend_comprofiler plugin. It provides functions related to Community Builder extension. Here is the list of supported methods.
action=get module=comprofiler resource=users limit=<L> (optional) offset=<O> (optional)
<end-point>?action=get&module=comprofiler&resource=users
<end-point>/get/comprofiler/users?limit=10&offset=2
{ "status": "ok", "total": <total>, "limit": <limit>, "offset": <offset>, "users": [ { "id": "<userid>", ... }, ... { "id": "<userid>", ... } ] }
limit is the number of entries to return.
offset is the cursor starting point (0 based, start on record 16 means offset = 15).
If limit is not specified, offset is ignored.
Properties limit and offset in the response are present only when specified in the request.
action=get module=comprofiler resource=profile id=<id>
<end-point>?action=get&module=comprofiler&resource=profile&id=482
<end-point>/get/comprofiler/profile/482
{ "status": "ok", ... }
action=put module=comprofiler resource=profile
{ "id": "<userid>", "name": "<name>", "username": "<username>", "email": "<email>", "password": "<password>", ... }
<end-point>?action=put&module=comprofiler&resource=profile
<end-point>/put/comprofiler/profile
{ "status": "ok" }
The id parameter in the request payload is mandatory to identify the user profile to update.
Other mandatory fields are username, email, and name.
It is possible to specify any supported field in the payload.