Skip to content

Commit

Permalink
[feat] #241: 채팅 API HTTP Url 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-muuu committed May 24, 2023
1 parent 4e50284 commit 67512ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Zatch/Data/Foundation/HTTPMethodURL.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ enum HTTPMethodURL {
static let zatchUrl = "/zatch"
static let searchUrl = "/search"
static let userUrl = "/users"
static let chatUrl = "/chat"
static let blockUrl = "/block"
static let kakaoLocal = "/v2/local"

struct GET {
Expand All @@ -22,6 +24,12 @@ enum HTTPMethodURL {

//USER
static let logout = userUrl + "/logout"
static let block = blockUrl + "/list"

//CHAT
static let existChattingRoom = chatUrl + "/chat_list"
static let chattingRoomMemebers = chatUrl
static let exitChattingRoom = chatUrl + "/chat_out" //TODO: 서버 문의 필요

//SEARCH
static let popularKeywords = zatchUrl + searchUrl + "/popularItem"
Expand All @@ -33,6 +41,7 @@ enum HTTPMethodURL {
static let town = userUrl
static let likeZatch = zatch
static let zatch = zatchUrl
static let block = blockUrl
}

struct PATCH {
Expand Down

0 comments on commit 67512ad

Please sign in to comment.