Create layerAsk AIpost https://api.jmapcloud.io/api/mcs/rest/v1/organizations/{organization}/projects/{project}/layersRole required ORG_EDITORPath ParamsorganizationstringrequiredThe id of the organizationprojectstringrequiredThe id of the projectBody ParamsactionstringCan be clone, reference or unspecified. If clone or reference, projectId and layerId are required.allowClientSideEditingbooleanApplies to types VECTORtruefalseattributesarray of objectsApplies to types VECTOR and OGC_API_FEATURESattributesADD objectbaseFilterobjectApplies to types VECTORbaseFilter objectdescriptionobjectKey is a locale (en, fr or es)description objectelementTypestringenumApplies to types VECTOR and OGC_API_FEATURES – requiredPOINTPOINTLINEPOLYGONTEXTIMAGEAllowed:POINTLINEPOLYGONTEXTIMAGEgeneralizationLevelstringenumApplies to types VECTORHIGHMEDIUMLOWNONEAllowed:HIGHMEDIUMLOWNONEimageFormatstringApplies to types WMS and WMTS – requiredlabellingConfigurationobjectApplies to types VECTOR and OGC_API_FEATURESlabellingConfiguration objectlayerstringApplies to type WMTS – required – The layer name from the GetCapabilitieslayerIdstringApplies if action is clone or reference. The ID of the layer to clone or reference.layersarray of stringsApplies to type WMS – required – The layer name(s) from the GetCapabilitieslayersADD stringlistedbooleantruefalsemaximumZoomfloat0 to 23minimumZoomfloat0 to 23mouseOverConfigurationobjectApplies to types VECTOR, WMS, WMTS and OGC_API_FEATURESmouseOverConfiguration objectnameobjectKey is a locale (en, fr or es)name objectprojectIdstringApplies if action is clone or reference. The ID of the project containing the layer to clone or reference.rotationAttributestringApplies to types VECTOR and OGC_API_FEATURES – The name of the attribute to use for symbol rotation. The attribute must be of numeric type and exist in the specified attributes.rotationDirectionstringenumApplies to types VECTOR and OGC_API_FEATURESCWCCWAllowed:CWCCWselectablebooleanApplies to types VECTOR and OGC_API_FEATUREStruefalseselectionStyleIdstringApplies to types VECTOR and OGC_API_FEATURES – The ID of the style to use for feature selection. The style must exist in the project styles and be compatible with the layer element type. A default style will be created if not specified.spatialDataSourceIduuidstylestringApplies to type WMTS – required – The style name from the GetCapabilities of the specified layerstylesarray of stringsApplies to type WMS – required – The style name(s) from the GetCapabilities of the specified layersstylesADD stringtagsarray of stringstagsADD stringtypestringenumVECTORRASTEROGC_API_FEATURESWMSWMTSAllowed:VECTORRASTEROGC_API_FEATURESWMSWMTSvisiblebooleantruefalseResponses 201Successfully created layer 400Parameter(s) has not a good data format 401You are not authorized to view the resource 403Accessing the resource you were trying to reach is forbidden 404The resource you were trying to reach is not found 500The server encounters an unexpected internal errorUpdated about 1 month ago