Message API (1.0.0)

Download OpenAPI specification:

This is CHAP's web server. Feel free to use it to store any data you like.

新しい投稿を追加

Request Body schema: application/json
required
ID
integer
Content
string
CreatedTime
string <date-time>
Lat
number <float>
Lng
number <float>

Responses

Request samples

Content type
application/json
{
  • "ID": 0,
  • "Content": "string",
  • "CreatedTime": "2019-08-24T14:15:22Z",
  • "Lat": 0.1,
  • "Lng": 0.1
}

近くの投稿を取得

Request Body schema: application/json
required
Lat
number
Lng
number

Responses

Request samples

Content type
application/json
{
  • "Lat": 0,
  • "Lng": 0
}

Response samples

Content type
application/json
[
  • {
    }
]

ユーザーIDでユーザー情報を取得

Request Body schema: application/json
required
integer

Responses

Request samples

Content type
application/json
0
0

Response samples

Content type
application/json
{
  • "ID": 0,
  • "Name": "string",
  • "Email": "string",
  • "Password": "string"
}