Genbase
ApiResources

Get workspace resources

GET
/resource/{module_id}/workspace

Authorization

AuthorizationRequiredBearer <token>

JWT Token for authenticated users (obtained via /auth/jwt/login).

In: header

Path Parameters

module_idRequiredstring

Module ID

curl -X GET "http://localhost:8000/resource/string/workspace" \
  -H "Authorization: Bearer <token>"

Successful Response

[
  {
    "path": "string",
    "name": "string",
    "content": "string",
    "description": "string"
  }
]