You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.5 KiB
29 lines
1.5 KiB
syntax = "proto3";
|
|
import "okapi-onboarding.proto";
|
|
import "okapi-service-config.proto";
|
|
import "okapi-patient-registration.proto";
|
|
import "okapi-events.proto";
|
|
option go_package = "src.whiteboxsystems.nl/decozo/okapi";
|
|
|
|
service OkAPI {
|
|
// Onboarding
|
|
rpc GetMetadata (GetMetadataRequest) returns (GetMetadataResponse) {}
|
|
rpc Register (RegisterRequest) returns (RegisterResponse) {}
|
|
rpc CompleteRegistration (CompleteRegistrationRequest) returns (CompleteRegistrationResponse) {}
|
|
|
|
// Configuration
|
|
rpc ListServices (ListServicesRequest) returns (ListServicesResponse) {}
|
|
rpc EnableService (EnableServiceRequest) returns (EnableServiceResponse) {}
|
|
rpc DisableService (DisableServiceRequest) returns (DisableServiceResponse) {}
|
|
|
|
rpc ListPatientRegistrations (ListPatientRegistrationsRequest) returns (ListPatientRegistrationsResponse) {}
|
|
rpc CreateOrUpdatePatientRegistrations (CreateOrUpdatePatientRegistrationsRequest) returns (CreateOrUpdatePatientRegistrationsResponse) {}
|
|
rpc RemovePatientRegistrations (RemovePatientRegistrationsRequest) returns (RemovePatientRegistrationsResponse) {}
|
|
|
|
// Events
|
|
rpc GetEvents (GetEventsRequest) returns (GetEventsResponse) {}
|
|
rpc GetEventsStream (GetEventsStreamRequest) returns (stream Event) {}
|
|
// rpc RegisterEventCallback (RegisterEventCallbackRequest) returns (RegisterEventCallbackResponse) {}
|
|
// rpc ListEventCallbacks (ListEventCallbacksRequest) returns (ListEventCallbacksResponse) {}
|
|
}
|
|
|
|
|