-
Notifications
You must be signed in to change notification settings - Fork 1
API Specification
μ΄μμ°¬ edited this page May 11, 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;
name: string;
};
content: string;
images: Image[];
likeCount: number;
commentCount: number;
isLike: boolean;
isBookmark: boolean;
createdAt: string;
updatedAt: string;
}
interface Comment {
id: number;
user: {
id: number;
profileImage: string;
name: string;
};
content: string;
createdAt: string;
updatedAt: string;
}
interface User {
id: number;
profileImage: string;
name: string;
content: string;
locked: boolean;
feedCount: number;
followingCount: number;
followerCount: number;
}
interface ProfileFeed {
id: number;
content: string;
thubnailImage: string;
likeCount: number;
commentCount: number;
};