Genbase
ApiRepository

List repository files

GET
/repository/{repo_name}/files

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Path Parameters

repo_nameRequiredstring

Repository name (usually the module_id)

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

Successful Response

{
  "files": [
    "string"
  ]
}