-
Notifications
You must be signed in to change notification settings - Fork 1
API Specification
Suhwan Kim edited this page Nov 5, 2024
·
2 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;
isBlinded : 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;
}