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