@centia-io/mcp-server 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/centia-api.json CHANGED
@@ -3013,6 +3013,576 @@
3013
3013
  }
3014
3014
  }
3015
3015
  },
3016
+ "/api/v4/ogc/database/{database}": {
3017
+ "get": {
3018
+ "tags": [
3019
+ "Ogc"
3020
+ ],
3021
+ "description": "OGC API landing page for a database (Bearer, HTTP Basic or anonymous).",
3022
+ "operationId": "getOgcLandingPage",
3023
+ "parameters": [
3024
+ {
3025
+ "name": "database",
3026
+ "in": "path",
3027
+ "description": "Database name",
3028
+ "required": true,
3029
+ "schema": {
3030
+ "type": "string"
3031
+ },
3032
+ "example": "my_database"
3033
+ }
3034
+ ],
3035
+ "responses": {
3036
+ "200": {
3037
+ "description": "Landing page with links to conformance, collections and the OpenAPI document"
3038
+ }
3039
+ }
3040
+ }
3041
+ },
3042
+ "/api/v4/ogc/database/{database}/conformance": {
3043
+ "get": {
3044
+ "tags": [
3045
+ "Ogc"
3046
+ ],
3047
+ "description": "Conformance classes implemented by this OGC API.",
3048
+ "operationId": "getOgcConformance",
3049
+ "parameters": [
3050
+ {
3051
+ "name": "database",
3052
+ "in": "path",
3053
+ "description": "Database name",
3054
+ "required": true,
3055
+ "schema": {
3056
+ "type": "string"
3057
+ },
3058
+ "example": "my_database"
3059
+ }
3060
+ ],
3061
+ "responses": {
3062
+ "200": {
3063
+ "description": "conformsTo list"
3064
+ }
3065
+ }
3066
+ }
3067
+ },
3068
+ "/api/v4/ogc/database/{database}/collections": {
3069
+ "get": {
3070
+ "tags": [
3071
+ "Ogc"
3072
+ ],
3073
+ "description": "OWS-enabled layers as OGC API collections (id = schema.table), filtered by the caller's access.",
3074
+ "operationId": "getOgcCollections",
3075
+ "parameters": [
3076
+ {
3077
+ "name": "database",
3078
+ "in": "path",
3079
+ "description": "Database name",
3080
+ "required": true,
3081
+ "schema": {
3082
+ "type": "string"
3083
+ },
3084
+ "example": "my_database"
3085
+ },
3086
+ {
3087
+ "name": "limit",
3088
+ "in": "query",
3089
+ "description": "Page size (default 100, max 1000)",
3090
+ "required": false,
3091
+ "schema": {
3092
+ "type": "integer",
3093
+ "default": 100
3094
+ }
3095
+ },
3096
+ {
3097
+ "name": "offset",
3098
+ "in": "query",
3099
+ "description": "Collections to skip",
3100
+ "required": false,
3101
+ "schema": {
3102
+ "type": "integer",
3103
+ "default": 0
3104
+ }
3105
+ }
3106
+ ],
3107
+ "responses": {
3108
+ "200": {
3109
+ "description": "Collections with extent, crs list and links"
3110
+ }
3111
+ }
3112
+ }
3113
+ },
3114
+ "/api/v4/ogc/database/{database}/collections/{collectionId}": {
3115
+ "get": {
3116
+ "tags": [
3117
+ "Ogc"
3118
+ ],
3119
+ "description": "One collection.",
3120
+ "operationId": "getOgcCollection",
3121
+ "parameters": [
3122
+ {
3123
+ "name": "database",
3124
+ "in": "path",
3125
+ "description": "Database name",
3126
+ "required": true,
3127
+ "schema": {
3128
+ "type": "string"
3129
+ },
3130
+ "example": "my_database"
3131
+ },
3132
+ {
3133
+ "name": "collectionId",
3134
+ "in": "path",
3135
+ "description": "Collection id (schema.table)",
3136
+ "required": true,
3137
+ "schema": {
3138
+ "type": "string"
3139
+ },
3140
+ "example": "my_schema.my_table"
3141
+ }
3142
+ ],
3143
+ "responses": {
3144
+ "200": {
3145
+ "description": "Collection"
3146
+ },
3147
+ "401": {
3148
+ "description": "Read/write collection: credentials required"
3149
+ },
3150
+ "403": {
3151
+ "description": "Read/write collection: insufficient privileges"
3152
+ },
3153
+ "404": {
3154
+ "description": "Unknown collection"
3155
+ }
3156
+ }
3157
+ }
3158
+ },
3159
+ "/api/v4/ogc/database/{database}/map": {
3160
+ "get": {
3161
+ "tags": [
3162
+ "Ogc"
3163
+ ],
3164
+ "description": "Map of several collections (same schema) rendered through the WMS backend with geofence rules and versioning applied.",
3165
+ "operationId": "getOgcDatasetMap",
3166
+ "parameters": [
3167
+ {
3168
+ "name": "database",
3169
+ "in": "path",
3170
+ "description": "Database name",
3171
+ "required": true,
3172
+ "schema": {
3173
+ "type": "string"
3174
+ },
3175
+ "example": "my_database"
3176
+ },
3177
+ {
3178
+ "name": "collections",
3179
+ "in": "query",
3180
+ "description": "Comma-separated collection ids",
3181
+ "required": true,
3182
+ "schema": {
3183
+ "type": "string"
3184
+ },
3185
+ "example": "my_schema.roads,my_schema.buildings"
3186
+ },
3187
+ {
3188
+ "name": "bbox",
3189
+ "in": "query",
3190
+ "description": "minx,miny,maxx,maxy in bbox-crs",
3191
+ "required": false,
3192
+ "schema": {
3193
+ "type": "string"
3194
+ }
3195
+ },
3196
+ {
3197
+ "name": "bbox-crs",
3198
+ "in": "query",
3199
+ "description": "CRS URI of bbox (default CRS84)",
3200
+ "required": false,
3201
+ "schema": {
3202
+ "type": "string"
3203
+ }
3204
+ },
3205
+ {
3206
+ "name": "crs",
3207
+ "in": "query",
3208
+ "description": "Output CRS URI (default CRS84)",
3209
+ "required": false,
3210
+ "schema": {
3211
+ "type": "string"
3212
+ }
3213
+ },
3214
+ {
3215
+ "name": "width",
3216
+ "in": "query",
3217
+ "description": "Image width in pixels (max 16384)",
3218
+ "required": false,
3219
+ "schema": {
3220
+ "type": "integer"
3221
+ }
3222
+ },
3223
+ {
3224
+ "name": "height",
3225
+ "in": "query",
3226
+ "description": "Image height in pixels (max 16384)",
3227
+ "required": false,
3228
+ "schema": {
3229
+ "type": "integer"
3230
+ }
3231
+ },
3232
+ {
3233
+ "name": "f",
3234
+ "in": "query",
3235
+ "description": "png (default) or jpeg",
3236
+ "required": false,
3237
+ "schema": {
3238
+ "type": "string",
3239
+ "enum": [
3240
+ "png",
3241
+ "jpeg"
3242
+ ]
3243
+ }
3244
+ },
3245
+ {
3246
+ "name": "transparent",
3247
+ "in": "query",
3248
+ "description": "Transparent background (default true for png)",
3249
+ "required": false,
3250
+ "schema": {
3251
+ "type": "boolean"
3252
+ }
3253
+ },
3254
+ {
3255
+ "name": "bgcolor",
3256
+ "in": "query",
3257
+ "description": "Background colour 0xRRGGBB",
3258
+ "required": false,
3259
+ "schema": {
3260
+ "type": "string"
3261
+ }
3262
+ },
3263
+ {
3264
+ "name": "datetime",
3265
+ "in": "query",
3266
+ "description": "ISO 8601 instant: render the version valid at that time (versioned layers)",
3267
+ "required": false,
3268
+ "schema": {
3269
+ "type": "string"
3270
+ }
3271
+ }
3272
+ ],
3273
+ "responses": {
3274
+ "200": {
3275
+ "description": "image/png or image/jpeg"
3276
+ }
3277
+ }
3278
+ }
3279
+ },
3280
+ "/api/v4/ogc/database/{database}/collections/{collectionId}/items": {
3281
+ "get": {
3282
+ "tags": [
3283
+ "Ogc"
3284
+ ],
3285
+ "description": "Features of a collection as a GeoJSON FeatureCollection. Geofence rules, versioning and workflow are applied by the WFS engine.",
3286
+ "operationId": "getOgcItems",
3287
+ "parameters": [
3288
+ {
3289
+ "name": "database",
3290
+ "in": "path",
3291
+ "description": "Database name",
3292
+ "required": true,
3293
+ "schema": {
3294
+ "type": "string"
3295
+ },
3296
+ "example": "my_database"
3297
+ },
3298
+ {
3299
+ "name": "collectionId",
3300
+ "in": "path",
3301
+ "description": "Collection id (schema.table)",
3302
+ "required": true,
3303
+ "schema": {
3304
+ "type": "string"
3305
+ },
3306
+ "example": "my_schema.my_table"
3307
+ },
3308
+ {
3309
+ "name": "limit",
3310
+ "in": "query",
3311
+ "description": "Page size (default 10, max 10000)",
3312
+ "required": false,
3313
+ "schema": {
3314
+ "type": "integer",
3315
+ "default": 10
3316
+ }
3317
+ },
3318
+ {
3319
+ "name": "offset",
3320
+ "in": "query",
3321
+ "description": "Features to skip",
3322
+ "required": false,
3323
+ "schema": {
3324
+ "type": "integer",
3325
+ "default": 0
3326
+ }
3327
+ },
3328
+ {
3329
+ "name": "bbox",
3330
+ "in": "query",
3331
+ "description": "minx,miny,maxx,maxy in bbox-crs",
3332
+ "required": false,
3333
+ "schema": {
3334
+ "type": "string"
3335
+ },
3336
+ "example": "9,55,10,56"
3337
+ },
3338
+ {
3339
+ "name": "bbox-crs",
3340
+ "in": "query",
3341
+ "description": "CRS URI of bbox (default CRS84)",
3342
+ "required": false,
3343
+ "schema": {
3344
+ "type": "string"
3345
+ }
3346
+ },
3347
+ {
3348
+ "name": "crs",
3349
+ "in": "query",
3350
+ "description": "Output CRS URI from the collection crs list (default CRS84)",
3351
+ "required": false,
3352
+ "schema": {
3353
+ "type": "string"
3354
+ }
3355
+ },
3356
+ {
3357
+ "name": "datetime",
3358
+ "in": "query",
3359
+ "description": "ISO 8601 instant: the version valid at that time (versioned layers only)",
3360
+ "required": false,
3361
+ "schema": {
3362
+ "type": "string"
3363
+ }
3364
+ }
3365
+ ],
3366
+ "responses": {
3367
+ "200": {
3368
+ "description": "GeoJSON FeatureCollection (application/geo+json) with Content-Crs header"
3369
+ },
3370
+ "400": {
3371
+ "description": "Invalid or unknown parameter"
3372
+ },
3373
+ "401": {
3374
+ "description": "Credentials required for a Read/write layer"
3375
+ },
3376
+ "403": {
3377
+ "description": "Insufficient privileges, or denied by a geofence rule"
3378
+ },
3379
+ "404": {
3380
+ "description": "Unknown collection"
3381
+ }
3382
+ }
3383
+ }
3384
+ },
3385
+ "/api/v4/ogc/database/{database}/collections/{collectionId}/items/{featureId}": {
3386
+ "get": {
3387
+ "tags": [
3388
+ "Ogc"
3389
+ ],
3390
+ "description": "One feature by primary key as a GeoJSON Feature.",
3391
+ "operationId": "getOgcItem",
3392
+ "parameters": [
3393
+ {
3394
+ "name": "database",
3395
+ "in": "path",
3396
+ "description": "Database name",
3397
+ "required": true,
3398
+ "schema": {
3399
+ "type": "string"
3400
+ },
3401
+ "example": "my_database"
3402
+ },
3403
+ {
3404
+ "name": "collectionId",
3405
+ "in": "path",
3406
+ "description": "Collection id (schema.table)",
3407
+ "required": true,
3408
+ "schema": {
3409
+ "type": "string"
3410
+ },
3411
+ "example": "my_schema.my_table"
3412
+ },
3413
+ {
3414
+ "name": "featureId",
3415
+ "in": "path",
3416
+ "description": "Primary key value",
3417
+ "required": true,
3418
+ "schema": {
3419
+ "type": "string"
3420
+ },
3421
+ "example": "1"
3422
+ },
3423
+ {
3424
+ "name": "crs",
3425
+ "in": "query",
3426
+ "description": "Output CRS URI (default CRS84)",
3427
+ "required": false,
3428
+ "schema": {
3429
+ "type": "string"
3430
+ }
3431
+ },
3432
+ {
3433
+ "name": "datetime",
3434
+ "in": "query",
3435
+ "description": "ISO 8601 instant (versioned layers only)",
3436
+ "required": false,
3437
+ "schema": {
3438
+ "type": "string"
3439
+ }
3440
+ }
3441
+ ],
3442
+ "responses": {
3443
+ "200": {
3444
+ "description": "GeoJSON Feature (application/geo+json)"
3445
+ },
3446
+ "404": {
3447
+ "description": "Unknown feature or collection"
3448
+ }
3449
+ }
3450
+ }
3451
+ },
3452
+ "/api/v4/ogc/database/{database}/collections/{collectionId}/map": {
3453
+ "get": {
3454
+ "tags": [
3455
+ "Ogc"
3456
+ ],
3457
+ "description": "Map of one collection rendered by the WMS backend; geofence rules and versioning (datetime) are applied.",
3458
+ "operationId": "getOgcCollectionMap",
3459
+ "parameters": [
3460
+ {
3461
+ "name": "database",
3462
+ "in": "path",
3463
+ "description": "Database name",
3464
+ "required": true,
3465
+ "schema": {
3466
+ "type": "string"
3467
+ },
3468
+ "example": "my_database"
3469
+ },
3470
+ {
3471
+ "name": "collectionId",
3472
+ "in": "path",
3473
+ "description": "Collection id (schema.table)",
3474
+ "required": true,
3475
+ "schema": {
3476
+ "type": "string"
3477
+ },
3478
+ "example": "my_schema.my_table"
3479
+ },
3480
+ {
3481
+ "name": "bbox",
3482
+ "in": "query",
3483
+ "description": "minx,miny,maxx,maxy in bbox-crs (default: the collection extent)",
3484
+ "required": false,
3485
+ "schema": {
3486
+ "type": "string"
3487
+ },
3488
+ "example": "9,55,10,56"
3489
+ },
3490
+ {
3491
+ "name": "bbox-crs",
3492
+ "in": "query",
3493
+ "description": "CRS URI of bbox (default CRS84)",
3494
+ "required": false,
3495
+ "schema": {
3496
+ "type": "string"
3497
+ }
3498
+ },
3499
+ {
3500
+ "name": "crs",
3501
+ "in": "query",
3502
+ "description": "Output CRS URI from the collection crs list (default CRS84)",
3503
+ "required": false,
3504
+ "schema": {
3505
+ "type": "string"
3506
+ }
3507
+ },
3508
+ {
3509
+ "name": "width",
3510
+ "in": "query",
3511
+ "description": "Image width in pixels (max 16384; default 1024 or from the aspect ratio)",
3512
+ "required": false,
3513
+ "schema": {
3514
+ "type": "integer"
3515
+ }
3516
+ },
3517
+ {
3518
+ "name": "height",
3519
+ "in": "query",
3520
+ "description": "Image height in pixels (max 16384; default from the aspect ratio)",
3521
+ "required": false,
3522
+ "schema": {
3523
+ "type": "integer"
3524
+ }
3525
+ },
3526
+ {
3527
+ "name": "f",
3528
+ "in": "query",
3529
+ "description": "png (default) or jpeg",
3530
+ "required": false,
3531
+ "schema": {
3532
+ "type": "string",
3533
+ "enum": [
3534
+ "png",
3535
+ "jpeg"
3536
+ ]
3537
+ }
3538
+ },
3539
+ {
3540
+ "name": "transparent",
3541
+ "in": "query",
3542
+ "description": "Transparent background (default true for png, false for jpeg)",
3543
+ "required": false,
3544
+ "schema": {
3545
+ "type": "boolean"
3546
+ }
3547
+ },
3548
+ {
3549
+ "name": "bgcolor",
3550
+ "in": "query",
3551
+ "description": "Background colour 0xRRGGBB",
3552
+ "required": false,
3553
+ "schema": {
3554
+ "type": "string"
3555
+ }
3556
+ },
3557
+ {
3558
+ "name": "datetime",
3559
+ "in": "query",
3560
+ "description": "ISO 8601 instant: render the version valid at that time (versioned layers only)",
3561
+ "required": false,
3562
+ "schema": {
3563
+ "type": "string"
3564
+ }
3565
+ }
3566
+ ],
3567
+ "responses": {
3568
+ "200": {
3569
+ "description": "image/png or image/jpeg"
3570
+ },
3571
+ "400": {
3572
+ "description": "Invalid or unknown parameter"
3573
+ },
3574
+ "401": {
3575
+ "description": "Credentials required for a Read/write layer"
3576
+ },
3577
+ "403": {
3578
+ "description": "Insufficient privileges, or denied by a geofence rule"
3579
+ },
3580
+ "404": {
3581
+ "description": "Unknown collection"
3582
+ }
3583
+ }
3584
+ }
3585
+ },
3016
3586
  "/api/v4/ows/schema/{schema}/database/{database}": {
3017
3587
  "get": {
3018
3588
  "tags": [
@@ -3402,6 +3972,82 @@
3402
3972
  }
3403
3973
  }
3404
3974
  },
