Groups

Groups and their membership.

GET
/ext/hindclaw/groups

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://example.com/ext/hindclaw/groups"
[  {    "id": "string",    "display_name": "string"  }]
POST
/ext/hindclaw/groups

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/ext/hindclaw/groups" \  -H "Content-Type: application/json" \  -d '{    "id": "string",    "display_name": "string"  }'
{  "id": "string",  "display_name": "string"}
GET
/ext/hindclaw/groups/{group_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

group_id*Group Id

Response Body

application/json

application/json

curl -X GET "https://example.com/ext/hindclaw/groups/string"
{  "id": "string",  "display_name": "string"}
DELETE
/ext/hindclaw/groups/{group_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

group_id*Group Id

Response Body

application/json

curl -X DELETE "https://example.com/ext/hindclaw/groups/string"
Empty
PUT
/ext/hindclaw/groups/{group_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

group_id*Group Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/ext/hindclaw/groups/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "display_name": "string"}
GET
/ext/hindclaw/groups/{group_id}/members

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

group_id*Group Id

Response Body

application/json

application/json

curl -X GET "https://example.com/ext/hindclaw/groups/string/members"
[  {    "user_id": "string"  }]
POST
/ext/hindclaw/groups/{group_id}/members

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

group_id*Group Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/ext/hindclaw/groups/string/members" \  -H "Content-Type: application/json" \  -d '{    "user_id": "string"  }'
{  "group_id": "string",  "user_id": "string"}
DELETE
/ext/hindclaw/groups/{group_id}/members/{user_id}

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

group_id*Group Id
user_id*User Id

Response Body

application/json

curl -X DELETE "https://example.com/ext/hindclaw/groups/string/members/string"
Empty