POST /moarpb.v1.ModuleRegistryService/GetModule

POST /moarpb.v1.ModuleRegistryService/GetModule

Body Required

Body Required

Responses

POST /moarpb.v1.ModuleRegistryService/GetModule
curl \
 -X POST http://localhost:8000/moarpb.v1.ModuleRegistryService/GetModule \
 -H "Content-Type: application/json" \
 -d '{"moduleName":"string"}'
curl \
 -X POST http://localhost:8000/moarpb.v1.ModuleRegistryService/GetModule \
 -H "Content-Type: application/proto"
Request example
{
  "moduleName": "string"
}
Response examples (default)
{
  "code": "CodeNotFound",
  "detail": [
    {
      "@type": "string"
    }
  ],
  "message": "string"
}
Response examples (200)
{
  "module": [
    {
      "author": "string",
      "language": "string",
      "name": "string",
      "versions": [
        {
          "files": [
            {
              "data": "string",
              "mimeType": "string",
              "name": "string"
            }
          ],
          "name": "string"
        }
      ]
    }
  ]
}