Download goalert/pkg/sysapi/sysapi.proto from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 968 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/pkg/sysapi/sysapi.proto
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/pkg/sysapi/sysapi.proto
-
curl -L -o sysapi.proto https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/pkg/sysapi/sysapi.proto
968 Bytes
| syntax = "proto3"; | |
| option go_package = "github.com/target/goalert/pkg/sysapi"; | |
| package goalert.v1; | |
| service SysAPI { | |
| rpc AuthSubjects(AuthSubjectsRequest) returns (stream AuthSubject){} | |
| rpc DeleteUser(DeleteUserRequest) returns (DeleteUserResponse){} | |
| rpc UsersWithoutAuthProvider(UsersWithoutAuthProviderRequest) returns (stream UserInfo) {} | |
| rpc SetAuthSubject(SetAuthSubjectRequest) returns (SetAuthSubjectResponse) {} | |
| } | |
| message UsersWithoutAuthProviderRequest { | |
| string provider_id = 1; | |
| } | |
| message SetAuthSubjectRequest { | |
| AuthSubject subject = 1; | |
| } | |
| message UserInfo { | |
| string id = 1; | |
| string name = 2; | |
| string email = 3; | |
| } | |
| message SetAuthSubjectResponse {} | |
| message DeleteUserRequest { | |
| string user_id = 1; | |
| } | |
| message DeleteUserResponse{} | |
| message AuthSubjectsRequest { | |
| string provider_id = 1; | |
| string user_id = 2; | |
| } | |
| message AuthSubject { | |
| string user_id = 1; | |
| string provider_id = 2; | |
| string subject_id = 3; | |
| } | |