-
Notifications
You must be signed in to change notification settings - Fork 1
Like API Specification
Suhwan Kim edited this page Nov 5, 2024
·
2 revisions
κΈ°λ₯ | λ©μλ | URI | λΉκ³ |
---|---|---|---|
νΌλ μ’μμ μ‘°ν | GET | /v2/feeds/{feed_id}/likes | β |
νΌλ μ’μμ | PUT | /v2/feeds/{feed_id}/likes | β |
νΌλ μ’μμ μ·¨μ | DELETE | /v2/feeds/{feed_id}/likes | β |
interface Request {
uri: '/v2/feeds/{feed_id}/likes';
method: 'GET';
body: {};
}
interface Response {
code: '2000';
data: {
like: {
totalCount: number;
isLiked: boolean;
};
};
}
interface Request {
uri: '/v2/feeds/{feed_id}/likes';
method: 'PUT';
body: {};
}
interface Response {
code: '2000';
data: {
isLiked: boolean;
};
}
interface Request {
uri: '/v2/feeds/{feed_id}/likes';
method: 'DELETE';
body: {};
}
interface Response {
code: '2000';
body: {
isLiked: boolean;
};
}