-
Notifications
You must be signed in to change notification settings - Fork 1
Follow API Specification
BangDori edited this page Oct 13, 2024
·
1 revision
๊ธฐ๋ฅ | ๋ฉ์๋ | URI | ๋น๊ณ |
---|---|---|---|
ํ๋ก์ฐ ์์ฒญ | POST | /users/{user_id}/follow | โ |
์ธํ๋ก์ฐ & ํ๋ก์ฐ ์์ฒญ ์ทจ์ | DELETE | /users/{user_id}/follow | โ |
ํ๋ก์ฐ ํ์ธ | GET | /users/{user_id}/follow | โ |
interface Request {
uri: '/users/{user_id}/follow';
method: 'POST';
body : {}
}
interface Response {
code: '2000';
data: {
relationshipStatus: "self" | "following" | "none" | "pending";
};
}
interface Request {
uri: '/users/{user_id}/follow';
method: 'DELETE';
body : {}
}
interface Response {
code: '2000';
data: {
relationshipStatus: "self" | "following" | "none" | "pending";
};
}
interface Request {
uri: '/users/{user_id}/follow';
method: 'GET';
body : {}
}
interface Response {
code: '2000';
data: {
relationshipStatus: "self" | "following" | "none" | "pending";
};
}