POST /moarpb.v1.ModuleRegistryService/GetUrl

POST /moarpb.v1.ModuleRegistryService/GetUrl

Body Required

Body Required

Responses

POST /moarpb.v1.ModuleRegistryService/GetUrl
curl \
 -X POST http://localhost:8000/moarpb.v1.ModuleRegistryService/GetUrl \
 -H "Content-Type: application/json" \
 -d '{"moduleName":"string","version":"string","versionConstraint":"string"}'
curl \
 -X POST http://localhost:8000/moarpb.v1.ModuleRegistryService/GetUrl \
 -H "Content-Type: application/proto"
Request example
{
  "moduleName": "string",
  "version": "string",
  "versionConstraint": "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"
      }
    ]
  },
  "resources": [
    {
      "contentType": "string",
      "name": "string",
      "uri": "string"
    }
  ],
  "selectedVersion": "string"
}