grpc

set a gRPC health serving status

Sets the gRPC health-checking serving status for a service (an empty service name sets the default), or removes a service override with 'remove':true.

put/mockserver/grpc/health

Request

  • Base URL: http://localhost:1080
  • URL: http://localhost:1080/mockserver/grpc/health
  • Auth: none declared

Request body

servicestring

gRPC service name; an empty string sets the overall server status (the empty service name defined by the gRPC health checking protocol), rather than the status of any named service

status'UNKNOWN' | 'SERVING' | 'NOT_SERVING' | 'SERVICE_UNKNOWN'
removeboolean

when true, removes the service override

Response

serving status set or removed

statusstring
servicestring
servingStatusstring

Changes

No recorded changes to this operation across all 1 revision of this API.