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