3975
+ "/api/v4/schemas/{schema}/tables/{table}/search": {
3976
+ "get": {
3977
+ "tags": [
3978
+ "Search"
3979
+ ],
3980
+ "description": "Search the table's OpenSearch index. Query string or body is passed to OpenSearch _search unaltered.",
3981
+ "operationId": "search",
3982
+ "responses": {
3983
+ "200": {
3984
+ "description": "OpenSearch response"
3985
+ }
3986
+ }
3987
+ },
3988
+ "put": {
3989
+ "tags": [
3990
+ "Search"
3991
+ ],
3992
+ "description": "(Re)build the OpenSearch index from the table/view. Owner/superuser only.",
3993
+ "operationId": "buildSearchIndex",
3994
+ "responses": {
3995
+ "200": {
3996
+ "description": "Index built"
3997
+ }
3998
+ }
3999
+ },
4000
+ "post": {
4001
+ "tags": [
4002
+ "Search"
4003
+ ],
4004
+ "description": "Search with an OpenSearch query DSL body.",
4005
+ "operationId": "searchPost",
4006
+ "responses": {
4007
+ "200": {
4008
+ "description": "OpenSearch response"
4009
+ }
4010
+ }
4011
+ },
4012
+ "delete": {
4013
+ "tags": [
4014
+ "Search"
4015
+ ],
4016
+ "description": "Drop the OpenSearch index. Owner/superuser only.",
4017
+ "operationId": "dropSearchIndex",
4018
+ "responses": {
4019
+ "200": {
4020
+ "description": "Index dropped"
4021
+ }
4022
+ }
4023
+ }
4024
+ },
4025
+ "/api/v4/search/settings": {
4026
+ "get": {
4027
+ "tags": [
4028
+ "Search"
4029
+ ],
4030
+ "description": "Get the per-database OpenSearch analysis block (the default when none is set).",
4031
+ "operationId": "getSearchSettings",
4032
+ "responses": {
4033
+ "200": {
4034
+ "description": "The analysis block"
4035
+ }
4036
+ }
4037
+ },
4038
+ "put": {
4039
+ "tags": [
4040
+ "Search"
4041
+ ],
4042
+ "description": "Set the per-database OpenSearch analysis block. Applies to indexes built after this call.",
4043
+ "operationId": "putSearchSettings",
4044
+ "responses": {
4045
+ "200": {
4046
+ "description": "Saved"
4047
+ }
4048
+ }
4049
+ }
4050
+ },
3405
4051
  "/api/v4/schemas/{schema}/sequences/{sequence}": {
3406
4052
  "get": {
3407
4053
  "tags": [
@@ -6010,6 +6656,10 @@
6010
6656
  },
6011
6657
  "type": "object"
6012
6658
  }
6659
+ },
6660
+ "elasticsearch": {
6661
+ "description": "Per-column Elasticsearch/OpenSearch mapping config (elasticsearchtype/analyzer/search_analyzer per column). Consumed when the Search API (re)builds the index.",
6662
+ "type": "object"
6013
6663
  }
6014
6664
  },
6015
6665
  "type": "object"
@@ -7065,6 +7715,10 @@
7065
7715
  "name": "OAuth",
7066
7716
  "description": "OAuth"
7067
7717
  },
7718
+ {
7719
+ "name": "Ogc",
7720
+ "description": "Ogc"
7721
+ },
7068
7722
  {
7069
7723
  "name": "Ows",
7070
7724
  "description": "Ows"
@@ -7073,6 +7727,10 @@
7073
7727
  "name": "Privileges",
7074
7728
  "description": "Privileges"
7075
7729
  },
7730
+ {
7731
+ "name": "Search",
7732
+ "description": "Search"
7733
+ },
7076
7734
  {
7077
7735
  "name": "Sql",
7078
7736
  "description": "Sql"