|
303 | 303 | } |
304 | 304 | } |
305 | 305 | }, |
| 306 | + "CoverageSettingsRequest" : { |
| 307 | + "type" : "object", |
| 308 | + "properties" : { |
| 309 | + "enabled" : { |
| 310 | + "type" : "boolean" |
| 311 | + } |
| 312 | + } |
| 313 | + }, |
306 | 314 | "CreateExportRequest" : { |
307 | 315 | "type" : "object", |
308 | 316 | "properties" : { |
|
776 | 784 | } |
777 | 785 | }, |
778 | 786 | "GpsSourceType" : { |
779 | | - "enum" : [ "OWNTRACKS", "OVERLAND", "GOOGLE_TIMELINE", "GPX", "DAWARICH", "HOME_ASSISTANT", "GEOJSON", "CSV" ], |
| 787 | + "enum" : [ "OWNTRACKS", "GPSLOGGER", "OVERLAND", "GOOGLE_TIMELINE", "GPX", "DAWARICH", "HOME_ASSISTANT", "GEOJSON", "CSV" ], |
780 | 788 | "type" : "string" |
781 | 789 | }, |
782 | 790 | "HomeAssistantBattery" : { |
|
3160 | 3168 | "tags" : [ "Authentication Resource" ] |
3161 | 3169 | } |
3162 | 3170 | }, |
| 3171 | + "/api/coverage/cells" : { |
| 3172 | + "get" : { |
| 3173 | + "parameters" : [ { |
| 3174 | + "name" : "bbox", |
| 3175 | + "in" : "query", |
| 3176 | + "schema" : { |
| 3177 | + "type" : "string" |
| 3178 | + } |
| 3179 | + }, { |
| 3180 | + "name" : "grid", |
| 3181 | + "in" : "query", |
| 3182 | + "schema" : { |
| 3183 | + "format" : "int32", |
| 3184 | + "type" : "integer" |
| 3185 | + } |
| 3186 | + }, { |
| 3187 | + "name" : "limit", |
| 3188 | + "in" : "query", |
| 3189 | + "schema" : { |
| 3190 | + "format" : "int32", |
| 3191 | + "minimum" : 1, |
| 3192 | + "type" : "integer" |
| 3193 | + } |
| 3194 | + } ], |
| 3195 | + "responses" : { |
| 3196 | + "200" : { |
| 3197 | + "description" : "OK" |
| 3198 | + }, |
| 3199 | + "401" : { |
| 3200 | + "description" : "Not Authorized" |
| 3201 | + }, |
| 3202 | + "403" : { |
| 3203 | + "description" : "Not Allowed" |
| 3204 | + } |
| 3205 | + }, |
| 3206 | + "summary" : "Get Coverage Cells", |
| 3207 | + "tags" : [ "Coverage Resource" ], |
| 3208 | + "security" : [ { |
| 3209 | + "jwt" : [ ] |
| 3210 | + } ] |
| 3211 | + } |
| 3212 | + }, |
| 3213 | + "/api/coverage/settings" : { |
| 3214 | + "put" : { |
| 3215 | + "requestBody" : { |
| 3216 | + "content" : { |
| 3217 | + "application/json" : { |
| 3218 | + "schema" : { |
| 3219 | + "$ref" : "#/components/schemas/CoverageSettingsRequest" |
| 3220 | + } |
| 3221 | + } |
| 3222 | + }, |
| 3223 | + "required" : true |
| 3224 | + }, |
| 3225 | + "responses" : { |
| 3226 | + "200" : { |
| 3227 | + "description" : "OK" |
| 3228 | + }, |
| 3229 | + "401" : { |
| 3230 | + "description" : "Not Authorized" |
| 3231 | + }, |
| 3232 | + "403" : { |
| 3233 | + "description" : "Not Allowed" |
| 3234 | + }, |
| 3235 | + "400" : { |
| 3236 | + "description" : "Bad Request" |
| 3237 | + } |
| 3238 | + }, |
| 3239 | + "summary" : "Update Coverage Settings", |
| 3240 | + "tags" : [ "Coverage Resource" ], |
| 3241 | + "security" : [ { |
| 3242 | + "jwt" : [ ] |
| 3243 | + } ] |
| 3244 | + } |
| 3245 | + }, |
| 3246 | + "/api/coverage/status" : { |
| 3247 | + "get" : { |
| 3248 | + "responses" : { |
| 3249 | + "200" : { |
| 3250 | + "description" : "OK" |
| 3251 | + }, |
| 3252 | + "401" : { |
| 3253 | + "description" : "Not Authorized" |
| 3254 | + }, |
| 3255 | + "403" : { |
| 3256 | + "description" : "Not Allowed" |
| 3257 | + } |
| 3258 | + }, |
| 3259 | + "summary" : "Get Coverage Status", |
| 3260 | + "tags" : [ "Coverage Resource" ], |
| 3261 | + "security" : [ { |
| 3262 | + "jwt" : [ ] |
| 3263 | + } ] |
| 3264 | + } |
| 3265 | + }, |
| 3266 | + "/api/coverage/summary" : { |
| 3267 | + "get" : { |
| 3268 | + "parameters" : [ { |
| 3269 | + "name" : "grid", |
| 3270 | + "in" : "query", |
| 3271 | + "schema" : { |
| 3272 | + "format" : "int32", |
| 3273 | + "type" : "integer" |
| 3274 | + } |
| 3275 | + } ], |
| 3276 | + "responses" : { |
| 3277 | + "200" : { |
| 3278 | + "description" : "OK" |
| 3279 | + }, |
| 3280 | + "401" : { |
| 3281 | + "description" : "Not Authorized" |
| 3282 | + }, |
| 3283 | + "403" : { |
| 3284 | + "description" : "Not Allowed" |
| 3285 | + } |
| 3286 | + }, |
| 3287 | + "summary" : "Get Coverage Summary", |
| 3288 | + "tags" : [ "Coverage Resource" ], |
| 3289 | + "security" : [ { |
| 3290 | + "jwt" : [ ] |
| 3291 | + } ] |
| 3292 | + } |
| 3293 | + }, |
3163 | 3294 | "/api/dawarich/api/v1/health" : { |
3164 | 3295 | "get" : { |
3165 | 3296 | "responses" : { |
|
5411 | 5542 | } ] |
5412 | 5543 | } |
5413 | 5544 | }, |
| 5545 | + "/api/gpslogger" : { |
| 5546 | + "post" : { |
| 5547 | + "parameters" : [ { |
| 5548 | + "name" : "X-Limit-D", |
| 5549 | + "in" : "header", |
| 5550 | + "schema" : { |
| 5551 | + "type" : "string" |
| 5552 | + } |
| 5553 | + } ], |
| 5554 | + "requestBody" : { |
| 5555 | + "content" : { |
| 5556 | + "application/json" : { |
| 5557 | + "schema" : { |
| 5558 | + "type" : "object", |
| 5559 | + "additionalProperties" : { } |
| 5560 | + } |
| 5561 | + } |
| 5562 | + }, |
| 5563 | + "required" : true |
| 5564 | + }, |
| 5565 | + "responses" : { |
| 5566 | + "200" : { |
| 5567 | + "description" : "OK" |
| 5568 | + }, |
| 5569 | + "400" : { |
| 5570 | + "description" : "Bad Request" |
| 5571 | + } |
| 5572 | + }, |
| 5573 | + "summary" : "Handle Gps Logger", |
| 5574 | + "tags" : [ "Gps Logger Resource" ] |
| 5575 | + } |
| 5576 | + }, |
5414 | 5577 | "/api/health" : { |
5415 | 5578 | "get" : { |
5416 | 5579 | "responses" : { |
|
6137 | 6300 | } ] |
6138 | 6301 | } |
6139 | 6302 | }, |
| 6303 | + "/api/location-analytics/map/places" : { |
| 6304 | + "get" : { |
| 6305 | + "parameters" : [ { |
| 6306 | + "name" : "from", |
| 6307 | + "in" : "query", |
| 6308 | + "schema" : { |
| 6309 | + "type" : "string" |
| 6310 | + } |
| 6311 | + }, { |
| 6312 | + "name" : "limit", |
| 6313 | + "in" : "query", |
| 6314 | + "schema" : { |
| 6315 | + "format" : "int32", |
| 6316 | + "default" : "3000", |
| 6317 | + "type" : "integer" |
| 6318 | + } |
| 6319 | + }, { |
| 6320 | + "name" : "maxLat", |
| 6321 | + "in" : "query", |
| 6322 | + "schema" : { |
| 6323 | + "format" : "double", |
| 6324 | + "type" : "number" |
| 6325 | + } |
| 6326 | + }, { |
| 6327 | + "name" : "maxLon", |
| 6328 | + "in" : "query", |
| 6329 | + "schema" : { |
| 6330 | + "format" : "double", |
| 6331 | + "type" : "number" |
| 6332 | + } |
| 6333 | + }, { |
| 6334 | + "name" : "minLat", |
| 6335 | + "in" : "query", |
| 6336 | + "schema" : { |
| 6337 | + "format" : "double", |
| 6338 | + "type" : "number" |
| 6339 | + } |
| 6340 | + }, { |
| 6341 | + "name" : "minLon", |
| 6342 | + "in" : "query", |
| 6343 | + "schema" : { |
| 6344 | + "format" : "double", |
| 6345 | + "type" : "number" |
| 6346 | + } |
| 6347 | + }, { |
| 6348 | + "name" : "minVisits", |
| 6349 | + "in" : "query", |
| 6350 | + "schema" : { |
| 6351 | + "format" : "int32", |
| 6352 | + "default" : "1", |
| 6353 | + "type" : "integer" |
| 6354 | + } |
| 6355 | + }, { |
| 6356 | + "name" : "to", |
| 6357 | + "in" : "query", |
| 6358 | + "schema" : { |
| 6359 | + "type" : "string" |
| 6360 | + } |
| 6361 | + } ], |
| 6362 | + "responses" : { |
| 6363 | + "200" : { |
| 6364 | + "description" : "OK" |
| 6365 | + }, |
| 6366 | + "401" : { |
| 6367 | + "description" : "Not Authorized" |
| 6368 | + }, |
| 6369 | + "403" : { |
| 6370 | + "description" : "Not Allowed" |
| 6371 | + } |
| 6372 | + }, |
| 6373 | + "summary" : "Get Map Places", |
| 6374 | + "tags" : [ "Location Analytics Resource" ], |
| 6375 | + "security" : [ { |
| 6376 | + "jwt" : [ ] |
| 6377 | + } ] |
| 6378 | + } |
| 6379 | + }, |
6140 | 6380 | "/api/location-analytics/search" : { |
6141 | 6381 | "get" : { |
6142 | 6382 | "parameters" : [ { |
|
7887 | 8127 | }, |
7888 | 8128 | "info" : { |
7889 | 8129 | "title" : "GeoPulse API", |
7890 | | - "version" : "1.17.0", |
| 8130 | + "version" : "1.18.0", |
7891 | 8131 | "description" : "GeoPulse backend REST API documentation.", |
7892 | 8132 | "contact" : { |
7893 | 8133 | "name" : "tess1o", |
|
0 commit comments