c8y(1)
β¨ NAME β¨
c8y-operations - Cumulocity operations
okay so welcome to the c8y(1) manual, bestie π this is the corner for Cumulocity operations, and the vibe check is: itβs the c8y-operations command. periodt.
π¦ SYNOPSIS π¦
c8y operations [flags]
Like, thatβs the whole synopsis. [flags] is where all the options below go, iykyk.
π DESCRIPTION π
Itβs the REST endpoint to interact with Cumulocity operations β literally thatβs what the manpage says, and honestly itβs giving main character energy β¨. You interact with Cumulocity operations, and the flags below handle the rest π .
π OPTIONS π
-h,--help[=false]β help for operations. Ask for help and itβs there π«Ά.
π OPTIONS INHERITED FROM PARENT COMMANDS π
These are inherited from the parent command, bestie β yes, all of them are coming along for the ride π.
--abortOnErrors=10β Abort batch when reaching specified number of errors. The flag as written is--abortOnErrors=10, so thatβs the number in play π.--allowEmptyPipe[=false]β Donβt fail when piped input is empty (stdin). No empty-pipe meltdowns, bestie π«Ά.--cache[=false]β Enable cached responses. Caching is on its way to being iconic π.--cacheBodyPaths=[]β Cache should limit hashing of selected paths in thejsonbody. Empty ([]) indicates all values. So yes, all the values, no cap π§.--cacheTTL="60s"β Cache time-to-live (TTL) as a duration, i.e.60s,2m. The flag spells it"60s"out front β³.-c,--compact[=false]β Compact instead of pretty-printed output when usingjsonoutput. Pretty print is the default if output is the terminal. So terminal gets the pretty treatment unless you say otherwise π .--confirm[=false]β Prompt for confirmation. A little βare you sure?β moment π₯Ί.--confirmText=""β Custom confirmation text. Make that prompt say what you want it to say π¬.--currentPage=0β Current page which should be returned. The page number is0in the flag, and thatβs the starting vibe π.--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. Custom query param era, periodt π₯.--debug[=false]β Set very verbose log messages. Debug mode is loud and proud π.--delay="0ms"β delay after each request, i.e.5ms,1.2s. The flag says"0ms"right there. After each request, take a breather β±οΈ.--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. Same breather, but before the request this time π«§.--dry[=false]β Dry run. Donβt send any data to the server. Itβs giving rehearsal, not the real performance π.--dryFormat="markdown"β Dry run output format. i.e.json,dump,markdownorcurl. The flag has"markdown"as written, bestie π.--examples[=false]β Show examples for the current command. Examples? Yes please, show me the receipts β¨.--filter=[]β Apply a client side filter to response before returning it to the user. Filter it client-side, then hand it over π«Ά.--flatten[=false]β flattenjsonoutput by replacing nestedjsonproperties with properties where their names are represented by dot notation. Flattening, but make it dot notation π .-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirm. Force is force, but--confirmgets priority, no cap β οΈ.-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". Bring your own headers to the function π.--includeAll[=false]β Include all results by iterating through each page. All the pages, all the results, all the vibes π.-k,--insecure[=false]β Allow insecure server connections when using SSL. Insecure mode is a choice, bestie β the flag says what it says π.-l,--logMessage=""β Add custom message to the activity log. Put your own little note in the activity log βοΈ.--maxJobs=0β Maximum number of jobs.0= unlimited (use with caution!). The caution is literally in the manpage, so bestie, use with caution! π--noAccept[=false]β Ignore Accept header will remove theAcceptheader from requests, however PUT and POST requests will only see the effect. So PUT and POST are the only ones catching this effect, iykyk π«.--noCache[=false]β Force disabling of cached responses (overwrites cache setting). No cache, even if cache said yes β it overwrites the cache setting π₯.-M,--noColor[=false]β Donβt use colors when displaying log entries on the console. Monochrome console log entries, if thatβs your aesthetic π€.--noLog[=false]β Disables the activity log for the current command. No activity log for this command, periodt π«.--noProgress[=false]β Disable progress bars. No progress bars, no distractions π.--noProxy[=false]β Ignore the proxy settings. Proxy settings? Ignored. Bye π.-n,--nullInput[=false]β Donβt read the input (stdin). Useful if using in shellfor/whileloops. No stdin reading, which is lowkey perfect for shellfor/whileloops π.-o,--output="table"β Output format i.e.table,json,csv,csvheader. The flag is written with"table"as the output vibe π.--outputFile=""β Save JSON output to file (after select/view). JSON output goes to a file after select/view, fancy πΎ.--outputFileRaw=""β Save raw response to file (before select/view). Raw response to a file before select/view β raw era ποΈ.--outputTemplate=""βjsonnettemplate to apply to the output. A jsonnet template for the output, go off π§©.-p,--pageSize=5β Maximum results per page. The page size is5right there in the flag π.--progress[=false]β Show progress bar. This will also disable any other verbose output. Progress bar on, other verbose output off β itβs a tradeoff, bestie π.--proxy=""β Proxy setting, i.e.http://10.0.0.1:8080. Set the proxy, example literally right there π.-r,--raw[=false]β Show raw response. This mode will forceoutput=jsonandview=off. Raw response mode forcesoutput=jsonandview=off, no cap π.--retries=3β Max number of attempts when a failed http call is encountered. Max attempts:3in the flag, for when an http call fails π.--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. Select exactly what you want, wildcards and globstar included π.--session=""β Session configuration. Session config, your little setup ποΈ.--sessionMode=""β Override default session mode for a single command which would normally be disabled. Override the default session mode for one command, even if itβs normally disabled β one-command exception π .-P,--sessionPassword=""β Override session password. Override the session password, shhh π€«.-U,--sessionUsername=""β Override session username. i.e.peterort1234/peter(with tenant). Override the session username; example ispeterort1234/peterwith tenant πͺͺ.--silentExit[=false]β Silent status codes do not affect the exit code. Silent status codes stay out of the exit codeβs business π€.--silentStatusCodes=""β Status codes which will not print out an error message. These status codes wonβt print an error message β silence is golden π€«.--timeout="600s"β Request timeout duration, i.e.60s,2m. The flag shows"600s", so thatβs the timeout duration vibe β°.--totalPages=0β Total number of pages to get. Total pages:0in the flag, get that many pages π.-v,--verbose[=false]β Verbose logging. Verbose logging, loud and proud π£οΈ.--view="auto"β Use views when displaying data on the terminal. Disable using--view off. Views on the terminal by default; disable with--view offβ the flag says"auto"π.--withError[=false]β Errors will be printed onstdoutinstead ofstderr. Errors go to stdout instead of stderr, switch it up π¨.--withTotalElements[=false]β Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13). Total elements in response stats, under.statistics.totalElements, introduced in10.13β noted, bestie π.-t,--withTotalPages[=false]β Request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. Total pages in response stats under.statistics.totalPagesβ yes maβam π.--workers=1β Number of workers. Workers:1in the flag, thatβs the worker count π οΈ.
π₯ SEE ALSO π₯
c8y(1), c8y-operations-assert(1), c8y-operations-cancel(1), c8y-operations-create(1), c8y-operations-deleteCollection(1), c8y-operations-get(1), c8y-operations-list(1), c8y-operations-subscribe(1), c8y-operations-update(1), c8y-operations-wait(1)
okay bye bestie β this was the c8y(1) manual, dated Jan 1980, and it ate π
β¨π
π¦ 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