@centia-io/mcp-server 1.0.14 → 1.0.15
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 +277 -0
- package/package.json +1 -1
package/centia-api.json
CHANGED
|
@@ -791,6 +791,246 @@
|
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
793
|
},
|
|
794
|
+
"/api/v4/schemas/{schema}/tables/{table}/features/{feature}": {
|
|
795
|
+
"get": {
|
|
796
|
+
"tags": [
|
|
797
|
+
"Feature"
|
|
798
|
+
],
|
|
799
|
+
"description": "Get one or more features as GeoJSON by primary key. Pass a single key or a comma-separated list (e.g. 1,2,3). Read auth, geofence rules and versioning filters are applied by the WFS engine.",
|
|
800
|
+
"operationId": "getFeature",
|
|
801
|
+
"parameters": [
|
|
802
|
+
{
|
|
803
|
+
"name": "schema",
|
|
804
|
+
"in": "path",
|
|
805
|
+
"description": "Schema name",
|
|
806
|
+
"required": true,
|
|
807
|
+
"schema": {
|
|
808
|
+
"type": "string"
|
|
809
|
+
},
|
|
810
|
+
"example": "my_schema"
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"name": "table",
|
|
814
|
+
"in": "path",
|
|
815
|
+
"description": "Table name",
|
|
816
|
+
"required": true,
|
|
817
|
+
"schema": {
|
|
818
|
+
"type": "string"
|
|
819
|
+
},
|
|
820
|
+
"example": "my_table"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "feature",
|
|
824
|
+
"in": "path",
|
|
825
|
+
"description": "Primary key value, or a comma-separated list of values (e.g. 1,2,3)",
|
|
826
|
+
"required": true,
|
|
827
|
+
"schema": {
|
|
828
|
+
"type": "string"
|
|
829
|
+
},
|
|
830
|
+
"example": "1,2"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"name": "srs",
|
|
834
|
+
"in": "query",
|
|
835
|
+
"description": "Output EPSG code (SRID) of the GeoJSON geometry. Defaults to 4326.",
|
|
836
|
+
"required": false,
|
|
837
|
+
"schema": {
|
|
838
|
+
"type": "integer",
|
|
839
|
+
"default": 4326
|
|
840
|
+
},
|
|
841
|
+
"example": 25832
|
|
842
|
+
}
|
|
843
|
+
],
|
|
844
|
+
"responses": {
|
|
845
|
+
"200": {
|
|
846
|
+
"description": "A GeoJSON Feature for a single match, or a FeatureCollection for several"
|
|
847
|
+
},
|
|
848
|
+
"404": {
|
|
849
|
+
"description": "No features found"
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
"delete": {
|
|
854
|
+
"tags": [
|
|
855
|
+
"Feature"
|
|
856
|
+
],
|
|
857
|
+
"description": "Delete a single feature by its primary key through a WFS-T transaction.",
|
|
858
|
+
"operationId": "deleteFeature",
|
|
859
|
+
"parameters": [
|
|
860
|
+
{
|
|
861
|
+
"name": "schema",
|
|
862
|
+
"in": "path",
|
|
863
|
+
"description": "Schema name",
|
|
864
|
+
"required": true,
|
|
865
|
+
"schema": {
|
|
866
|
+
"type": "string"
|
|
867
|
+
},
|
|
868
|
+
"example": "my_schema"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "table",
|
|
872
|
+
"in": "path",
|
|
873
|
+
"description": "Table name",
|
|
874
|
+
"required": true,
|
|
875
|
+
"schema": {
|
|
876
|
+
"type": "string"
|
|
877
|
+
},
|
|
878
|
+
"example": "my_table"
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"name": "feature",
|
|
882
|
+
"in": "path",
|
|
883
|
+
"description": "Primary key value of the feature",
|
|
884
|
+
"required": true,
|
|
885
|
+
"schema": {
|
|
886
|
+
"type": "string"
|
|
887
|
+
},
|
|
888
|
+
"example": "1"
|
|
889
|
+
}
|
|
890
|
+
],
|
|
891
|
+
"responses": {
|
|
892
|
+
"204": {
|
|
893
|
+
"description": "Deleted"
|
|
894
|
+
},
|
|
895
|
+
"404": {
|
|
896
|
+
"description": "Feature not found"
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
"patch": {
|
|
901
|
+
"tags": [
|
|
902
|
+
"Feature"
|
|
903
|
+
],
|
|
904
|
+
"description": "Update features from a GeoJSON Feature or FeatureCollection through a WFS-T transaction. Each feature must carry its primary-key value in properties.",
|
|
905
|
+
"operationId": "patchFeature",
|
|
906
|
+
"parameters": [
|
|
907
|
+
{
|
|
908
|
+
"name": "schema",
|
|
909
|
+
"in": "path",
|
|
910
|
+
"description": "Schema name",
|
|
911
|
+
"required": true,
|
|
912
|
+
"schema": {
|
|
913
|
+
"type": "string"
|
|
914
|
+
},
|
|
915
|
+
"example": "my_schema"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"name": "table",
|
|
919
|
+
"in": "path",
|
|
920
|
+
"description": "Table name",
|
|
921
|
+
"required": true,
|
|
922
|
+
"schema": {
|
|
923
|
+
"type": "string"
|
|
924
|
+
},
|
|
925
|
+
"example": "my_table"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "feature",
|
|
929
|
+
"in": "path",
|
|
930
|
+
"description": "Primary key value. Optional — when omitted, each feature must carry its key in properties.",
|
|
931
|
+
"required": false,
|
|
932
|
+
"schema": {
|
|
933
|
+
"type": "string"
|
|
934
|
+
},
|
|
935
|
+
"example": "1"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"name": "srs",
|
|
939
|
+
"in": "query",
|
|
940
|
+
"description": "EPSG code (SRID) of the incoming GeoJSON geometry. Defaults to 4326.",
|
|
941
|
+
"required": false,
|
|
942
|
+
"schema": {
|
|
943
|
+
"type": "integer",
|
|
944
|
+
"default": 4326
|
|
945
|
+
},
|
|
946
|
+
"example": 25832
|
|
947
|
+
}
|
|
948
|
+
],
|
|
949
|
+
"requestBody": {
|
|
950
|
+
"description": "GeoJSON Feature or FeatureCollection.",
|
|
951
|
+
"required": true,
|
|
952
|
+
"content": {
|
|
953
|
+
"application/json": {
|
|
954
|
+
"schema": {
|
|
955
|
+
"$ref": "#/components/schemas/Feature"
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"responses": {
|
|
961
|
+
"303": {
|
|
962
|
+
"description": "Updated. Location header points at the feature(s)."
|
|
963
|
+
},
|
|
964
|
+
"400": {
|
|
965
|
+
"description": "Bad request"
|
|
966
|
+
},
|
|
967
|
+
"404": {
|
|
968
|
+
"description": "Feature not found"
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
"/api/v4/schemas/{schema}/tables/{table}/features": {
|
|
974
|
+
"post": {
|
|
975
|
+
"tags": [
|
|
976
|
+
"Feature"
|
|
977
|
+
],
|
|
978
|
+
"description": "Insert features from a GeoJSON Feature or FeatureCollection through a WFS-T transaction. A primary-key value in properties is used as the new key; otherwise one is generated.",
|
|
979
|
+
"operationId": "postFeature",
|
|
980
|
+
"parameters": [
|
|
981
|
+
{
|
|
982
|
+
"name": "schema",
|
|
983
|
+
"in": "path",
|
|
984
|
+
"description": "Schema name",
|
|
985
|
+
"required": true,
|
|
986
|
+
"schema": {
|
|
987
|
+
"type": "string"
|
|
988
|
+
},
|
|
989
|
+
"example": "my_schema"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"name": "table",
|
|
993
|
+
"in": "path",
|
|
994
|
+
"description": "Table name",
|
|
995
|
+
"required": true,
|
|
996
|
+
"schema": {
|
|
997
|
+
"type": "string"
|
|
998
|
+
},
|
|
999
|
+
"example": "my_table"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "srs",
|
|
1003
|
+
"in": "query",
|
|
1004
|
+
"description": "EPSG code (SRID) of the incoming GeoJSON geometry. Defaults to 4326.",
|
|
1005
|
+
"required": false,
|
|
1006
|
+
"schema": {
|
|
1007
|
+
"type": "integer",
|
|
1008
|
+
"default": 4326
|
|
1009
|
+
},
|
|
1010
|
+
"example": 25832
|
|
1011
|
+
}
|
|
1012
|
+
],
|
|
1013
|
+
"requestBody": {
|
|
1014
|
+
"description": "GeoJSON Feature or FeatureCollection.",
|
|
1015
|
+
"required": true,
|
|
1016
|
+
"content": {
|
|
1017
|
+
"application/json": {
|
|
1018
|
+
"schema": {
|
|
1019
|
+
"$ref": "#/components/schemas/Feature"
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
"responses": {
|
|
1025
|
+
"201": {
|
|
1026
|
+
"description": "Created. Location header points at the new feature(s)."
|
|
1027
|
+
},
|
|
1028
|
+
"400": {
|
|
1029
|
+
"description": "Bad request"
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
794
1034
|
"/api/v4/file/upload": {
|
|
795
1035
|
"post": {
|
|
796
1036
|
"tags": [
|
|
@@ -4789,6 +5029,39 @@
|
|
|
4789
5029
|
},
|
|
4790
5030
|
"type": "object"
|
|
4791
5031
|
},
|
|
5032
|
+
"Feature": {
|
|
5033
|
+
"description": "A GeoJSON Feature or FeatureCollection.",
|
|
5034
|
+
"required": [
|
|
5035
|
+
"type"
|
|
5036
|
+
],
|
|
5037
|
+
"properties": {
|
|
5038
|
+
"type": {
|
|
5039
|
+
"title": "Type",
|
|
5040
|
+
"description": "'Feature' or 'FeatureCollection'.",
|
|
5041
|
+
"type": "string",
|
|
5042
|
+
"example": "FeatureCollection"
|
|
5043
|
+
},
|
|
5044
|
+
"features": {
|
|
5045
|
+
"title": "Features",
|
|
5046
|
+
"description": "The features (FeatureCollection only).",
|
|
5047
|
+
"type": "array",
|
|
5048
|
+
"items": {
|
|
5049
|
+
"type": "object"
|
|
5050
|
+
}
|
|
5051
|
+
},
|
|
5052
|
+
"properties": {
|
|
5053
|
+
"title": "Properties",
|
|
5054
|
+
"description": "Feature properties (Feature only).",
|
|
5055
|
+
"type": "object"
|
|
5056
|
+
},
|
|
5057
|
+
"geometry": {
|
|
5058
|
+
"title": "Geometry",
|
|
5059
|
+
"description": "GeoJSON geometry (Feature only).",
|
|
5060
|
+
"type": "object"
|
|
5061
|
+
}
|
|
5062
|
+
},
|
|
5063
|
+
"type": "object"
|
|
5064
|
+
},
|
|
4792
5065
|
"FileProcessRequest": {
|
|
4793
5066
|
"description": "Upload files to temporary storage and then import them into database tables.",
|
|
4794
5067
|
"required": [
|
|
@@ -6748,6 +7021,10 @@
|
|
|
6748
7021
|
"name": "Events",
|
|
6749
7022
|
"description": "Events"
|
|
6750
7023
|
},
|
|
7024
|
+
{
|
|
7025
|
+
"name": "Feature",
|
|
7026
|
+
"description": "Feature"
|
|
7027
|
+
},
|
|
6751
7028
|
{
|
|
6752
7029
|
"name": "File",
|
|
6753
7030
|
"description": "File"
|