API
DRONAI BACKEND SERVER DOCUMENTATIONS
EVENT API TESTER
GET https://ds.linearjun.com/api/event/test
이벤트 API 서버의 활성 여부를 습니다.
Request Body
Name
Type
Description
req
object
any
{"success":true,"msg":"이벤트 API 정상"}Cannot GET /api/event/testDRONE EVENT GET
GET https://ds.linearjun.com/api/event/get
Request Body
Name
Type
Description
req
object
any
{
"success": true,
"events": [
{
"id": "d95a4dfd-248c-4938-a6ca-1c5be05a33de",
"date": "2021-10-04T05:12:15.000Z",
"droneId": "Drone_Test",
"detail": "ADD API 테스트입니다",
"imgPath": "./resources/images/file-1633324335122.jpg"
},
{
"id": "408a7eed-a07d-4fcb-8417-578ad866b987",
"date": "2021-10-04T05:13:11.000Z",
"droneId": "Drone_Test",
"detail": "ADD API 테스트입니다",
"imgPath": "./resources/images/file-1633324391853.jpg"
}
]
} Cannot GET /api/event/getDRONE EVENT ADD
POST https://ds.linearjun.com/api/event/add
드론에서 발생한 이벤트를 서버에게 등록할 때 사용되는 api
Headers
Name
Type
Description
type
string
application/json
Request Body
Name
Type
Description
req
object
json { string DroneID, string Detail, string ImgPath }
FILE ULOAD (image)
POST https://ds.linearjun.com/api/event/upload
서버에 이미지를 올리는 api
Path Parameters
Name
Type
Description
Images
array
images[]
Last updated
Was this helpful?