MashUp Active Notice List API - mash-up-kr/mahsup-manage-backend GitHub Wiki

Active Notice List API

Request

  • endpoint: GET /api/v1/notice/active/list?type={type}

Response

  • status code: 200
  • body
[
  {
    "id": 1,
    "title": "title",
    "content": "content",
    "meeting_at": "2018-11-25T00:00:00",
    "location": {
      "description": "description",
      "latitude": 127.012313,
      "longtitude": 32.919281
    },
    "noticed_at": "noticed_at"
  },
  {
    "id": 2,
    "title": "title2",
    "content": "content2",
    "meeting_at": "2018-11-25T00:00:00",
    "location": {
      "description": "description2",
      "latitude": 127.012313,
      "longtitude": 32.919281
    },
    "noticed_at": "noticed_at"
  }
]

참고사항

  • latitude, longtitude값은 소수 여섯째자리까지 반올림 한 값.
  • 지나지 않은 (현재 필요한)공지들만 조회

Exception

wait....