Subscribe to the 'new map' event.
GET/maps/events/new
This endpoint allows clients to subscribe to server-sent events (SSE) that notify them when a new map is added to the inventory. The response includes detailed information about the new map.
Request
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
-
typeis the specific error type (e.g.,ClientError,InternalServerError). -
msgis the associated error message (a string). - MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
- MOD7
- MOD8
- MOD9
- MOD10
- MOD11
- MOD12
- MOD13
- MOD14
- MOD15
- MOD16
error
object
nullable
Represents various types of errors that can occur in the application.
When serialized, it will be represented in the following format:
{
"type": "ErrorType",
"msg": "ErrorMessage"
}
Where:
oneOf
Possible values: [ClientError]
Possible values: [InternetConnectionError]
Possible values: [UnauthorizedError]
Possible values: [InternalServerError]
Possible values: [MissingDataError]
Possible values: [ParsingFailedError]
Possible values: [WritingDataError]
Possible values: [ForbiddenError]
Possible values: [NotAllowedError]
Possible values: [ValidationError]
Possible values: [SQLError]
Possible values: [StorageLimitExceededError]
Possible values: [StorageUnavailable]
Possible values: [ConflictError]
Possible values: [MatomoError]
Possible values: [ProcessInterrupted]
The filename associated with the map, if available.
This field includes the name of the file, optionally without its extension.
It can be None if the filename is unavailable or unspecified.
Name of the map or the inventory item.
Request ID associated with the map inventory.
Optional: The date when the map is made available for use, if applicable.
Optional: start date of imaging for the map, if applicable.
Optional: end date of imaging for the map, if applicable.
Footprint of the map, usually represented as a string.
Paths to the .gpkg and .json files on the filesystem.
{
"error": {
"msg": "string",
"type": "ClientError"
},
"fileName": "string",
"name": "string",
"reqId": "string",
"availabilityDate": "2026-01-01T11:09:05.994Z",
"beginImagingDate": "2026-01-01T11:09:05.994Z",
"endImagingDate": "2026-01-01T11:09:05.994Z",
"footprint": "string",
"paths": [
"string"
]
}