Add message endpoint (#13)
textsender_api PR / Rustfmt (pull_request) Successful in 38s
textsender_api PR / Clippy (pull_request) Successful in 1m8s
textsender_api PR / Check (pull_request) Successful in 2m47s

Reviewed-on: phoenix/textsender_api#13
This commit was merged in pull request #13.
This commit is contained in:
2026-06-17 14:25:53 -04:00
parent 98e93b175e
commit d86958035e
9 changed files with 134 additions and 54 deletions
+3
View File
@@ -1,4 +1,5 @@
pub mod contact;
pub mod message;
pub mod endpoints {
pub const ROOT: &str = "/";
@@ -9,6 +10,8 @@ pub mod endpoints {
pub const GET_CONTACT: &str = "/api/v1/contact";
/// Constant for updating names of a Contact endpoint
pub const UPDATE_CONTACT_NAME: &str = "/api/v1/contact/update";
/// Constant for adding message endpoint
pub const ADD_MESSAGE: &str = "/api/v1/message/new";
}
pub mod response {