Skip to main content

Get Proto File from gRPC Service

Endpoint: GET /api/registry/service/protos/{registryName}/{filename}

Retrieves a compiled binary protobuf file from a gRPC service.

Path parameters

ParameterDescriptionTypeRequired/ Optional
registryNameThe name of the gRPC service to retrieve the proto file from.stringRequired.
filenameThe name of the proto file to retrieve.stringRequired.

Response

Returns a 200 OK, with the compiled binary protobuf file as a downloadable file.

Examples

Get a proto file from a gRPC service

Request

curl -X 'GET' \
'https://<YOUR-SERVER-URL>/api/registry/service/protos/grpc-service/hello.bin' \
-H 'accept: application/octet-stream' \
-H 'X-Authorization: <TOKEN>'

Response

Returns a 200 OK, with the compiled binary protobuf file as a downloadable file.