mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-19 15:44:28 +01:00
@@ -1532,7 +1532,7 @@ func (a *Api) SearchForNumbers(c *gin.Context) {
|
||||
// @Success 204
|
||||
// @Param data body UpdateContactRequest true "Contact"
|
||||
// @Failure 400 {object} Error
|
||||
// @Router /v1/contacts{number} [put]
|
||||
// @Router /v1/contacts/{number} [put]
|
||||
func (a *Api) UpdateContact(c *gin.Context) {
|
||||
number := c.Param("number")
|
||||
if number == "" {
|
||||
@@ -1668,7 +1668,7 @@ func (a *Api) GetTrustMode(c *gin.Context) {
|
||||
// @Param number path string true "Registered Phone Number"
|
||||
// @Success 204
|
||||
// @Failure 400 {object} Error
|
||||
// @Router /v1/contacts{number}/sync [post]
|
||||
// @Router /v1/contacts/{number}/sync [post]
|
||||
func (a *Api) SendContacts(c *gin.Context) {
|
||||
number := c.Param("number")
|
||||
if number == "" {
|
||||
|
||||
Reference in New Issue
Block a user