Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ppotto/social-api-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ppotto/social-api-client - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

4

dist/api.d.ts

@@ -868,3 +868,3 @@ /**

*/
'name': string;
'name'?: string;
/**

@@ -875,3 +875,3 @@ * 공유앨범 설명

*/
'bio': string;
'bio'?: string;
}

@@ -878,0 +878,0 @@ /**

@@ -1,1 +0,1 @@

{"openapi":"3.0.0","paths":{"/check":{"get":{"operationId":"AppController_getHello","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["health"]}},"/share-album/{id}":{"get":{"operationId":"ShareAlbumController_getShareAlbum","summary":"공유앨범 조회","description":"공유앨범을 조회합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSharedAlbumResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]},"patch":{"operationId":"ShareAlbumController_modifyShareAlbum","summary":"공유앨범 수정","description":"공유앨범을 수정합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyShareAlbumRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyShareAlbumResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album":{"get":{"operationId":"ShareAlbumController_getShareAlbums","summary":"공유앨범 리스트 조회","description":"공유앨범 리스트를 조회합니다.","parameters":[{"name":"userId","required":true,"in":"query","description":"유저 아이디","example":1,"schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSharedAlbumsResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]},"post":{"operationId":"ShareAlbumController_createShareAlbum","summary":"공유앨범 생성","description":"공유앨범을 생성합니다.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShareAlbumRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShareAlbumResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album/{id}/invite-code":{"post":{"operationId":"ShareAlbumController_createShareAlbumInviteCode","summary":"공유앨범 초대코드 생성","description":"공유앨범 초대코드를 생성합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShareAlbumInviteCodeResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album/invite-code/{code}":{"post":{"operationId":"ShareAlbumController_joinShareAlbumByInviteCode","summary":"공유앨범 초대코드로 공유앨범 가입","description":"공유앨범 초대코드로 공유앨범에 가입합니다.","parameters":[{"name":"code","required":true,"in":"path","description":"공유앨범 초대코드","example":"I8Q32D","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinShareAlbumByInviteCodeRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinShareAlbumByInviteCodeResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_INVITE_CODE_NOT_FOUND: 초대코드를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album/{id}/member/{userId}":{"patch":{"operationId":"ShareAlbumController_modifyShareAlbumMember","summary":"공유앨범 맴버 수정","description":"공유앨범 맴버를 수정합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyShareAlbumMemberRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyShareAlbumMemberResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_MEMBER_NOT_FOUND: 멤버를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]},"delete":{"operationId":"ShareAlbumController_leaveShareAlbum","summary":"공유앨범 맴버 삭제","description":"공유앨범 맴버를 삭제합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteShareAlbumMemberResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_MEMBER_NOT_FOUND: 멤버를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album/{id}/feed":{"get":{"operationId":"FeedController_getFeedList","summary":"공유앨범 피드 리스트","description":"공유앨범 피드 리스트를 가져옵니다.","parameters":[{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFeedListResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]},"post":{"operationId":"FeedController_createFeed","summary":"공유앨범 피드 생성","description":"공유앨범 피드를 생성합니다.","parameters":[{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다.</br>SHARE_ALBUM_MEMBER_NOT_FOUND: 멤버를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]}},"/share-album/{id}/feed/{feedId}":{"get":{"operationId":"FeedController_getFeed","summary":"공유앨범 피드","description":"공유앨범 피드를 가져옵니다.","parameters":[{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFeedResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]},"delete":{"operationId":"FeedController_deleteFeed","summary":"공유앨범 피드 삭제","description":"공유앨범 피드를 삭제합니다.","parameters":[{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}},{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다.</br>SHARE_ALBUM_FEED_NOT_FOUND: 피드를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]},"patch":{"operationId":"FeedController_updateFeed","summary":"공유앨범 피드 수정","description":"공유앨범 피드를 수정합니다.","parameters":[{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}},{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyFeedRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다.</br>SHARE_ALBUM_FEED_NOT_FOUND: 피드를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]}},"/share-album/feed/{feedId}/comment":{"post":{"operationId":"FeedController_createComment","summary":"공유앨범 피드 댓글 생성","description":"공유앨범 피드 댓글을 생성합니다.","parameters":[{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedCommentRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedCommentResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_FEED_NOT_FOUND: 피드를 찾을 수 없습니다.</br>SHARE_ALBUM_MEMBER_NOT_FOUND: 멤버를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]}},"/share-album/feed/{feedId}/comment/{commentId}":{"delete":{"operationId":"FeedController_deleteComment","summary":"공유앨범 피드 댓글 삭제","description":"공유앨범 피드 댓글을 삭제합니다.","parameters":[{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}},{"name":"commentId","required":true,"in":"path","description":"공유앨범 피드 댓글 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFeedCommentRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFeedCommentResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_FEED_COMMENT_NOT_FOUND: 댓글을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]},"patch":{"operationId":"FeedController_updateComment","summary":"공유앨범 피드 댓글 수정","description":"공유앨범 피드 댓글을 수정합니다.","parameters":[{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}},{"name":"commentId","required":true,"in":"path","description":"공유앨범 피드 댓글 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyFeedCommentRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyFeedCommentResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_FEED_COMMENT_NOT_FOUND: 댓글을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]}},"/collection":{"post":{"operationId":"CollectionController_createCollection","summary":"컬렉션 생성","description":"컬렉션을 생성합니다.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCollectionRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCollectionResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]}},"/collection/{collectionId}":{"delete":{"operationId":"CollectionController_deleteCollection","summary":"컬렉션 삭제","description":"컬렉션을 삭제합니다.","parameters":[{"name":"collectionId","required":true,"in":"path","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCollectionResponse"}}}},"400":{"description":""},"404":{"description":"COLLECTION_NOT_FOUND: 컬렉션을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]},"patch":{"operationId":"CollectionController_modifyCollection","summary":"컬렉션 수정","description":"컬렉션을 수정합니다.","parameters":[{"name":"collectionId","required":true,"in":"path","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyCollectionRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyCollectionResponse"}}}},"400":{"description":""},"404":{"description":"COLLECTION_NOT_FOUND: 컬렉션을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]}},"/collection/{collectionId}/feed":{"post":{"operationId":"CollectionController_addFeedToCollection","summary":"컬렉션에 피드 추가","description":"컬렉션에 피드를 추가합니다.","parameters":[{"name":"collectionId","required":true,"in":"path","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFeedToCollectionRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFeedToCollectionResponse"}}}},"400":{"description":"COLLECTION_FEED_ALREADY_EXIST: 이미 컬렉션에 추가된 피드입니다."},"404":{"description":"COLLECTION_NOT_FOUND: 컬렉션을 찾을 수 없습니다.</br>SHARE_ALBUM_FEED_NOT_FOUND: 피드를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]}},"/collection/{collectionId}/feed/{feedId}":{"delete":{"operationId":"CollectionController_deleteFeedToCollection","summary":"컬렉션에 피드 삭제","description":"컬렉션에 피드를 삭제합니다.","parameters":[{"name":"collectionId","required":true,"in":"path","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}},{"name":"feedId","required":true,"in":"path","description":"피드 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFeedToCollectionResponse"}}}},"400":{"description":""},"404":{"description":"COLLECTION_FEED_NOT_FOUND: 컬렉션에 해당 피드가 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]}}},"info":{"title":"PPOTTO Social API","description":"뽀또 소셜서비스","version":"1.0","contact":{}},"tags":[],"servers":[],"components":{"schemas":{"GetSharedAlbumMemberItem":{"type":"object","properties":{"userId":{"type":"number","description":"앨범 공유 멤버 아이디","example":1},"role":{"type":"string","description":"권한","enum":["OWNER","EDITOR","VIEWER","TEMPORARY"],"example":"OWNER"},"joinedAt":{"format":"date-time","type":"string","description":"가입일","example":"2023-09-28 15:53:24.586"}},"required":["userId","role","joinedAt"]},"GetSharedAlbumResponse":{"type":"object","properties":{"id":{"type":"string","description":"앨범 아이디","example":"cln3cu9nl00043cwt43mzfro5"},"name":{"type":"string","description":"앨범 명","example":"앨범"},"bio":{"type":"string","description":"앨범 소개","example":"내 앨범"},"shareAlbumMemberList":{"type":"array","items":{"$ref":"#/components/schemas/GetSharedAlbumMemberItem"}}},"required":["id","name","bio","shareAlbumMemberList"]},"GetSharedAlbumsMemberItem":{"type":"object","properties":{"userId":{"type":"number","description":"앨범 공유 멤버 아이디","example":1},"role":{"type":"string","description":"권한","enum":["OWNER","EDITOR","VIEWER","TEMPORARY"],"example":"OWNER"},"joinedAt":{"format":"date-time","type":"string","description":"가입일","example":"2023-09-28 15:53:24.586"}},"required":["userId","role","joinedAt"]},"GetSharedAlbumsAlbum":{"type":"object","properties":{"id":{"type":"string","description":"앨범 아이디","example":"cln3cu9nl00043cwt43mzfro5"},"name":{"type":"string","description":"앨범 명","example":"앨범"},"bio":{"type":"string","description":"앨범 소개","example":"내 앨범"},"shareAlbumMemberList":{"type":"array","items":{"$ref":"#/components/schemas/GetSharedAlbumsMemberItem"}}},"required":["id","name","bio","shareAlbumMemberList"]},"GetSharedAlbumsResponse":{"type":"object","properties":{"list":{"description":"앨범 리스트","type":"array","items":{"$ref":"#/components/schemas/GetSharedAlbumsAlbum"}}},"required":["list"]},"CreateShareAlbumRequest":{"type":"object","properties":{"name":{"type":"string","description":"공유앨범 명","example":"내 일상앨범"},"bio":{"type":"string","description":"공유앨범 설명","example":"내 일상을 공유하는 앨범"},"ownerId":{"type":"number","description":"공유앨범 생성자의 아이디","example":"1"}},"required":["name","bio","ownerId"]},"CreateShareAlbumResponse":{"type":"object","properties":{"id":{"type":"string","description":"생성된 공유앨범의 아이디","example":"cln3cu8oc00003cwtl5g5fp46"}},"required":["id"]},"ModifyShareAlbumRequest":{"type":"object","properties":{"name":{"type":"string","description":"공유앨범 명","example":"내 일상앨범"},"bio":{"type":"string","description":"공유앨범 설명","example":"내 일상을 공유하는 앨범"}},"required":["name","bio"]},"ModifyShareAlbumResponse":{"type":"object","properties":{"id":{"type":"string","description":"수정된 공유앨범의 아이디","example":"cln3cu8oc00003cwtl5g5fp46"}},"required":["id"]},"CreateShareAlbumInviteCodeResponse":{"type":"object","properties":{"inviteCode":{"type":"string","description":"생성된 초대 코드","example":"I8Q32D"}},"required":["inviteCode"]},"JoinShareAlbumByInviteCodeRequest":{"type":"object","properties":{"userId":{"type":"number","description":"대상 유저 아이디","example":1}},"required":["userId"]},"JoinShareAlbumByInviteCodeResponse":{"type":"object","properties":{"shareAlbumId":{"type":"string","description":"가입된 공유앨범 아이디","example":"clol69ajm00037zih1nw8cdea"}},"required":["shareAlbumId"]},"ModifyShareAlbumMemberRequest":{"type":"object","properties":{"role":{"type":"string","description":"앨범 권한","example":"EDITOR","enum":["OWNER","EDITOR","VIEWER","TEMPORARY"]}},"required":["role"]},"ModifyShareAlbumMemberResponse":{"type":"object","properties":{"albumId":{"type":"string","description":"앨범 아이디","example":"clol6tnm100037zzpnfut389l"}},"required":["albumId"]},"DeleteShareAlbumMemberResponse":{"type":"object","properties":{"albumId":{"type":"string","description":"앨범 아이디","example":"clol6tnm100037zzpnfut389l"}},"required":["albumId"]},"GetFeedListContentItem":{"type":"object","properties":{"id":{"type":"string","description":"피드 아이디"},"type":{"type":"string","description":"피드 타입","enum":["IMAGE","VIDEO"]},"contentSmallUrl":{"type":"string","description":"피드 콘텐츠 URL","example":"https://..."},"contentMediumUrl":{"type":"string","description":"피드 콘텐츠 URL","example":"https://..."},"contentLargeUrl":{"type":"string","description":"피드 콘텐츠 URL","example":"https://..."}},"required":["id","type","contentSmallUrl","contentMediumUrl","contentLargeUrl"]},"GetFeedListItem":{"type":"object","properties":{"id":{"type":"string","description":"피드 아이디"},"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"피드 내용","example":"호떡짱"},"feedContentList":{"description":"피드 콘텐츠","type":"array","items":{"$ref":"#/components/schemas/GetFeedListContentItem"}},"createdAt":{"type":"string","description":"생성일","example":"2021-01-01T00:00:00.000Z"},"updatedAt":{"type":"string","description":"수정일","example":"2021-01-01T00:00:00.000Z"}},"required":["id","userId","description","feedContentList","createdAt","updatedAt"]},"GetFeedListResponse":{"type":"object","properties":{"total":{"type":"number","description":"토탈 카운트"},"list":{"description":"피드 리스트","type":"array","items":{"$ref":"#/components/schemas/GetFeedListItem"}}},"required":["total","list"]},"GetFeedContentItem":{"type":"object","properties":{"id":{"type":"string","description":"콘텐츠 아이디"},"type":{"type":"string","description":"콘텐츠 타입","enum":["IMAGE","VIDEO"]},"contentSmallUrl":{"type":"string","description":"콘텐츠 URL","example":"https://..."},"contentMediumUrl":{"type":"string","description":"콘텐츠 URL","example":"https://..."},"contentLargeUrl":{"type":"string","description":"콘텐츠 URL","example":"https://..."}},"required":["id","type","contentSmallUrl","contentMediumUrl","contentLargeUrl"]},"GetFeedCommentItem":{"type":"object","properties":{"id":{"type":"string","description":"코멘트 아이디"},"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"내용","example":"호떡짱"},"createdAt":{"type":"string","description":"생성일","example":"2021-01-01T00:00:00.000Z"}},"required":["id","userId","description","createdAt"]},"GetFeedResponse":{"type":"object","properties":{"id":{"type":"string","description":"피드 아이디"},"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"피드 내용","example":"호떡짱"},"feedContentList":{"description":"피드 콘텐츠","type":"array","items":{"$ref":"#/components/schemas/GetFeedContentItem"}},"feedCommentList":{"description":"피드 코멘트","type":"array","items":{"$ref":"#/components/schemas/GetFeedCommentItem"}},"createdAt":{"type":"string","description":"생성일","example":"2021-01-01T00:00:00.000Z"},"updatedAt":{"type":"string","description":"수정일","example":"2021-01-01T00:00:00.000Z"}},"required":["id","userId","description","feedContentList","feedCommentList","createdAt","updatedAt"]},"CreateFeedItem":{"type":"object","properties":{"contentId":{"type":"string","description":"콘텐츠 아이디","example":"123g21hj2"},"type":{"type":"string","description":"콘텐츠 타입","example":"IMAGE","enum":["IMAGE","VIDEO"]},"contentSmallUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"},"contentMediumUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"},"contentLargeUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"}},"required":["contentId","type"]},"CreateFeedRequest":{"type":"object","properties":{"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"피드 내용","example":"피드 내용"},"contents":{"description":"피드 콘텐츠","type":"array","items":{"$ref":"#/components/schemas/CreateFeedItem"}}},"required":["userId","contents"]},"CreateFeedResponse":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"123g21hj2"}},"required":["feedId"]},"ModifyFeedItem":{"type":"object","properties":{"contentId":{"type":"string","description":"콘텐츠 아이디","example":"123g21hj2"},"type":{"type":"string","description":"콘텐츠 타입","example":"IMAGE","enum":["IMAGE","VIDEO"]},"contentSmallUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"},"contentMediumUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"},"contentLargeUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"}},"required":["contentId","type"]},"ModifyFeedRequest":{"type":"object","properties":{"description":{"type":"string","description":"피드 내용","example":"피드 내용"},"contents":{"description":"피드 콘텐츠","type":"array","items":{"$ref":"#/components/schemas/ModifyFeedItem"}}}},"CreateFeedCommentRequest":{"type":"object","properties":{"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"댓글 내용","example":"댓글 내용"}},"required":["userId","description"]},"CreateFeedCommentResponse":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"clon3dw1h00003c8t7zowgde0"}},"required":["feedId"]},"DeleteFeedCommentRequest":{"type":"object","properties":{"userId":{"type":"number","description":"유저 아이디","example":1}},"required":["userId"]},"DeleteFeedCommentResponse":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"clon3ftt600073c8tpy32nkao"}},"required":["feedId"]},"ModifyFeedCommentRequest":{"type":"object","properties":{"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"댓글 내용","example":"댓글 내용"}},"required":["userId","description"]},"ModifyFeedCommentResponse":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"clon3dw1h00003c8t7zowgde0"}},"required":["feedId"]},"CreateCollectionRequest":{"type":"object","properties":{"userId":{"type":"number","description":"회원 아이디","example":1},"name":{"type":"string","description":"컬렉션명","example":"내 컬렉션"},"description":{"type":"string","description":"컬렉션 설명","example":"내가 만든 컬렉션"}},"required":["userId","name"]},"CreateCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"컬렉션 아이디"}},"required":["collectionId"]},"DeleteCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"삭제된 컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["collectionId"]},"ModifyCollectionRequest":{"type":"object","properties":{"name":{"type":"string","description":"컬렉션 이름","example":"컬렉션 이름"},"description":{"type":"string","description":"컬렉션 설명","example":"컬렉션 설명"}}},"ModifyCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"수정된 컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["collectionId"]},"AddFeedToCollectionRequest":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["feedId"]},"AddFeedToCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["collectionId"]},"DeleteFeedToCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["collectionId"]}}}}
{"openapi":"3.0.0","paths":{"/check":{"get":{"operationId":"AppController_getHello","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["health"]}},"/share-album/{id}":{"get":{"operationId":"ShareAlbumController_getShareAlbum","summary":"공유앨범 조회","description":"공유앨범을 조회합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSharedAlbumResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]},"patch":{"operationId":"ShareAlbumController_modifyShareAlbum","summary":"공유앨범 수정","description":"공유앨범을 수정합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyShareAlbumRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyShareAlbumResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album":{"get":{"operationId":"ShareAlbumController_getShareAlbums","summary":"공유앨범 리스트 조회","description":"공유앨범 리스트를 조회합니다.","parameters":[{"name":"userId","required":true,"in":"query","description":"유저 아이디","example":1,"schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSharedAlbumsResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]},"post":{"operationId":"ShareAlbumController_createShareAlbum","summary":"공유앨범 생성","description":"공유앨범을 생성합니다.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShareAlbumRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShareAlbumResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album/{id}/invite-code":{"post":{"operationId":"ShareAlbumController_createShareAlbumInviteCode","summary":"공유앨범 초대코드 생성","description":"공유앨범 초대코드를 생성합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShareAlbumInviteCodeResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album/invite-code/{code}":{"post":{"operationId":"ShareAlbumController_joinShareAlbumByInviteCode","summary":"공유앨범 초대코드로 공유앨범 가입","description":"공유앨범 초대코드로 공유앨범에 가입합니다.","parameters":[{"name":"code","required":true,"in":"path","description":"공유앨범 초대코드","example":"I8Q32D","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinShareAlbumByInviteCodeRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinShareAlbumByInviteCodeResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_INVITE_CODE_NOT_FOUND: 초대코드를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album/{id}/member/{userId}":{"patch":{"operationId":"ShareAlbumController_modifyShareAlbumMember","summary":"공유앨범 맴버 수정","description":"공유앨범 맴버를 수정합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyShareAlbumMemberRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyShareAlbumMemberResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_MEMBER_NOT_FOUND: 멤버를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]},"delete":{"operationId":"ShareAlbumController_leaveShareAlbum","summary":"공유앨범 맴버 삭제","description":"공유앨범 맴버를 삭제합니다.","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteShareAlbumMemberResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_MEMBER_NOT_FOUND: 멤버를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범"]}},"/share-album/{id}/feed":{"get":{"operationId":"FeedController_getFeedList","summary":"공유앨범 피드 리스트","description":"공유앨범 피드 리스트를 가져옵니다.","parameters":[{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFeedListResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]},"post":{"operationId":"FeedController_createFeed","summary":"공유앨범 피드 생성","description":"공유앨범 피드를 생성합니다.","parameters":[{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다.</br>SHARE_ALBUM_MEMBER_NOT_FOUND: 멤버를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]}},"/share-album/{id}/feed/{feedId}":{"get":{"operationId":"FeedController_getFeed","summary":"공유앨범 피드","description":"공유앨범 피드를 가져옵니다.","parameters":[{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}},{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetFeedResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]},"delete":{"operationId":"FeedController_deleteFeed","summary":"공유앨범 피드 삭제","description":"공유앨범 피드를 삭제합니다.","parameters":[{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}},{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다.</br>SHARE_ALBUM_FEED_NOT_FOUND: 피드를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]},"patch":{"operationId":"FeedController_updateFeed","summary":"공유앨범 피드 수정","description":"공유앨범 피드를 수정합니다.","parameters":[{"name":"id","required":true,"in":"path","description":"공유앨범 아이디","schema":{"type":"string"}},{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyFeedRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_NOT_FOUND: 앨범을 찾을 수 없습니다.</br>SHARE_ALBUM_FEED_NOT_FOUND: 피드를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]}},"/share-album/feed/{feedId}/comment":{"post":{"operationId":"FeedController_createComment","summary":"공유앨범 피드 댓글 생성","description":"공유앨범 피드 댓글을 생성합니다.","parameters":[{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedCommentRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedCommentResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_FEED_NOT_FOUND: 피드를 찾을 수 없습니다.</br>SHARE_ALBUM_MEMBER_NOT_FOUND: 멤버를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]}},"/share-album/feed/{feedId}/comment/{commentId}":{"delete":{"operationId":"FeedController_deleteComment","summary":"공유앨범 피드 댓글 삭제","description":"공유앨범 피드 댓글을 삭제합니다.","parameters":[{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}},{"name":"commentId","required":true,"in":"path","description":"공유앨범 피드 댓글 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFeedCommentRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFeedCommentResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_FEED_COMMENT_NOT_FOUND: 댓글을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]},"patch":{"operationId":"FeedController_updateComment","summary":"공유앨범 피드 댓글 수정","description":"공유앨범 피드 댓글을 수정합니다.","parameters":[{"name":"feedId","required":true,"in":"path","description":"공유앨범 피드 아이디","schema":{"type":"string"}},{"name":"commentId","required":true,"in":"path","description":"공유앨범 피드 댓글 아이디","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyFeedCommentRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyFeedCommentResponse"}}}},"400":{"description":""},"404":{"description":"SHARE_ALBUM_FEED_COMMENT_NOT_FOUND: 댓글을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["공유앨범-피드"]}},"/collection":{"post":{"operationId":"CollectionController_createCollection","summary":"컬렉션 생성","description":"컬렉션을 생성합니다.","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCollectionRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCollectionResponse"}}}},"400":{"description":""},"404":{"description":""},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]}},"/collection/{collectionId}":{"delete":{"operationId":"CollectionController_deleteCollection","summary":"컬렉션 삭제","description":"컬렉션을 삭제합니다.","parameters":[{"name":"collectionId","required":true,"in":"path","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCollectionResponse"}}}},"400":{"description":""},"404":{"description":"COLLECTION_NOT_FOUND: 컬렉션을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]},"patch":{"operationId":"CollectionController_modifyCollection","summary":"컬렉션 수정","description":"컬렉션을 수정합니다.","parameters":[{"name":"collectionId","required":true,"in":"path","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyCollectionRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModifyCollectionResponse"}}}},"400":{"description":""},"404":{"description":"COLLECTION_NOT_FOUND: 컬렉션을 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]}},"/collection/{collectionId}/feed":{"post":{"operationId":"CollectionController_addFeedToCollection","summary":"컬렉션에 피드 추가","description":"컬렉션에 피드를 추가합니다.","parameters":[{"name":"collectionId","required":true,"in":"path","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFeedToCollectionRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddFeedToCollectionResponse"}}}},"400":{"description":"COLLECTION_FEED_ALREADY_EXIST: 이미 컬렉션에 추가된 피드입니다."},"404":{"description":"COLLECTION_NOT_FOUND: 컬렉션을 찾을 수 없습니다.</br>SHARE_ALBUM_FEED_NOT_FOUND: 피드를 찾을 수 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]}},"/collection/{collectionId}/feed/{feedId}":{"delete":{"operationId":"CollectionController_deleteFeedToCollection","summary":"컬렉션에 피드 삭제","description":"컬렉션에 피드를 삭제합니다.","parameters":[{"name":"collectionId","required":true,"in":"path","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}},{"name":"feedId","required":true,"in":"path","description":"피드 아이디","example":"clp0wkn6k00007z209fylkkgg","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFeedToCollectionResponse"}}}},"400":{"description":""},"404":{"description":"COLLECTION_FEED_NOT_FOUND: 컬렉션에 해당 피드가 없습니다."},"500":{"description":"INTERNAL_SERVER_ERROR: 서버에 오류가 발생했습니다."}},"tags":["컬렉션"]}}},"info":{"title":"PPOTTO Social API","description":"뽀또 소셜서비스","version":"1.0","contact":{}},"tags":[],"servers":[],"components":{"schemas":{"GetSharedAlbumMemberItem":{"type":"object","properties":{"userId":{"type":"number","description":"앨범 공유 멤버 아이디","example":1},"role":{"type":"string","description":"권한","enum":["OWNER","EDITOR","VIEWER","TEMPORARY"],"example":"OWNER"},"joinedAt":{"format":"date-time","type":"string","description":"가입일","example":"2023-09-28 15:53:24.586"}},"required":["userId","role","joinedAt"]},"GetSharedAlbumResponse":{"type":"object","properties":{"id":{"type":"string","description":"앨범 아이디","example":"cln3cu9nl00043cwt43mzfro5"},"name":{"type":"string","description":"앨범 명","example":"앨범"},"bio":{"type":"string","description":"앨범 소개","example":"내 앨범"},"shareAlbumMemberList":{"type":"array","items":{"$ref":"#/components/schemas/GetSharedAlbumMemberItem"}}},"required":["id","name","bio","shareAlbumMemberList"]},"GetSharedAlbumsMemberItem":{"type":"object","properties":{"userId":{"type":"number","description":"앨범 공유 멤버 아이디","example":1},"role":{"type":"string","description":"권한","enum":["OWNER","EDITOR","VIEWER","TEMPORARY"],"example":"OWNER"},"joinedAt":{"format":"date-time","type":"string","description":"가입일","example":"2023-09-28 15:53:24.586"}},"required":["userId","role","joinedAt"]},"GetSharedAlbumsAlbum":{"type":"object","properties":{"id":{"type":"string","description":"앨범 아이디","example":"cln3cu9nl00043cwt43mzfro5"},"name":{"type":"string","description":"앨범 명","example":"앨범"},"bio":{"type":"string","description":"앨범 소개","example":"내 앨범"},"shareAlbumMemberList":{"type":"array","items":{"$ref":"#/components/schemas/GetSharedAlbumsMemberItem"}}},"required":["id","name","bio","shareAlbumMemberList"]},"GetSharedAlbumsResponse":{"type":"object","properties":{"list":{"description":"앨범 리스트","type":"array","items":{"$ref":"#/components/schemas/GetSharedAlbumsAlbum"}}},"required":["list"]},"CreateShareAlbumRequest":{"type":"object","properties":{"name":{"type":"string","description":"공유앨범 명","example":"내 일상앨범"},"bio":{"type":"string","description":"공유앨범 설명","example":"내 일상을 공유하는 앨범"},"ownerId":{"type":"number","description":"공유앨범 생성자의 아이디","example":"1"}},"required":["name","bio","ownerId"]},"CreateShareAlbumResponse":{"type":"object","properties":{"id":{"type":"string","description":"생성된 공유앨범의 아이디","example":"cln3cu8oc00003cwtl5g5fp46"}},"required":["id"]},"ModifyShareAlbumRequest":{"type":"object","properties":{"name":{"type":"string","description":"공유앨범 명","example":"내 일상앨범"},"bio":{"type":"string","description":"공유앨범 설명","example":"내 일상을 공유하는 앨범"}}},"ModifyShareAlbumResponse":{"type":"object","properties":{"id":{"type":"string","description":"수정된 공유앨범의 아이디","example":"cln3cu8oc00003cwtl5g5fp46"}},"required":["id"]},"CreateShareAlbumInviteCodeResponse":{"type":"object","properties":{"inviteCode":{"type":"string","description":"생성된 초대 코드","example":"I8Q32D"}},"required":["inviteCode"]},"JoinShareAlbumByInviteCodeRequest":{"type":"object","properties":{"userId":{"type":"number","description":"대상 유저 아이디","example":1}},"required":["userId"]},"JoinShareAlbumByInviteCodeResponse":{"type":"object","properties":{"shareAlbumId":{"type":"string","description":"가입된 공유앨범 아이디","example":"clol69ajm00037zih1nw8cdea"}},"required":["shareAlbumId"]},"ModifyShareAlbumMemberRequest":{"type":"object","properties":{"role":{"type":"string","description":"앨범 권한","example":"EDITOR","enum":["OWNER","EDITOR","VIEWER","TEMPORARY"]}},"required":["role"]},"ModifyShareAlbumMemberResponse":{"type":"object","properties":{"albumId":{"type":"string","description":"앨범 아이디","example":"clol6tnm100037zzpnfut389l"}},"required":["albumId"]},"DeleteShareAlbumMemberResponse":{"type":"object","properties":{"albumId":{"type":"string","description":"앨범 아이디","example":"clol6tnm100037zzpnfut389l"}},"required":["albumId"]},"GetFeedListContentItem":{"type":"object","properties":{"id":{"type":"string","description":"피드 아이디"},"type":{"type":"string","description":"피드 타입","enum":["IMAGE","VIDEO"]},"contentSmallUrl":{"type":"string","description":"피드 콘텐츠 URL","example":"https://..."},"contentMediumUrl":{"type":"string","description":"피드 콘텐츠 URL","example":"https://..."},"contentLargeUrl":{"type":"string","description":"피드 콘텐츠 URL","example":"https://..."}},"required":["id","type","contentSmallUrl","contentMediumUrl","contentLargeUrl"]},"GetFeedListItem":{"type":"object","properties":{"id":{"type":"string","description":"피드 아이디"},"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"피드 내용","example":"호떡짱"},"feedContentList":{"description":"피드 콘텐츠","type":"array","items":{"$ref":"#/components/schemas/GetFeedListContentItem"}},"createdAt":{"type":"string","description":"생성일","example":"2021-01-01T00:00:00.000Z"},"updatedAt":{"type":"string","description":"수정일","example":"2021-01-01T00:00:00.000Z"}},"required":["id","userId","description","feedContentList","createdAt","updatedAt"]},"GetFeedListResponse":{"type":"object","properties":{"total":{"type":"number","description":"토탈 카운트"},"list":{"description":"피드 리스트","type":"array","items":{"$ref":"#/components/schemas/GetFeedListItem"}}},"required":["total","list"]},"GetFeedContentItem":{"type":"object","properties":{"id":{"type":"string","description":"콘텐츠 아이디"},"type":{"type":"string","description":"콘텐츠 타입","enum":["IMAGE","VIDEO"]},"contentSmallUrl":{"type":"string","description":"콘텐츠 URL","example":"https://..."},"contentMediumUrl":{"type":"string","description":"콘텐츠 URL","example":"https://..."},"contentLargeUrl":{"type":"string","description":"콘텐츠 URL","example":"https://..."}},"required":["id","type","contentSmallUrl","contentMediumUrl","contentLargeUrl"]},"GetFeedCommentItem":{"type":"object","properties":{"id":{"type":"string","description":"코멘트 아이디"},"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"내용","example":"호떡짱"},"createdAt":{"type":"string","description":"생성일","example":"2021-01-01T00:00:00.000Z"}},"required":["id","userId","description","createdAt"]},"GetFeedResponse":{"type":"object","properties":{"id":{"type":"string","description":"피드 아이디"},"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"피드 내용","example":"호떡짱"},"feedContentList":{"description":"피드 콘텐츠","type":"array","items":{"$ref":"#/components/schemas/GetFeedContentItem"}},"feedCommentList":{"description":"피드 코멘트","type":"array","items":{"$ref":"#/components/schemas/GetFeedCommentItem"}},"createdAt":{"type":"string","description":"생성일","example":"2021-01-01T00:00:00.000Z"},"updatedAt":{"type":"string","description":"수정일","example":"2021-01-01T00:00:00.000Z"}},"required":["id","userId","description","feedContentList","feedCommentList","createdAt","updatedAt"]},"CreateFeedItem":{"type":"object","properties":{"contentId":{"type":"string","description":"콘텐츠 아이디","example":"123g21hj2"},"type":{"type":"string","description":"콘텐츠 타입","example":"IMAGE","enum":["IMAGE","VIDEO"]},"contentSmallUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"},"contentMediumUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"},"contentLargeUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"}},"required":["contentId","type"]},"CreateFeedRequest":{"type":"object","properties":{"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"피드 내용","example":"피드 내용"},"contents":{"description":"피드 콘텐츠","type":"array","items":{"$ref":"#/components/schemas/CreateFeedItem"}}},"required":["userId","contents"]},"CreateFeedResponse":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"123g21hj2"}},"required":["feedId"]},"ModifyFeedItem":{"type":"object","properties":{"contentId":{"type":"string","description":"콘텐츠 아이디","example":"123g21hj2"},"type":{"type":"string","description":"콘텐츠 타입","example":"IMAGE","enum":["IMAGE","VIDEO"]},"contentSmallUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"},"contentMediumUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"},"contentLargeUrl":{"type":"string","description":"콘텐츠 URL","example":"https://image.com"}},"required":["contentId","type"]},"ModifyFeedRequest":{"type":"object","properties":{"description":{"type":"string","description":"피드 내용","example":"피드 내용"},"contents":{"description":"피드 콘텐츠","type":"array","items":{"$ref":"#/components/schemas/ModifyFeedItem"}}}},"CreateFeedCommentRequest":{"type":"object","properties":{"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"댓글 내용","example":"댓글 내용"}},"required":["userId","description"]},"CreateFeedCommentResponse":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"clon3dw1h00003c8t7zowgde0"}},"required":["feedId"]},"DeleteFeedCommentRequest":{"type":"object","properties":{"userId":{"type":"number","description":"유저 아이디","example":1}},"required":["userId"]},"DeleteFeedCommentResponse":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"clon3ftt600073c8tpy32nkao"}},"required":["feedId"]},"ModifyFeedCommentRequest":{"type":"object","properties":{"userId":{"type":"number","description":"유저 아이디","example":1},"description":{"type":"string","description":"댓글 내용","example":"댓글 내용"}},"required":["userId","description"]},"ModifyFeedCommentResponse":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"clon3dw1h00003c8t7zowgde0"}},"required":["feedId"]},"CreateCollectionRequest":{"type":"object","properties":{"userId":{"type":"number","description":"회원 아이디","example":1},"name":{"type":"string","description":"컬렉션명","example":"내 컬렉션"},"description":{"type":"string","description":"컬렉션 설명","example":"내가 만든 컬렉션"}},"required":["userId","name"]},"CreateCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"컬렉션 아이디"}},"required":["collectionId"]},"DeleteCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"삭제된 컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["collectionId"]},"ModifyCollectionRequest":{"type":"object","properties":{"name":{"type":"string","description":"컬렉션 이름","example":"컬렉션 이름"},"description":{"type":"string","description":"컬렉션 설명","example":"컬렉션 설명"}}},"ModifyCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"수정된 컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["collectionId"]},"AddFeedToCollectionRequest":{"type":"object","properties":{"feedId":{"type":"string","description":"피드 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["feedId"]},"AddFeedToCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["collectionId"]},"DeleteFeedToCollectionResponse":{"type":"object","properties":{"collectionId":{"type":"string","description":"컬렉션 아이디","example":"clp0wkn6k00007z209fylkkgg"}},"required":["collectionId"]}}}}
{
"name": "@ppotto/social-api-client",
"version": "0.0.8",
"version": "0.0.9",
"description": "Ppotto Social API Client",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc