Genbase
ApiModule

Get all modules in a project

GET
/module/project/{project_id}/list

Authorization

AuthorizationRequiredBearer <token>

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

In: header

Path Parameters

project_idRequiredstring

Project ID

Format: "uuid"
curl -X GET "http://localhost:8000/module/project/497f6eca-6276-4993-bfeb-53cbbbba6f08/list" \
  -H "Authorization: Bearer <token>"

Successful Response

[
  {
    "module_id": "string",
    "module_name": "string",
    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
    "kit_id": "string",
    "owner": "string",
    "version": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "env_vars": {
      "property1": "string",
      "property2": "string"
    },
    "repo_name": "string",
    "path": "string"
  }
]