-
Notifications
You must be signed in to change notification settings - Fork 1
API Specification
μ΄μμ°¬ edited this page Jun 5, 2024
·
30 revisions
- Feed API Specification
- Comment API Specification
- Like API Specification
- Follow API Specification
- Search API Specification
- User API Specification
interface Image {
id: number;
imageUrl: string;
}
interface Feed {
id: number;
user: {
id: number;
profileImage: string;
username: string;
};
content: string;
images: Image[];
likeCount: number;
commentCount: number;
isLiked: boolean;
isBookmarked: boolean;
createdAt: string;
updatedAt: string;
}
interface Comment {
id: number;
user: {
id: number;
profileImage: string;
username: string;
};
content: string;
createdAt: string;
updatedAt: string;
}
interface User {
id: number;
profileImage: string;
name: string;
username: string;
content: string;
locked: boolean;
feedCount: number;
followingCount: number;
followerCount: number;
}