mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
add contact comments
This commit is contained in:
@@ -74,6 +74,7 @@ message ContactInfo {
|
||||
string updated_at = 11;
|
||||
}
|
||||
|
||||
// Create a contact
|
||||
message CreateRequest {
|
||||
// required, the name of the contact
|
||||
string name = 1;
|
||||
@@ -97,6 +98,7 @@ message CreateResponse {
|
||||
ContactInfo contact = 1;
|
||||
}
|
||||
|
||||
// Read contact details
|
||||
message ReadRequest {
|
||||
string id = 1;
|
||||
}
|
||||
@@ -105,6 +107,7 @@ message ReadResponse {
|
||||
ContactInfo contact = 1;
|
||||
}
|
||||
|
||||
// Delete a contact
|
||||
message DeleteRequest {
|
||||
// the id of the contact
|
||||
string id = 1;
|
||||
@@ -114,6 +117,7 @@ message DeleteResponse {
|
||||
}
|
||||
|
||||
|
||||
// Update a contact
|
||||
message UpdateRequest {
|
||||
// required, the contact id
|
||||
string id = 1;
|
||||
@@ -139,6 +143,7 @@ message UpdateResponse {
|
||||
ContactInfo contact = 1;
|
||||
}
|
||||
|
||||
// List contacts
|
||||
message ListRequest {
|
||||
// optional
|
||||
uint32 offset = 1;
|
||||
|
||||
Reference in New Issue
Block a user