c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

πŸ’… c8y(1) β€” Cumulocity user references: the c8y-userreferences page πŸ’…

🌸 NAME 🌸

c8y-userreferences β€” Cumulocity user references. that's the name, bestie, no cap ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

c8y userreferences [flags]

πŸ’– DESCRIPTION πŸ’–

Okay so this is the REST endpoint for interacting with Cumulocity user references. that's the whole vibe: it's the little doorway for user-reference stuff, and the flags below are the keys πŸ”‘

πŸŽ€ OPTIONS πŸŽ€

  • -h, --help[=false] β€” shows help for userreferences. literally the "what does this thing do" button 🫢

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

These are the parent-command options that come along for the ride, bestie. same order, same flags, all the lore πŸ‘‘

  • --abortOnErrors=10 β€” abort the batch when it reaches the specified number of errors. default is 10, so it's giving "we tried, now we stop" πŸ’€
  • --allowEmptyPipe[=false] β€” don't fail when piped input is empty (stdin). empty pipe? not a crisis πŸ’…
  • --cache[=false] β€” enable cached responses. yes, we're caching, and it's iconic ✨
  • --cacheBodyPaths=[] β€” cache should limit hashing of selected paths in the json body. empty indicates all values. so [] means "hash all the things" 🧚
  • --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. compact mode is lowkey neat 🌸
  • --confirm[=false] β€” prompt for confirmation. the "are you sure, bestie?" moment πŸ™ˆ
  • --confirmText="" β€” custom confirmation text. make the "are you sure" say whatever you want πŸŽ€
  • --currentPage=0 β€” current page which should be returned. starting at 0, because we're page-zero girlies πŸ’…
  • --customQueryParam=[] β€” add custom URL query parameters, i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. custom params, custom destiny πŸ”₯
  • --debug[=false] β€” set very verbose log messages. debug mode is loud and proud πŸ—£οΈ
  • --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. we're just practicing, bestie 🫧
  • --dryFormat="markdown" β€” dry run output format, i.e. json, dump, markdown or curl. default "markdown" πŸ“
  • --examples[=false] β€” show examples for the current command. examples ate, honestly ✨
  • --filter=[] β€” apply a client side filter to response before returning it to the user. filter it before it hits your eyeballs πŸ‘€
  • --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. bold of you, but okay πŸ’…
  • -H, --header=[] β€” custom headers, i.e. --header "Accept: value, AnotherHeader: myvalue". headers are the accessory of HTTP πŸ’–
  • --includeAll[=false] β€” include all results by iterating through each page. all the pages, all the results, main character energy πŸ‘‘
  • -k, --insecure[=false] β€” allow insecure server connections when using SSL. yes, it says insecure; proceed with your eyes open 😭
  • -l, --logMessage="" β€” add custom message to the activity log. leave a little note in the group chat πŸ““
  • --maxJobs=0 β€” maximum number of jobs. 0 = unlimited (use with caution!). the caution is real, bestie ⚠️
  • --noAccept[=false] β€” ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. Accept header? we don't know her πŸ’€
  • --noCache[=false] β€” force disabling of cached responses (overwrites cache setting). cache is cancelled, 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. no receipts today πŸ™ˆ
  • --noProgress[=false] β€” disable progress bars. no little loading bar, just vibes 🫧
  • --noProxy[=false] β€” ignore the proxy settings. proxy? never met her 🌸
  • -n, --nullInput[=false] β€” don't read the input (stdin). useful if using in shell for/while loops. loops said "no input, thanks" πŸ”
  • -o, --output="table" β€” output format, i.e. table, json, csv, csvheader. default is "table" πŸ“Š
  • --outputFile="" β€” save JSON output to file (after select/view). file goblin mode, but after select/view πŸ’Ύ
  • --outputFileRaw="" β€” save raw response to file (before select/view). raw and unfiltered, before select/view πŸ“¦
  • --outputTemplate="" β€” jsonnet template to apply to the output. template girlie 🎨
  • -p, --pageSize=5 β€” maximum results per page. default is 5, cute and manageable πŸ’…
  • --progress[=false] β€” show progress bar. this will also disable any other verbose output. progress bar takes the aux, apparently πŸ“ˆ
  • --proxy="" β€” proxy setting, i.e. http://10.0.0.1:8080. your proxy, your rules 🌐
  • -r, --raw[=false] β€” show raw response. this mode will force output=json and view=off. raw is raw, no notes πŸ”₯
  • --retries=3 β€” max number of attempts when a failed http call is encountered. default 3, because we try again, bestie πŸ”
  • --select=[] β€” comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. choose your faves πŸ’–
  • --session="" β€” session configuration. session stuff, very demure ✨
  • --sessionMode="" β€” override default session mode for a single command which would normally be disabled. just for one command, bestie πŸŽ€
  • -P, --sessionPassword="" β€” override session password. password override, keep it cute and private πŸ”
  • -U, --sessionUsername="" β€” override session username, i.e. peter or t1234/peter (with tenant). username glow-up 🌟
  • --silentExit[=false] β€” silent status codes do not affect the exit code. silent but not shady 🀫
  • --silentStatusCodes="" β€” status codes which will not print out an error message. these codes are on mute πŸ”‡
  • --timeout="600s" β€” request timeout duration, i.e. 60s, 2m. default is "600s" βŒ›
  • --totalPages=0 β€” total number of pages to get. how many pages? this many πŸ“š
  • -v, --verbose[=false] β€” verbose logging. tell me everything, bestie πŸ—£οΈ
  • --view="auto" β€” use views when displaying data on the terminal. disable using --view off. auto view is the default vibe πŸ‘€
  • --withError[=false] β€” errors will be printed on stdout instead of stderr. errors, but make it stdout πŸ’…
  • --withTotalElements[=false] β€” request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). total elements, very stats-coded πŸ“ˆ
  • -t, --withTotalPages[=false] β€” request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. total pages, periodt πŸ“š
  • --workers=1 β€” number of workers. default 1, one worker doing their thing 🫢

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ β€” this page is from c8y(1), dated Jan 1980. go be iconic with your user references, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from