POST /moarpb.v1.ModuleRegistryService/GetUrl
application/json
Body
Required
-
moduleName
string -
version
string -
versionConstraint
string
Body
Required
-
moduleName
string -
version
string -
versionConstraint
string
POST
/moarpb.v1.ModuleRegistryService/GetUrl
cURL (application/json)
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"
}