ããããã¾ã«è©±é¡ã«ãªããCLI/cronã¨ãããSlackã¨ãã¸ã®éç¥ãã®ããã®ã¹ã¯ãªããã§ãã ã¹ã¯ãªãããã®ãã®ããã¯ãcurlã§ã®APIãå©ãåä½ãããã®ããã®jqã®å©ç¨Tipsãæç¨ãããªãããªãã¨ããã¨ããã§ãã çµç·¯ ã¾ã (ãã¾ã)ã·ã§ã«ã¹ã¯ãªããã¨ãã«ä¸æ £ããªé ããä½æ¥å®äºã¨ãã§ã®éç¥ãããã¨ãããªãã¨æãã調ã¹ã¦ã¿ãããããããã®ææ³ã«ã¤ãã¦ãèªåã®ç°å¢ã«ä¸æããã£ããããããªãã使ãã¦ããªãã£ãã ããããå¹¾æé(1å¹´ããã?)ãèªåã®ç°å¢ã«åãããã¼ã«ãã¹ã¯ãªãããªã©ç¶æ³ãç¨æã§ããã®ã§ãå ¬éããã ãªãããã®ã·ã§ã«ã¹ã¯ãªããã®åä½å®äºéç¥ã好ããªã¡ãã»ã¼ã¸ã³ã°ãµã¼ãã¹çµç±ã§éç¥ãã¦ããããã®ã¨ããããç°¡åã«åãæ¿ãå¯è½ãªã®ãè¯ãã¨ãã 大æ ã®ç¹å¾´ XMPP/SlackãTwitter...etcã¸éç¥ãè¡ãããã®ã¹ã¯ãªãã èªåã®ç§å¯æ å ±ã¯åé¢ãã¦ãã ããå人ã®ç§å¯
ä»æã®é£æ°æ ãæ®éã®å¥³åæ ¡çããããã©ãããã£ã¦ã¿ãããã®ãã¹ã³ãããã£ã©ã¯ã¿ã¼ãéå¿ãããããããã£ã©ã°ã©ã³ããªã«åºå ´ä¸ã§ãã ææ°æ å ±ï½TBSãã¬ãï¼æ®éã®å¥³åæ ¡çããããã©ãããã£ã¦ã¿ãã å ¬å¼ãã¼ã ãã¼ã¸ éå¿ããï½ãããã£ã©ã°ã©ã³ã㪠ãªãã£ã·ã£ã«ã¦ã§ããµã¤ã æ票ã¯ã¡ã¼ã«ã¢ãã¬ã¹1ã¤ã«ã¤ã1æ¥1åç票å¯è½ã§ãã éå¿ããã¯ç¾å¨41ä½(2014å¹´9/21æç¹)ã¨ãªããªãå³ããé ä½ã å¿æ´ããããã©æ¯æ¥HPã«ãã£ã¦æ票ããã®ã¯çµæ§æé⦠ã¨ããããã§ãcURLã³ãã³ãã使ã£ã¦ããã£ã¨æ票ãèªååãã¦ã¿ã¾ããã ãããã£ã©ã°ã©ã³ããªã«ç»é² ãããããããããã£ã©ã°ã©ã³ã㪠ãªãã£ã·ã£ã«ã¦ã§ããµã¤ã ã§ã¡ã¼ã«ã¢ãã¬ã¹ãç»é²ãã¦ããå¿ è¦ãããã¾ãã ãããã£ã©Â®ã°ã©ã³ã㪠IDï¼ã¡ã¼ã«ã¢ãã¬ã¹ï¼ç»é²ï½ãããã£ã©ã°ã©ã³ã㪠ãªãã£ã·ã£ã«ã¦ã§ããµã¤ã 詳細ã¯å²æ cURLã使ã£ãèªè¨¼ããã©ã¼
ããã¯ã©ã®ã³ã³ãã¥ã¼ãã£ã³ã°APIãbashã¹ã¯ãªããã§ãªã¯ã¨ã¹ãããããã® ã¹ã¯ãªãããæ¸ãã¾ããã params ãã©ã¡ã¼ã¿ã¼ãå¤æ´ãããã¨ã§ãä»»æã®APIããªã¯ã¨ã¹ãã§ãã¾ãã #!/bin/sh urlencode() { # https://qiita.com/ik-fib/items/cc983ca34600c2d633d5 echo "$1" | nkf -WwMQ | sed 's/=$//g' | tr = % | tr -d '\n' } HOST="jp-east-1.computing.api.nifcloud.com" ACCESS_KEY="<YOUR ACCESS KEY>" SECRET_KEY="<YOUR SECRET KEY>" TIMESTAMP="`date -u +'%FT%T.%2NZ' | sed -e 's/:/%3A/g'`" decla
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}