c8y(1)
π
c8y β the c8y manual page, bestie edition π
okay so you opened the c8y manual, specifically the page for c8y-devices-children, and honestly? iconic choice. we're doing child references today and I'm gonna walk you through every single flag like your favorite study buddy who actually read the docs. no gatekeeping, periodt. β¨
πΈ NAME πΈ
c8y-devices-children β Cumulocity managed object child references π¦
like, it's the part of c8y that deals with the child refs hanging off your managed objects. that's the whole vibe.
β¨ SYNOPSIS β¨
c8y devices children [flags]
short, sweet, slay. c8y devices children plus whatever flags you feel like throwing at it. π
π DESCRIPTION π
Manage child entities (assets, additions and device) for devices π«Ά
that's it, that's the job β you're managing the children of devices: assets, additions and device. think of it as family-tree maintenance but for your Cumulocity device inventory. no cap.
π₯ OPTIONS π₯
here's the local menu, all two of them, still iconic:
-h,--help[=false]β help for children. the "wait what does this even do" button π«
π OPTIONS INHERITED FROM PARENT COMMANDS π
okay bestie, this is the big one. everything below gets handed down from the parent command, so it works here too. grab a snack, this list is a whole journey π
--abortOnErrors=10β Abort batch when reaching specified number of errors. like a "three strikes" rule but you pick the number, default's10.--allowEmptyPipe[=false]β Don't fail when piped input is empty (stdin). empty pipe? not a crisis. π--cache[=false]β Enable cached responses.--cacheBodyPaths=[]β Cache should limit hashing of selected paths in the json body. Empty indicates all values. so leave it empty and it's hashing everything, understood? π--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. Pretty print is the default if output is the terminal. terminal gets the glow-up, pipes get the compact version β¨--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'. go off, add your own params π--debug[=false]β Set very verbose log messages. chaos mode but productive.--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. pretend mode, zero consequences π«Ά--dryFormat="markdown"β Dry run output format. i.e.json,dump,markdownorcurl. default's"markdown".--examples[=false]β Show examples for the current command. yes queen, show me the examples.--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. nested? not anymore π«-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirm. note that little caveat, bestie β--confirmwins.-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue".--includeAll[=false]β Include all results by iterating through each page. all of them. every page. π-k,--insecure[=false]β Allow insecure server connections when using SSL. β οΈ your call, but like, be aware.-l,--logMessage=""β Add custom message to the activity log.--maxJobs=0β Maximum number of jobs. 0 = unlimited (use with caution!). the manpage literally said "use with caution" so I'm saying it too, fr fr π--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. sad beige logs π--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 shellfor/whileloops. loop girlies rise π§-o,--output="table"β Output format i.e.table,json,csv,csvheader. default"table".--outputFile=""β Save JSON output to file (after select/view).--outputFileRaw=""β Save raw response to file (before select/view). yes, "before" β that's the whole difference, 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. trade-off, bestie.--proxy=""β Proxy setting, i.e.http://10.0.0.1:8080.-r,--raw[=false]β Show raw response. This mode will forceoutput=jsonandview=off. it overrides stuff, just so you know π--retries=3β Max number of attempts when a failed http call is encountered. default3, we try again, we don't give up πͺ--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. this one's a personal fave β--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.peterort1234/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. default"600s".--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. default"auto".--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. default1, multiply responsibly π₯
real talk:--insecuredisables SSL verification,--maxJobs=0is unlimited and the page itself says "use with caution!" β so like, know what you're doing, bestie. π«Ά
π¦ SEE ALSO π¦
go read these next, they're all in the family:
c8y-devices(1)c8y-devices-children-assign(1)c8y-devices-children-create(1)c8y-devices-children-get(1)c8y-devices-children-list(1)c8y-devices-children-unassign(1)
and that's the whole page, bestie π this was c8y(1) β dated Jan 1980 (yes really, vintage icon behavior π) β go forth and manage those children, 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