Add vector layer
Description
Adds a layer to a vector block.
Endpoint
/path/{pathId}/vector/layer
Method
POST

Access Level Rules

Access Level
edit+

Processing Units

Processing units
1

Parameters

Name
Description
Required
Default
pathId
The id of the vector block.
true
​
name
The name of the layer to add.
true
​
properties
  • An array of objects containing the properties of the layer.
  • Each object must contain the properties 'name', 'type', 'required' and 'private', where 'name' is the name of the property and must be of type string, 'type' is the type of the property and must be one of 'string', 'integer', 'float', 'boolean' or 'date', 'required' determines whether the property must have a value and must be of type boolean and 'private' determines if the property is visible to users with a low access level and must also be of type boolean.
false
Default null.
description
The description of the layer as string.
false
Default null.