c8y(1)

πŸ“¦ version 2.56.1, in nixpkgs unstable

🌸 c8y-devices-availability β€” Cumulocity device availability 🌸

Hey bestie! This is the page from the c8y(1) manual, all about device availability. Let's get into it! ✨


✨ SYNOPSIS ✨

c8y devices availability [flags]

πŸ’– DESCRIPTION πŸ’–

Okay so this is the REST endpoint to interact with Cumulocity devices. It's giving main character energy for sure! πŸ’…


πŸŽ€ OPTIONS πŸŽ€

Here are the options you can use with this command:

  • -h, --help[=false] β€” help for availability. Use this when you need a little help, bestie! 🫢

πŸ¦‹ OPTIONS INHERITED FROM PARENT COMMANDS πŸ¦‹

These are the options that trickle down from the parent commands. So many, but we got you! 🌈

  • --abortOnErrors=10 β€” Abort batch when reaching specified number of errors. Like, if things go wrong too many times, just stop, you know? πŸ’€
  • --allowEmptyPipe[=false] β€” Don't fail when piped input is empty (stdin). No input? No problem! 🫢
  • --cache[=false] β€” Enable cached responses. Save those responses for later, slay! πŸ’Ύ
  • --cacheBodyPaths=[] β€” Cache should limit hashing of selected paths in the json body. Empty indicates all values. So if you leave it empty, it's literally all values. πŸŽ€
  • --cacheTTL="60s" β€” Cache time-to-live (TTL) as a duration, i.e. 60s, 2m. How long the cache sticks around, bestie! ⏳
  • -c, --compact[=false] β€” Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. Keep it cute and compact! ✨
  • --confirm[=false] β€” Prompt for confirmation. Double-check before you commit, no cap! 🫢
  • --confirmText="" β€” Custom confirmation text. Make it your own! πŸ’…
  • --currentPage=0 β€” Current page which should be returned. Page zero, let's go! πŸ“„
  • --customQueryParam=[] β€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. Add your own vibes to the query! 🌈
  • --debug[=false] β€” Set very verbose log messages. For when you really need to see everything, bestie! πŸ”
  • --delay="0ms" β€” delay after each request, i.e. 5ms, 1.2s. Chill for a sec after each request. 😴
  • --delayBefore="0ms" β€” delay before each request, i.e. 5ms, 1.2s. Chill for a sec before each request. 😴
  • --dry[=false] β€” Dry run. Don't send any data to the server. Just pretend, like a rehearsal! 🎭
  • --dryFormat="markdown" β€” Dry run output format. i.e. json, dump, markdown or curl. Pick your fave format for the dry run! πŸŽ€
  • --examples[=false] β€” Show examples for the current command. Examples are always a vibe! πŸ“š
  • --filter=[] β€” Apply a client side filter to response before returning it to the user. Filter it out before you see it! 🌸
  • --flatten[=false] β€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation. Flatten it like a pancake! πŸ₯ž
  • -f, --force[=false] β€” Do not prompt for confirmation. Ignored when using --confirm. No confirmation needed, just go! πŸ”₯
  • -H, --header=[] β€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue". Add your own headers, bestie! πŸ“¨
  • --includeAll[=false] β€” Include all results by iterating through each page. Get every single result, no skips! 🌟
  • -k, --insecure[=false] β€” Allow insecure server connections when using SSL. Living dangerously, huh? 😏
  • -l, --logMessage="" β€” Add custom message to the activity log. Leave a little note in the log! πŸ“
  • --maxJobs=0 β€” Maximum number of jobs. 0 = unlimited (use with caution!). Unlimited jobs? Use with caution, bestie! ⚠️
  • --noAccept[=false] β€” Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. Ignore that header, but only for PUT and POST! 🚫
  • --noCache[=false] β€” Force disabling of cached responses (overwrites cache setting). No cache for you! 🚫
  • -M, --noColor[=false] β€” Don't use colors when displaying log entries on the console. No colors, just plain text. 🎨
  • --noLog[=false] β€” Disables the activity log for the current command. No log, no problem! 🚫
  • --noProgress[=false] β€” Disable progress bars. No progress bars, just vibes. 🚫
  • --noProxy[=false] β€” Ignore the proxy settings. No proxy, straight to the server! 🚫
  • -n, --nullInput[=false] β€” Don't read the input (stdin). Useful if using in shell for/while loops. No input needed, perfect for loops! 🫢
  • -o, --output="table" β€” Output format i.e. table, json, csv, csvheader. Pick your output vibe! πŸ“Š
  • --outputFile="" β€” Save JSON output to file (after select/view). Save it for later! πŸ’Ύ
  • --outputFileRaw="" β€” Save raw response to file (before select/view). Save the raw stuff too! πŸ’Ύ
  • --outputTemplate="" β€” jsonnet template to apply to the output. Template it up! 🎨
  • -p, --pageSize=5 β€” Maximum results per page. Five per page, cute! πŸ“„
  • --progress[=false] β€” Show progress bar. This will also disable any other verbose output. Show that progress, but no other verbose vibes! πŸ“Š
  • --proxy="" β€” Proxy setting, i.e. http://10.0.0.1:8080. Set your proxy, bestie! 🌐
  • -r, --raw[=false] β€” Show raw response. This mode will force output=json and view=off. Raw and unfiltered, just how you like it! πŸ”₯
  • --retries=3 β€” Max number of attempts when a failed http call is encountered. Try, try againβ€”three times max! πŸ”„
  • --select=[] β€” Comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'. Pick exactly what you want! 🎯
  • --session="" β€” Session configuration. Set up your session! 🫢
  • --sessionMode="" β€” Override default session mode for a single command which would normally be disabled. Override it just this once! ✨
  • -P, --sessionPassword="" β€” Override session password. Password override, shh! πŸ”
  • -U, --sessionUsername="" β€” Override session username. i.e. peter or t1234/peter (with tenant). Username override, with or without tenant! πŸ‘€
  • --silentExit[=false] β€” Silent status codes do not affect the exit code. Silent but deadlyβ€”to the exit code, anyway! 🀫
  • --silentStatusCodes="" β€” Status codes which will not print out an error message. These codes stay quiet! 🀫
  • --timeout="600s" β€” Request timeout duration, i.e. 60s, 2m. Wait up to ten minutes, bestie! ⏰
  • --totalPages=0 β€” Total number of pages to get. Get all the pages! πŸ“š
  • -v, --verbose[=false] β€” Verbose logging. Tell me everything! πŸ—£οΈ
  • --view="auto" β€” Use views when displaying data on the terminal. Disable using --view off. Views on the terminal, auto-magically! ✨
  • --withError[=false] β€” Errors will be printed on stdout instead of stderr. Errors go to stdout now! 🚨
  • --withTotalElements[=false] β€” Request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13). Get those total elements, introduced in 10.13! πŸ“Š
  • -t, --withTotalPages[=false] β€” Request Cumulocity to include the total pages in the response statistics under .statistics.totalPages. Total pages in the stats! πŸ“„
  • --workers=1 β€” Number of workers. Just one worker by default, but you can add more! πŸ‘·

πŸ‘‘ SEE ALSO πŸ‘‘

Don't forget to check out these other pages, bestie:


This page was brought to you by the c8y(1) manual, dated Jan 1980. Stay slay, bestie! πŸ’–βœ¨

πŸ“¦ where this page comes from