Skip to content

Bookmark API Specification

BangDori edited this page May 13, 2024 · 2 revisions
기능 메서드 URI 비고
피드 북마크 PUT /feeds/{feed_id}/bookmarks
피드 북마크 취소 DELETE /feeds/{feed_id}/bookmarks

1️⃣ 피드 북마크

interface Request {
  uri: "/feeds/{feed_id}/bookmarks";
  method: "PUT";
  body: {};
}

interface Response {
  code: "2000";
  data: {
    isBookmarked: boolean;
  };
}

2️⃣ 피드 북마크 취소

interface Request {
  uri: "/feeds/{feed_id}/bookmarks";
  method: "DELETE";
  body: {};
}

interface Response {
  code: "2000";
  data: {
    isBookmarked: boolean;
  };
}