c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

okay so this is the c8y(1) manual, bestie โ€” specifically the page for c8y-currentapplication-update, and itโ€™s giving โ€œsmall command, important jobโ€ energy ๐Ÿ’…

๐ŸŒธ NAME ๐ŸŒธ

c8y-currentapplication-update โ€” update current application. thatโ€™s the whole name, no notes โœจ

โœจ SYNOPSIS โœจ

c8y currentapplication update [flags]

๐Ÿ’– DESCRIPTION ๐Ÿ’–

okay so real talk: this one requires authentication with the bootstrap user. literally required, no cap ๐Ÿ”

๐ŸŽ€ OPTIONS ๐ŸŽ€

  • --availability="" โ€” the application will be applied to this type of documents; possible values are [ALARM, AUDIT, EVENT, MEASUREMENT, OPERATION, *] ๐Ÿ’ซ
  • --contextPath="" โ€” contextPath of the hosted application ๐Ÿ›ค๏ธ
  • -d, --data=[] โ€” static data to be applied to body. accepts json or shorthand json, i.e. --data 'value1=1,my.nested.value=100' ๐Ÿงƒ
  • --externalUrl="" โ€” URL to the external application ๐ŸŒ
  • -h, --help[=false] โ€” help for update ๐Ÿซถ
  • --key="" โ€” Shared secret of application ๐Ÿ”‘
  • --name="" โ€” Name of application ๐Ÿท๏ธ
  • --processingMode="" โ€” Cumulocity processing mode โš™๏ธ
  • --resourcesPassword="" โ€” authorization password to access resourcesUrl ๐Ÿ”’
  • --resourcesUrl="" โ€” URL to application base directory hosted on an external server ๐Ÿ“
  • --resourcesUsername="" โ€” authorization username to access resourcesUrl ๐Ÿ‘ค
  • --template="" โ€” Body template ๐Ÿงฉ
  • --templateVars=[] โ€” Body template variables ๐Ÿช„

