Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

_

_

Started state

login

Log in as a user with correct credentials.

Parameter nameTypeOptionalityDescriptionConstraints

email

string
Status
colourGreen
titleOPTIONAL
your email accountstored in credentials file
passwordstring
Status
colourGreen
titleOPTIONAL
your passwordstored in credentials file
accessTokenstring
Status
colourGreen
titleOPTIONAL

generated CleverMaps access token

(see how to get one)

stored in config file
serverstring
Status
colourGreen
titleOPTIONAL

server to connect to

default = https://secure.clevermaps.io

stored in config file
proxyHoststring
Status
colourGreen
titleOPTIONAL

proxy server hostname

stored in config file
proxyPortinteger
Status
colourGreen
titleOPTIONAL
proxy server portstored in config file
s3AccessKeyIdstring
Status
colourGreen
titleOPTIONAL

AWS S3 Access Key ID

required for S3 upload (loadCsv --s3Uri)

stored in config file
s3SecretAccessKeystring
Status
colourGreen
titleOPTIONAL

AWS S3 Secret Access Key

required for S3 upload (loadCsv --s3Uri)

stored in config file

setup

...

Parameter nameTypeOptionalityDescriptionConstraints

email

string
Status
colourGreen
titleOPTIONAL
your email accountstored in credentials file
passwordstring
Status
colourGreen
titleOPTIONAL
your passwordstored in credentials file
accessTokenstring
Status
colourGreen
titleOPTIONAL

generated CleverMaps access token

(see how to get one)

stored in config file
serverstring
Status
colourGreen
titleOPTIONAL

server to connect to

stored in config file
dumpDirectorystring
Status
colourGreen
titleOPTIONAL
directory where your dumps will be storedstored in config file
proxyHoststring
Status
colourGreen
titleOPTIONAL

proxy server hostname

stored in config file
proxyPortinteger
Status
colourGreen
titleOPTIONAL
proxy server portstored in config file
s3AccessKeyIdstring
Status
colourGreen
titleOPTIONAL

AWS S3 Access Key ID

required for S3 upload (loadCsv --s3Uri)

stored in config file
s3SecretAccessKeystring
Status
colourGreen
titleOPTIONAL

AWS S3 Secret Access Key

required for S3 upload (loadCsv --s3Uri)

stored in config file

Connected to server

...

Please note that your AWS S3 Access Key ID and Secret Access Key must be set using setup command first.

Code Block
themeMidnight
titleLoad CSV from AWS S3
loadCsv --dataset orders --mode full --s3Uri s3://my-company/data/orders.csv --verbose

...

Opened dump

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.

...

Parameter nameTypeOptionalityDescriptionConstraints
objectNamestring
Status
colourGreen
titleOPTIONAL
name of the object (with or without .json extension)


Info
titleUpdating existing metadata objects

When modifying already added (uploaded) metadata objects use pushProject command for uploading modified objects to the project.

createMetadata

Create a new metadata object.

...