Split ListServices method up into ListServices and ListServiceConfigurations
This commit is contained in:
parent
5bc626687b
commit
63ab85bdc3
3 changed files with 9 additions and 4 deletions
|
@ -12,7 +12,7 @@ message PatientRegistrationData {
|
|||
PatientMeta subject = 1;
|
||||
bool registered = 2;
|
||||
string id = 3;
|
||||
google.protobuf.Struct callbackProtocolMeta = 4;
|
||||
google.protobuf.Struct callbackProtocolData = 4;
|
||||
}
|
||||
|
||||
message PatientMeta {
|
||||
|
|
|
@ -65,10 +65,14 @@ message ServiceConfiguration {
|
|||
CallbackConfiguration push = 4;
|
||||
}
|
||||
|
||||
message ListServicesRequest {
|
||||
}
|
||||
message ListServicesRequest {}
|
||||
|
||||
message ListServicesResponse {
|
||||
repeated ServiceDefinition availableServices = 1;
|
||||
}
|
||||
|
||||
message ListServiceConfigurationsRequest {}
|
||||
|
||||
message ListServiceConfigurationsResponse {
|
||||
repeated ServiceConfiguration configurations = 2;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ service OkAPI {
|
|||
// Configuration
|
||||
rpc ConfigureCallback (ConfigureCallbackRequest) returns (ConfigureCallbackResponse) {}
|
||||
rpc ListServices (ListServicesRequest) returns (ListServicesResponse) {}
|
||||
rpc ListServiceConfigurations (ListServiceConfigurationsRequest) returns (ListServiceConfigurationsResponse) {}
|
||||
|
||||
rpc UpdatePatientRegistration (UpdatePatientRegistrationRequest) returns (UpdatePatientRegistrationResponse) {}
|
||||
rpc ListPatientRegistration (ListPatientRegistrationRequest) returns (ListPatientRegistrationResponse) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue