Skip to content

API Specification

BangDori edited this page Apr 16, 2024 · 30 revisions

πŸ“Œ API Specifation Table

0️⃣ νƒ€μž… μ •μ˜

interface Image {
  id: number;
  imageUrl: string;
}

interface Feed {
  id: number;

  user: {
    id: number;
    profileImage: string;
    name: string;
  };

  title: string;
  content: string;
  images: Image[];

  createdAt: string;
  updatedAt: string;
}

interface Comment {
  id: number;

  user: {
    id: number;
    profileImage: string;
    name: string;
  };

  content: string;
  updatedAt: string;
}

interface User {
  id: number;
  profileImage: string;
  name: string; 
  content: string;
}

interface ProfileFeed {
  id: number; 
  title: string;
  content: string;
  thubnailImage: string;
};