POST /moarpb.v1.ModuleRegistryService/GetUrl

POST /moarpb.v1.ModuleRegistryService/GetUrl

Body Required

  • moduleName string
  • version string
  • versionConstraint string
  • Additional properties are NOT allowed

Body Required

  • moduleName string
  • version string
  • versionConstraint string
  • Additional properties are NOT allowed

Responses

  • Hide response attributes Show response attributes object
    • code string

      The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].

      Values are CodeCanceled, CodeUnknown, CodeInvalidArgument, CodeDeadlineExceeded, CodeNotFound, CodeAlreadyExists, CodePermissionDenied, CodeResourceExhausted, CodeFailedPrecondition, CodeAborted, CodeOutOfRange, CodeInternal, CodeUnavailable, CodeDataLoss, or CodeUnauthenticated.

    • detail array[object]

      Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

      Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

      Hide detail attributes Show detail attributes object
      • @type string

        The type of the serialized message.

      • Additional properties are allowed
    • message string

      A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.

    • Additional properties are NOT allowed
    Hide response attributes Show response attributes object
    • code string

      The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].

      Values are CodeCanceled, CodeUnknown, CodeInvalidArgument, CodeDeadlineExceeded, CodeNotFound, CodeAlreadyExists, CodePermissionDenied, CodeResourceExhausted, CodeFailedPrecondition, CodeAborted, CodeOutOfRange, CodeInternal, CodeUnavailable, CodeDataLoss, or CodeUnauthenticated.

    • detail array[object]

      Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

      Contains an arbitrary serialized message along with a @type that describes the type of the serialized message.

      Hide detail attributes Show detail attributes object
      • @type string

        The type of the serialized message.

      • Additional properties are allowed
    • message string

      A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.

    • Additional properties are NOT allowed
  • Hide response attributes Show response attributes object
    • module object
      Hide module attributes Show module attributes object
      • author string
      • language string
      • name string
      • versions array[object]
        Hide versions attributes Show versions attributes object
        • files array[object]
          Hide files attributes Show files attributes object
          • data string(byte)
          • mimeType string
          • name string
          • Additional properties are NOT allowed
        • name string
        • Additional properties are NOT allowed
      • Additional properties are NOT allowed
    • resources array[object]
      Hide resources attributes Show resources attributes object
      • contentType string
      • name string
      • uri string
      • Additional properties are NOT allowed
    • selectedVersion string
    • Additional properties are NOT allowed
    Hide response attributes Show response attributes object
    • module object
      Hide module attributes Show module attributes object
      • author string
      • language string
      • name string
      • versions array[object]
        Hide versions attributes Show versions attributes object
        • files array[object]
          Hide files attributes Show files attributes object
          • data string(byte)
          • mimeType string
          • name string
          • Additional properties are NOT allowed
        • name string
        • Additional properties are NOT allowed
      • Additional properties are NOT allowed
    • resources array[object]
      Hide resources attributes Show resources attributes object
      • contentType string
      • name string
      • uri string
      • Additional properties are NOT allowed
    • selectedVersion string
    • Additional properties are NOT allowed
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"
}