Files
paralus/gen/openapi/proto/rpc/sentry/relaypeer.swagger.json
Abhijit Mukherjeeandniravparikh05 6b8cc3163d docs: added api keys as headers for all grpc messages (#163)
* added api keys as headers for all grpc messages

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>

* changes to have multiple api keys for auth in partner swagger docs

Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>

---------

Signed-off-by: mabhi <abhijit.mukherjee@infracloud.io>
Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
Co-authored-by: niravparikh05 <nir.parikh05@gmail.com>
2023-03-30 15:20:58 +05:30

99 lines
2.0 KiB
JSON

{
"swagger": "2.0",
"info": {
"title": "proto/rpc/sentry/relaypeer.proto",
"version": "version not set"
},
"tags": [
{
"name": "RelayPeerService"
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {},
"definitions": {
"googlerpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
}
}
}
},
"protobufAny": {
"type": "object",
"properties": {
"@type": {
"type": "string"
}
},
"additionalProperties": {}
},
"rpcPeerHelloResponse": {
"type": "object",
"properties": {
"serviceuuid": {
"type": "string",
"title": "the uuid of the service"
},
"serviceip": {
"type": "string",
"title": "the ip address of the relay"
}
}
},
"rpcPeerProbeResponse": {
"type": "object",
"properties": {
"clustersni": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/rpcRelayClusterConnectionInfo"
}
}
},
"title": "Probe Response from service to relay"
},
"rpcPeerSurveyRequest": {
"type": "object",
"properties": {
"clustersni": {
"type": "string"
}
},
"title": "Survey request sent from the service to all relays"
},
"rpcRelayClusterConnectionInfo": {
"type": "object",
"properties": {
"relayuuid": {
"type": "string",
"title": "the uuid of the relay"
},
"relayip": {
"type": "string",
"title": "the ip address of the relay"
}
}
}
}
}