...
AnchoraddMetadataAnchor addMetadataAnchor
Anchor | ||||
---|---|---|---|---|
|
addMetadata
Add a new metadata object and upload it to the project. The file must be located in a currently opened dump, and in the correct directory.
...
AnchorcreateMetadataAnchor createMetadataAnchor
Anchor | ||||
---|---|---|---|---|
|
createMetadata
Create a new metadata object.
At this moment, only dataset type is supported. Datasets are generated from a provided CSV file.
Parameter name | Type | Optionality | Description | Constraints | ||||||
---|---|---|---|---|---|---|---|---|---|---|
type | enum |
| type of the object to create |
| ||||||
objectName | string |
| current name of the object (with or without .json extension)to create | |||||||
subtype | enum |
| name of the object copy (with or without .json extension) required only for | [basic, geometryPoint, geometryPolygon] | ||||||
file | string |
| path to the CSV file (located either in dump, or anywhere in the file system) required only for | |||||||
primaryKey | string |
| name of the CSV column that will be marked as primary keyif not specified, first CSV column is selected required only for | |||||||
geometry | string |
| name of the required only for | |||||||
csvSeparator | char |
| specifies custom the CSV column separator character default = | |||||||
csvQuote | char |
| specifies custom the CSV column quote character default = | |||||||
csvEscape | char |
| specifies custom CSV column escape character default = |
...
Parameter name | Type | Optionality | Description | Constraints | ||||||
---|---|---|---|---|---|---|---|---|---|---|
objectName | string |
| name of the object (with or without .json extension) one of | |||||||
objectId | string |
| id ID of the object | |||||||
orphanObjects | boolean |
| prints a list sequence of orphan object is an object not referenced from any of the project's views, or visible anywhere else in the app |
AnchorrenameMetadataAnchor renameMetadataAnchor
Anchor | ||||
---|---|---|---|---|
|
renameMetadata
Rename an a metadata object in a local dump and on the server. If the object is referenced in some other objects by URI (/rest/projects/$projectId/md/{objectType}?name=
), the references will be renamed as well.
...
Parameter name | Type | Optionality | Description | Constraints | ||||||
---|---|---|---|---|---|---|---|---|---|---|
skipMetadata | boolean |
| skip metadata push default = false | |||||||
skipData | boolean |
| skip data push default = false | |||||||
skipValidate | boolean |
| skip the run of default = false | |||||||
force | boolean |
| force metadata push when there's a share breaking change default = false | |||||||
verbose | boolean |
| enables more verbose output default = false | |||||||
multipart | boolean |
| enables multipart file upload (recommended for files larger than 2 GB) default = truefalse | |||||||
gzip | boolean |
| enables gzip compression default = true |
...
This command detects files which have been locally or remotely changed, and also detects files which have a syntax error or constraint violations.
When --remote
is used command only displays metadata content on the server.
Parameter name | Type | Optionality | Description | Constraints | ||||||
---|---|---|---|---|---|---|---|---|---|---|
remote | -boolean |
| list metadata contentscontent on the server default = false |
AnchorapplyDiffAnchor applyDiffAnchor
Anchor | ||||
---|---|---|---|---|
|
...
Parameter name | Type | Optionality | Description | Constraints | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
sourceProject | string |
| id Project ID of the source project | |||||||||
objectTypes | stringarray |
| list of object types to be compared example = |
...