c8y(1)
okay bestie, you opened the c8y manual page (that's the manual name β c8y, section 1, the whole vibe) and honestly? you're about to understand the Cumulocity databroker situation. stay with me, it's gonna slay π
πΈ NAME
c8y-databroker β literally the Cumulocity databroker. no cap, that's it, that's the name π«Ά
β¨ SYNOPSIS
c8y databroker [flags]
π¦ DESCRIPTION
it's the REST endpoint you use to interact with the Cumulocity databroker. that's the whole job, and it does it iconically π
π OPTIONS
-h,--help[=false]β bestie, help fordatabroker. it tells you aboutdatabroker. love that for us π
π OPTIONS INHERITED FROM PARENT COMMANDS
okay so this is the long part, but every single one of these is inherited from the parent commands and you're gonna want all of them, so let's go, no skipping π§
--abortOnErrors=10β abort the batch once you hit the specified number of errors. default is10, so ten strikes and the batch is out π--allowEmptyPipe[=false]β don't fail when the piped input (stdin) is empty. default isfalse, meaning empty pipe = sad. set it and it's chill π--cache[=false]β enable cached responses. off (false) unless you say otherwise β¨--cacheBodyPaths=[]β the cache should only hash these selected paths in the json body. empty (the default[]) means all values get hashed π₯--cacheTTL="60s"β cache time-to-live (TTL) as a duration, i.e.60s,2m. default is"60s"β³-c,--compact[=false]β compact instead of pretty-printed output when using json output. important: pretty print is the default if the output is the terminal π--confirm[=false]β prompt for confirmation. defaultfalseπ--confirmText=""β custom confirmation text. default is the empty string""π«Ά--currentPage=0β current page which should be returned. default0π--customQueryParam=[]β add custom URL query parameters, i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. default[]π--debug[=false]β set very verbose log messages. the "what is happening" mode π--delay="0ms"β delay after each request, i.e.5ms,1.2s. default"0ms"π΄--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. default"0ms"π΄--dry[=false]β dry run. don't send any data to the server. so brave π--dryFormat="markdown"β dry run output format, i.e.json,dump,markdownorcurl. default"markdown"π--examples[=false]β show examples for the current command. yes queen, show us π--filter=[]β apply a client side filter to the response before returning it to the user. default[]π§Ή--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. defaultfalseπͺ-f,--force[=false]β do not prompt for confirmation. ignored when using--confirmβ οΈ (fr fr,--confirmwins)-H,--header=[]β custom headers, i.e.--header "Accept: value, AnotherHeader: myvalue". default[]π¨--includeAll[=false]β include all results by iterating through each page. all of them. every last one π-k,--insecure[=false]β allow insecure server connections when using SSL. okay risky icon, use with intention π-l,--logMessage=""β add a custom message to the activity log. default""π¬--maxJobs=0β maximum number of jobs.0= unlimited (use with caution!). caution noted, bestie π--noAccept[=false]β ignore the Accept header. this removes the Accept header from requests, howeverPUTandPOSTrequests will only see the effect π«--noCache[=false]β force disabling of cached responses (overwrites the cache setting). it beats--cache, periodt π€-M,--noColor[=false]β don't use colors when displaying log entries on the console. monochrome moment π€--noLog[=false]β disables the activity log for the current command π--noProgress[=false]β disable progress bars. no little bars for you π«--noProxy[=false]β ignore the proxy settings π΅οΈ-n,--nullInput[=false]β don't read the input (stdin). useful if using in shell for/while loops. loops say thank you π-o,--output="table"β output format, i.e.table,json,csv,csvheader. default"table"π--outputFile=""β save JSON output to file (after select/view). default""πΎ--outputFileRaw=""β save raw response to file (before select/view). default""ποΈ--outputTemplate=""β jsonnet template to apply to the output. default""π§΅-p,--pageSize=5β maximum results per page. default is5, tiny little pages π--progress[=false]β show progress bar. heads up: this will also disable any other verbose output π¦--proxy=""β proxy setting, i.e.http://10.0.0.1:8080. default""π-r,--raw[=false]β show raw response. this mode will forceoutput=jsonandview=off. no negotiating π--retries=3β max number of attempts when a failed http call is encountered. default3, we try three times πͺ--select=[]β comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'β¨--session=""β session configuration. default""π--sessionMode=""β override the default session mode for a single command which would normally be disabled. default""π-P,--sessionPassword=""β override session password. default""π€«-U,--sessionUsername=""β override session username, i.e.peterort1234/peter(with tenant). default""π§βπ»--silentExit[=false]β silent status codes do not affect the exit code. defaultfalseπ€--silentStatusCodes=""β status codes which will not print out an error message. default""π--timeout="600s"β request timeout duration, i.e.60s,2m. default"600s"β°--totalPages=0β total number of pages to get. default0π-v,--verbose[=false]β verbose logging. say more π--view="auto"β use views when displaying data on the terminal. disable using--view off. default"auto"πΌοΈ--withError[=false]β errors will be printed on stdout instead of stderr. plot twist π--withTotalElements[=false]β request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13) π’-t,--withTotalPages[=false]β request Cumulocity to include the total pages in the response statistics under.statistics.totalPagesπ--workers=1β number of workers. default1, one hardworking little worker bee π
π SEE ALSO
and that's the page, bestie!! π«Ά source/version line says c8y(1) and it's dated Jan 1980 (yes, really, she's vintage π). go forth and databroke-nothing, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: go-c8y-cli 2.56.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms