noti-service API (v0.0.1)

Download OpenAPI specification:Download

Waither noti-service API 명세서입니다.

notification-controller

Send Go Out Alarm

외출 알림 전송하기

query Parameters
userId
required
integer <int64>

Responses

checkCurrentAlarm

Request Body schema: application/json
required
x
number <double>
y
number <double>

Responses

Request samples

Content type
application/json
{
  • "x": 0.1,
  • "y": 0.1
}

get notification

알림 목록 조회하기

query Parameters
userId
required
integer <int64>

Responses

survey-controller

createSurvey

Request Body schema: application/json
required
ans
integer <int32>
time
string <date-time>

Responses

Request samples

Content type
application/json
{
  • "ans": 0,
  • "time": "2019-08-24T14:15:22Z"
}

user-controller

Sign Up

회원가입

Request Body schema: application/json
required
email
required
string^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,...
password
required
string [ 8 .. 2147483647 ] characters ^(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*]).{8,64}$

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "password": "stringst"
}

passwordCheckEmail

Request Body schema: application/json
required
password
string

Responses

Request samples

Content type
application/json
{
  • "password": "string"
}

verificationEmail

Request Body schema: application/json
required
email
string
authCode
string

Responses

Request samples

Content type
application/json
{
  • "email": "string",
  • "authCode": "string"
}

updatePassword

Request Body schema: application/json
required
password
required
string [ 8 .. 2147483647 ] characters ^(?=.*[a-z])(?=.*\d)(?=.*[!@#$%^&*]).{8,64}$

Responses

Request samples

Content type
application/json
{
  • "password": "stringst"
}

updateNickname

Request Body schema: application/json
required
nickname
string

Responses

Request samples

Content type
application/json
{
  • "nickname": "string"
}

reissueToken

header Parameters
RefreshToken
required
string

Responses

submitTemporaryPassword

query Parameters
email
required
string

Responses

submitAuthCode

query Parameters
email
required
string

Responses

deleteUser

Responses

setting-controller

getWeight

Responses

updateWeight

Request Body schema: application/json
required
weight
number <double>

Responses

Request samples

Content type
application/json
{
  • "weight": 0.1
}

getRegion

Responses

updateRegion

Request Body schema: application/json
required
regionName
string
longitude
number <double>
latitude
number <double>

Responses

Request samples

Content type
application/json
{
  • "regionName": "string",
  • "longitude": 0.1,
  • "latitude": 0.1
}

updateRegionReport

Request Body schema: application/json
required
regionReport
boolean

Responses

Request samples

Content type
application/json
{
  • "regionReport": true
}

getWind

Responses

updateWind

Request Body schema: application/json
required
windAlert
boolean
windDegree
integer <int32>

Responses

Request samples

Content type
application/json
{
  • "windAlert": true,
  • "windDegree": 0
}

updateUserAlert

Request Body schema: application/json
required
userAlert
boolean

Responses

Request samples

Content type
application/json
{
  • "userAlert": true
}

updateSnowAlert

Request Body schema: application/json
required
snowAlert
boolean

Responses

Request samples

Content type
application/json
{
  • "snowAlert": true
}

updateOutAlert

Request Body schema: application/json
required
outAlert
boolean

Responses

Request samples

Content type
application/json
{
  • "outAlert": true
}

updateOutAlertSet

Request Body schema: application/json
required
days
Array of strings
object (LocalTime)

Responses

Request samples

Content type
application/json
{
  • "days": [
    ],
  • "outTime": {
    }
}

updateClimateAlert

Request Body schema: application/json
required
climateAlert
boolean

Responses

Request samples

Content type
application/json
{
  • "climateAlert": true
}

getDisplay

Responses

updateDisplay

Request Body schema: application/json
required
precipitation
boolean
wind
boolean
dust
boolean

Responses

Request samples

Content type
application/json
{
  • "precipitation": true,
  • "wind": true,
  • "dust": true
}

getUserCustom

Responses

updateCustom

Request Body schema: application/json
required
custom
boolean

Responses

Request samples

Content type
application/json
{
  • "custom": true
}

getNotification

Responses

getUserInfo

Responses

weather-test-controller

createExpectedWeatherTest

Request Body schema: application/json
required
nx
integer <int32>
ny
integer <int32>
baseDate
string
baseTime
string

Responses

Request samples

Content type
application/json
{
  • "nx": 0,
  • "ny": 0,
  • "baseDate": "string",
  • "baseTime": "string"
}

createDisasterMsgTest

Request Body schema: application/json
required
location
string

Responses

Request samples

Content type
application/json
{
  • "location": "string"
}

createDailyWeatherTest

Request Body schema: application/json
required
nx
integer <int32>
ny
integer <int32>
baseDate
string
baseTime
string

Responses

Request samples

Content type
application/json
{
  • "nx": 0,
  • "ny": 0,
  • "baseDate": "string",
  • "baseTime": "string"
}

airKoreaTest

Request Body schema: application/json
required
searchDate
string

Responses

Request samples

Content type
application/json
{
  • "searchDate": "string"
}

accuweatherTest

Request Body schema: application/json
required
latitude
number <double>
longitude
number <double>

Responses

Request samples

Content type
application/json
{
  • "latitude": 0.1,
  • "longitude": 0.1
}