Skip to content

Change Log(0.0.2)

Dahun Jeong edited this page Sep 1, 2020 · 1 revision

Get /api/personalmissions/{personalMissionId}

Requset

변경 전

  • personalMissionId

변경 후

  • Token
  • personalMissionId

Delete /api/personalmissions/{personalMissionId}

Request

변경 전

  • personalMissionId

변경 후

  • Token
  • personalMissionId

Get /api/posts/{postId}

Request

변경 전

  • postId

변경 후

  • Token
  • postId

Response

변경 전

private Long postId;
private String nickName;
private String picture;
private Integer thumbsUp;
private String title;
private String text;
private LocalDateTime createDate;
private LocalDateTime lastModifiedDate;

변경 후

private Long postId;
private String nickName;
private String picture;
private Integer thumbsUp;
private String title;
private String text;
private Boolean isMine; //	추가 됨
private LocalDateTime createDate;
private LocalDateTime lastModifiedDate;

Delete /api/posts/{postId}

Request

변경 전

  • postId

변경 후

  • Token
  • postId

Post /api/users

Path

변경 전

  • /api/users/

변경 후

  • /api/users/signup

Get /api/users

Response

변경 전

  "email": "string",
  "nickName": "string",
  "personalMissions": [
    {
      "endDate": "2020-08-27T13:23:13.176Z",
      "finishCount": 0,
      "missionId": 0,
      "missionPictureUrl": "string",
      "personalMissionStatus": "FINISH",
      "personalMission_id": 0,
      "progress": 0,
      "remainPeriod": {
        "remainDay": 0,
        "remainHour": 0,
        "remainMin": 0
      },
      "startDate": "2020-08-27T13:23:13.176Z",
      "userId": 0
    }
  ],
  "pictureUrl": "string",
  "posts": [
    {
      "createDate": "2020-08-27T13:23:13.176Z",
      "lastModifiedDate": "2020-08-27T13:23:13.176Z",
      "nickName": "string",
      "picture": "string",
      "postId": 0,
      "text": "string",
      "thumbsUp": 0,
      "title": "string"
    }
  ],
  "userId": 0
}

변경 후

{
  "email": "string",
  "nickName": "string",
  "personalMissions": [
    {
      "endDate": "2020-08-27T13:24:16.138Z",
      "finishCount": 0,
      "missionId": 0,
      "missionPictureUrl": "string",
      "personalMissionStatus": "FINISH",
      "personalMission_id": 0,
      "progress": 0,
      "remainPeriod": {
        "remainDay": 0,
        "remainHour": 0,
        "remainMin": 0
      },
      "startDate": "2020-08-27T13:24:16.138Z",
      "userId": 0
    }
  ],
  "pictureUrl": "string",
  "posts": [
    {
      "createDate": "2020-08-27T13:24:16.138Z",
      "isMine": true, //추가 됨
      "lastModifiedDate": "2020-08-27T13:24:16.138Z",
      "nickName": "string",
      "picture": "string",
      "postId": 0,
      "text": "string",
      "thumbsUp": 0,
      "title": "string"
    }
  ],
  "userId": 0
}

Get /api/page/home

Response

변경 후

{
  "expectedCO2": 0,
  "expectedTree": 0,
  "nickName": "string",
  "pageDto": { //완료 미션, 진행중 미션, 인기미션을 한번에 엮었음
    "finishedResponseDtoList": [
      {
        "endDate": "2020-09-01T13:59:57.339Z",
        "manyPeople": 0,
        "missionId": 0,
        "missionTitle": "string",
        "personalMissionId": 0,
        "pictureUrl": "string",
        "startDate": "2020-09-01T13:59:57.339Z",
        "status": "FINISH"
      }
    ],
    "popularMissionResponseDtoList": [
      {
        "endDate": "2020-09-01T13:59:57.339Z",
        "missionId": 0,
        "pictureUrl": "string",
        "progressCount": 0,
        "startDate": "2020-09-01T13:59:57.339Z",
        "subject": "string"
      }
    ],
    "progressResponseDtoList": [
      {
        "endDate": "2020-09-01T13:59:57.339Z",
        "finishCount": 0,
        "manyPeople": 0,
        "missionId": 0,
        "missionTitle": "string",
        "personalMissionId": 0,
        "pictureUrl": "string",
        "progress": 0,
        "remainPeriod": {
          "remainDay": 0,
          "remainHour": 0,
          "remainMin": 0
        },
        "startDate": "2020-09-01T13:59:57.339Z"
      }
    ]
  },
  "progressCampaign": 0,
  "progressRates": 0,
  "treeSentence": "string"
}
Clone this wiki locally