Skip to content

API FEED

onemoon edited this page Oct 31, 2018 · 3 revisions

About Feed API

Total API

  • GET
    • ? page = @
    • /feed/user
    • /feed/empathy
    • /feed/coop
    • /feed/tour
      • & mapx = @ & mapy = @ & type = @ & dist = @
  • POST
    • /feed/user
    • /feed/empathy
    • /feed/coop

#1 User Album

Basic Form

[ 
    // Single Form
    {
        owner : "user_123" , 
        userThumbnail : "aws_s3_thum.png || sns_imageURL"
        title : "Lorem 123" ,
        contents : "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been " ,
        imageURL : "aws_s3_rolem.png" 
    } , 
    // Single Form End
    { ... } , 
    { ... } 
]

API

  • GET
    • /feed/user
      • 리스트 형식의 유저 앨범 데이터
  • POST
    • /feed/user
      • 유저 앨범 데이터 생성

#2 공감 앱 새로운 소식

Basic Form

[
    // Single Form 
    {
        owner : "user_123" , 
        title : "title" , 
        contents : ""  ,
        imageURL : "aws_s3_image.png"
    } , 
    // Single Form 
    { ... } , 
    { ... } 
]

API

  • GET
    • /feed/empathy
  • POST
    • /feed/empathy

#3 제휴 ( Cooperation )

Basic Form

API

#4 관광정보

참고로 이미지가 없는 item 들은 요청 당시 제외한다.

Additioanl Param

  • mapX
  • mapY
  • type
  • dist

Basic Form

[
    // Single Form 
    {
        title : "title" , 
        contents : ""  ,
        imageURL : "image.png"
    } , 
    // Single Form 
    { ... } , 
    { ... } 
]

API

  • GET
    • /feed/empathy

Priority

  1. User Album
  2. 공감 앱 새로운 소식
    • 새로운 필터
    • 새로운 기능
  3. 추가적인 데이터
    • 영세상인
    • 추가적인 정보들
  4. 관광정보
    • tour api

Clone this wiki locally