๐Ÿฆ‹ OPTIONS INHERITED FROM PARENT COMMANDS ๐Ÿฆ‹

  • --abortOnErrors=10 โ€” abort batch when reaching specified number of errors ๐Ÿ›‘
  • --allowEmptyPipe[=false] โ€” don't fail when piped input is empty (stdin) ๐Ÿซง
  • --cache[=false] โ€” enable cached responses ๐Ÿ—ƒ๏ธ
  • --cacheBodyPaths=[] โ€” cache should limit hashing of selected paths in the json body. empty indicates all values ๐Ÿง 
  • --cacheTTL="60s" โ€” cache time-to-live (TTL) as a duration, i.e. 60s, 2m โณ
  • -c, --compact[=false] โ€” compact instead of pretty-printed output when using json output. pretty print is the default if output is the terminal ๐Ÿชž
  • --confirm[=false] โ€” prompt for confirmation ๐Ÿ™‹โ€โ™€๏ธ
  • --confirmText="" โ€” custom confirmation text ๐Ÿ’ฌ
  • --currentPage=0 โ€” current page which should be returned ๐Ÿ“„
  • --customQueryParam=[] โ€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue' ๐Ÿ”—
  • --debug[=false] โ€” set very verbose log messages ๐Ÿชต
  • --delay="0ms" โ€” delay after each request, i.e. 5ms, 1.2s โฑ๏ธ
  • --delayBefore="0ms" โ€” delay before each request, i.e. 5ms, 1.2s โฒ๏ธ
  • --dry[=false] โ€” dry run. don't send any data to the server ๐Ÿงช
  • --dryFormat="markdown" โ€” dry run output format. i.e. json, dump, markdown or curl ๐Ÿ“
  • --examples[=false] โ€” show examples for the current command ๐ŸŽฌ
  • --filter=[] โ€” apply a client side filter to response before returning it to the user ๐Ÿงผ
  • --flatten[=false] โ€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation ๐Ÿชบ
  • -f, --force[=false] โ€” do not prompt for confirmation. ignored when using --confirm ๐Ÿ’ฅ
  • -H, --header=[] โ€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue" ๐Ÿ“จ
  • --includeAll[=false] โ€” include all results by iterating through each page ๐Ÿ“š
  • -k, --insecure[=false] โ€” allow insecure server connections when using SSL ๐Ÿšจ
  • -l, --logMessage="" โ€” add custom message to the activity log ๐Ÿชต
  • --maxJobs=0 โ€” maximum number of jobs. 0 = unlimited (use with caution!) โš ๏ธ
  • --noAccept[=false] โ€” ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect ๐Ÿšซ
  • --noCache[=false] โ€” force disabling of cached responses (overwrites cache setting) ๐ŸงŠ
  • -M, --noColor[=false] โ€” don't use colors when displaying log entries on the console ๐ŸŽจ
  • --noLog[=false] โ€” disables the activity log for the current command ๐Ÿšซ
  • --noProgress[=false] โ€” disable progress bars ๐Ÿ“‰
  • --noProxy[=false] โ€” ignore the proxy settings ๐Ÿ•ณ๏ธ
  • -n, --nullInput[=false] โ€” don't read the input (stdin). useful if using in shell for/while loops ๐Ÿ”
  • -o, --output="table" โ€” output format i.e. table, json, csv, csvheader ๐Ÿ“Š
  • --outputFile="" โ€” save JSON output to file (after select/view) ๐Ÿ’พ
  • --outputFileRaw="" โ€” save raw response to file (before select/view) ๐Ÿ—„๏ธ
  • --outputTemplate="" โ€” jsonnet template to apply to the output ๐Ÿงฌ
  • -p, --pageSize=5 โ€” maximum results per page ๐Ÿ“‘
  • --progress[=false] โ€” show progress bar. this will also disable any other verbose output ๐Ÿ“ˆ
  • --proxy="" โ€” proxy setting, i.e. http://10.0.0.1:8080 ๐Ÿ›ฐ๏ธ
  • -r, --raw[=false] โ€” show raw response. this mode will force output=json and view=off ๐Ÿฅฉ
  • --retries=3 โ€” max number of attempts when a failed http call is encountered ๐Ÿ”„
  • --select=[] โ€” comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber' ๐ŸŽฏ
  • --session="" โ€” session configuration ๐Ÿชช
  • --sessionMode="" โ€” override default session mode for a single command which would normally be disabled ๐ŸŽ›๏ธ
  • -P, --sessionPassword="" โ€” override session password ๐Ÿ”
  • -U, --sessionUsername="" โ€” override session username. i.e. peter or t1234/peter (with tenant) ๐Ÿ™‹
  • --silentExit[=false] โ€” silent status codes do not affect the exit code ๐Ÿคซ
  • --silentStatusCodes="" โ€” status codes which will not print out an error message ๐Ÿ”‡
  • --timeout="600s" โ€” request timeout duration, i.e. 60s, 2m โŒ›
  • --totalPages=0 โ€” total number of pages to get ๐Ÿ“–
  • -v, --verbose[=false] โ€” verbose logging ๐Ÿ—ฃ๏ธ
  • --view="auto" โ€” use views when displaying data on the terminal. disable using --view off ๐Ÿ‘€
  • --withError[=false] โ€” errors will be printed on stdout instead of stderr ๐Ÿšจ
  • --withTotalElements[=false] โ€” request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13) ๐Ÿงฎ
  • -t, --withTotalPages[=false] โ€” request Cumulocity to include the total pages in the response statistics under .statistics.totalPages ๐Ÿ“„
  • --workers=1 โ€” number of workers ๐Ÿ‘ฏ

๐ŸŒˆ EXAMPLE ๐ŸŒˆ

$ c8y currentapplication update --data "myCustomProp=1"

that updates custom properties of the current application (requires using application credentials) โœจ

๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

go peek at c8y-currentapplication(1) โ€” thatโ€™s the sibling page, iykyk ๐Ÿซถ


okay thatโ€™s the whole page, bestie โ€” from the c8y(1) manual, dated Jan 1980. mwah ๐Ÿ’‹โœจ

๐Ÿ“ฆ where this page comes from