c8y(1)
π c8y(1) β the c8y manual page, but make it make sense π
okay bestie, welcome to c8y β yes, the manual is literally called c8y(1), we're all just living in its world β¨ and this page right here is c8y-operations-get, the little icon that fetches you one single operation. honestly? underrated. let's get into it π«Ά
πΈ NAME πΈ
c8y-operations-get β Get operation π like, go get it. grab that operation. that's the whole job.
β¨ SYNOPSIS β¨
c8y operations get [flags]
that's it, that's the vibe. c8y, then operations, then get, then whatever flags your heart desires π
π¦ DESCRIPTION π¦
Get an existing operation π
no cap, that's the description. you have an operation that already exists, and this command? this command goes and gets it. main character energy fr fr π
π OPTIONS π
-h,--help[=false]β help for get π₯Ί the little "what does this even do" button. defaults tofalse, as help flags do.--id=[]β Operation id (required) (accepts pipeline) π₯ required, bestie, do not forget it. it also accepts pipeline input, so you can pipe that id in like the tech-savvy icon you are.
π OPTIONS INHERITED FROM PARENT COMMANDS π
these aren't even get's own flags, they're inherited from the parent commands β the family traits, iykyk π§¬π but they absolutely still work here, so let's go through all of them, no skipping, we're not that kind of girl π
--abortOnErrors=10β Abort batch when reaching specified number of errors π hits10errors and it's out, bye.--allowEmptyPipe[=false]β Don't fail when piped input is empty (stdin) π empty pipe? not a crisis. defaults tofalse.--cache[=false]β Enable cached responses β caching on.--cacheBodyPaths=[]β Cache should limit hashing of selected paths in the json body. Empty indicates all values π so like, if it's empty, everything gets hashed. all values. the whole buffet.--cacheTTL="60s"β Cache time-to-live (TTL) as a duration, i.e.60s,2mβ³ defaults to"60s".-c,--compact[=false]β Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal β¨ terminal = pretty by default, so this one's for the gremlins who want it squished π--confirm[=false]β Prompt for confirmation πββοΈ it will ask. it will make sure.--confirmText=""β Custom confirmation text π¬ write your own dramatic prompt, default is empty string.--currentPage=0β Current page which should be returned π starts at0.--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'π exact syntax, don't come for me.--debug[=false]β Set very verbose log messages π£οΈ very verbose. VERY. buckle up.--delay="0ms"β delay after each request, i.e.5ms,1.2sβ±οΈ default"0ms".--delayBefore="0ms"β delay before each request, i.e.5ms,1.2sβ±οΈ also default"0ms". yes there's a before one AND an after one. both slay.--dry[=false]β Dry run. Don't send any data to the server π« nothing leaves the building.--dryFormat="markdown"β Dry run output format. i.e.json,dump,markdownorcurlπ default is"markdown", and yescurlis an option, iconic.--examples[=false]β Show examples for the current command π--filter=[]β Apply a client side filter to response before returning it to the user π§ client side, meaning it happens on your machine before it gets handed to you.--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation πͺ nested goes flat, dots go everywhere.-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirmβ οΈ and heads up:--confirmwins. always.-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue"π¨--includeAll[=false]β Include all results by iterating through each page π every page, bestie, we're going through all of them.-k,--insecure[=false]β Allow insecure server connections when using SSL π look away from the certificate, look awayβ-l,--logMessage=""β Add custom message to the activity log π default"".--maxJobs=0β Maximum number of jobs.0= unlimited (use with caution!) π₯β οΈ genuinely, the manpage says use with caution, so likeβ¦ caution.0means unlimited and unlimited means chaos.--noAccept[=false]β Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect π« so the header gets yeeted, but only PUT and POST actually notice.--noCache[=false]β Force disabling of cached responses (overwrites cache setting) π₯ it overrides--cache. no caching. periodt.-M,--noColor[=false]β Don't use colors when displaying log entries on the console π¨β‘οΈπ« sad but sometimes necessary.--noLog[=false]β Disables the activity log for the current command πβοΈ--noProgress[=false]β Disable progress bars π gone. no bar.--noProxy[=false]β Ignore the proxy settings πͺ pretend the proxy doesn't exist.-n,--nullInput[=false]β Don't read the input (stdin). Useful if using in shell for/while loops π ok this one's lowkey a lifesaver in loops.-o,--output="table"β Output format i.e.table,json,csv,csvheaderπ default is"table".--outputFile=""β Save JSON output to file (after select/view) πΎ after select/view, note that.--outputFileRaw=""β Save raw response to file (before select/view) πΎ and this one's before select/view. very different, don't mix them up.--outputTemplate=""β jsonnet template to apply to the output π§©-p,--pageSize=5β Maximum results per page π default5.--progress[=false]β Show progress bar. This will also disable any other verbose output π and yes it kills the other verbose output, that's the trade.--proxy=""β Proxy setting, i.e.http://10.0.0.1:8080π-r,--raw[=false]β Show raw response. This mode will forceoutput=jsonandview=offπ₯© raw. it also forcibly setsoutput=jsonandview=offwhether you like it or not.--retries=3β Max number of attempts when a failed http call is encountered π default3. it will try, try, try again.--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'π― globstar girlies rise.--session=""β Session configuration π--sessionMode=""β Override default session mode for a single command which would normally be disabled ποΈ single command only, and it overrides a default that would normally be off.-P,--sessionPassword=""β Override session password π-U,--sessionUsername=""β Override session username. i.e.peterort1234/peter(with tenant) πͺͺ either bare likepeteror with the tenant liket1234/peter.--silentExit[=false]β Silent status codes do not affect the exit code π€« quiet codes stay quiet.--silentStatusCodes=""β Status codes which will not print out an error message π€ list them here and they'll hush.--timeout="600s"β Request timeout duration, i.e.60s,2mβ° default"600s".--totalPages=0β Total number of pages to get π starts at0.-v,--verbose[=false]β Verbose logging π£οΈ--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 π stdout, not stderr. flip it.--withTotalElements[=false]β Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13) π’ note the version: 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.
π EXAMPLE π
$ c8y operations get --id 12345
Get operation by id
look at her go ππ clean, simple, --id 12345, operation acquired. slay.
π₯ SEE ALSO π₯
c8y-operations(1) β go meet the whole operations family, they're lovely π«Ά
and that's the page, bestie!! π shoutout to the manual itself β that's c8y(1), dated Jan 1980 (yes, literally, that's the date on the footer, we don't question it π°οΈπ). mwah, go get those operations πβ¨
π¦ 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