{"id":32486,"date":"2023-03-08T16:31:06","date_gmt":"2023-03-08T15:31:06","guid":{"rendered":"https:\/\/mimolive.com\/?post_type=user-manual&#038;p=32486"},"modified":"2024-10-08T09:55:45","modified_gmt":"2024-10-08T07:55:45","slug":"http-api","status":"publish","type":"user-manual","link":"https:\/\/mimolive.com\/ko\/user-manual\/remote-control-automation\/http-api\/","title":{"rendered":"HTTP API"},"content":{"rendered":"<p>\ud55c\ud3b8\uc73c\ub85c, \ubbf8\ubaa8\ub77c\uc774\ube0c\ub294 <a href=\"https:\/\/mimolive.com\/ko\/%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%84%a4%eb%aa%85%ec%84%9c\/%ec%9b%90%ea%b2%a9-%ec%a0%9c%ec%96%b4-%ed%91%9c%eb%a9%b4\/\">\uc6d0\uaca9 \uc81c\uc5b4 UI<\/a> \ub97c \uc0ac\uc6a9\ud558\uc5ec \ud0dc\ube14\ub9bf \ub610\ub294 \uc774\uc640 \uc720\uc0ac\ud55c \ub514\ubc14\uc774\uc2a4\uc5d0\uc11c mimoLive\ub97c \uc6d0\uaca9 \uc81c\uc5b4\ud558\ub294 \ub370 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 \uc0ac\uc6a9\uc790 \uc9c0\uc815 \uc0ac\uc6a9\uc790 \uc778\ud130\ud398\uc774\uc2a4\ub97c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<p>\ub610\ud55c, mimoLive\ub294 \ubca0\uc5b4\ubcf8\uc5d0 \ub300\ud55c \uc561\uc138\uc2a4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. <span class=\"caps\">HTTP<\/span> <span class=\"caps\">API<\/span> \ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \uc9c0\uc815 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4( <strong>bash<\/strong> \uadf8\ub9ac\uace0 <strong>curl<\/strong>, <strong>AppleScript<\/strong>\ube4c\ud2b8\uc778 <a href=\"https:\/\/mimolive.com\/ko\/%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%84%a4%eb%aa%85%ec%84%9c\/%ec%9e%90%eb%8f%99%ed%99%94\/\">\uc790\ub3d9\ud654 \uacc4\uce35<\/a> \ub610\ub294 \uc774\uc640 \uc720\uc0ac\ud55c \ubb34\uc5b8\uac00\uc640 \ub300\ud654\ud560 \uc218 \uc788\ub294 <span class=\"caps\">HTTP<\/span> \uc11c\ubc84)\ub97c \ud1b5\ud574 mimoLive\uc758 \ub2e4\uc591\ud55c \uce21\uba74\uc744 \uc81c\uc5b4\ud560 \uc218 \uc788\uc73c\uba70, \uadf8 \uac00\ub2a5\uc131\uc740 \uac70\uc758 \ubb34\ud55c\ud569\ub2c8\ub2e4. (\ucc38\uc870 <a href=\"https:\/\/mimolive.com\/ko\/%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%84%a4%eb%aa%85%ec%84%9c\/api-%ec%82%ac%ec%9a%a9-%ec%98%88%ec%8b%9c\/\">\uc608\uc2dc <span class=\"caps\">API<\/span> \uc0ac\uc6a9\ubc95<\/a>)<\/p>\n\n\n\n<p>\uc774 \uc8fc\uc81c\uc5d0\uc11c\ub294 \ubca0\uc5b4 <span class=\"caps\">HTTP<\/span> <span class=\"caps\">API<\/span>. \ub85c <span class=\"caps\">API<\/span> \ub294 <a href=\"http:\/\/jsonapi.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">JSON:API \uc0ac\uc591<\/a> \ubbf8\ubaa8\ub77c\uc774\ube0c\ub85c \uc791\uc5c5\ud558\uae30 \uc804\uc5d0 \ubc18\ub4dc\uc2dc \uc219\uc9c0\ud558\uc138\uc694. <span class=\"caps\">API<\/span>.<\/p>\n\n\n\n<p>*\ubb38\uc11c \uc678\uc5d0\ub3c4 github\uc5d0\uc11c PHP \ub370\ubaa8 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc0b4\ud3b4\ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<p><br>\ub610\ud55c \uc178 \ubc0f Apple \uc2a4\ud06c\ub9bd\ud2b8\uc5d0 \ub300\ud55c \uc608\uc81c\ub3c4 \uc81c\uacf5\ub429\ub2c8\ub2e4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"api-endpoint\"><span class=\"caps\">API<\/span> \uc561\uc138\uc2a4<\/h3>\n\n\n\n<p>\ubbf8\ubaa8\ub77c\uc774\ube0c <span class=\"caps\">API<\/span> \ub294 \ubbf8\ubaa8\ub77c\uc774\ube0c\uac00 \uc2e4\ud589 \uc911\uc778 \ub3d9\uc77c\ud55c \ucef4\ud4e8\ud130(\"localhost\"\ub97c \ud1b5\ud574)\uc640 \ub85c\uceec \ub124\ud2b8\uc6cc\ud06c(\".local\"\uc744 \ud1b5\ud574)\uc5d0\uc11c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<p>\ubbf8\ubaa8\ub77c\uc774\ube0c\ub97c \ud65c\uc131\ud654\ud558\uba74 <span class=\"caps\">HTTP<\/span> \uc11c\ubc84\ub97c \"\ud3ec\ud2b8 8989\"\uc5d0 \uc5f0\uacb0\ud569\ub2c8\ub2e4.<\/p>\n\n\n\n<p>\ubaa8\ub4e0 <span class=\"caps\">API<\/span> \ud638\ucd9c\uc5d0\ub294 \"\/api\/v1\/\" \uacbd\ub85c\uac00 \uc55e\uc5d0 \ubd99\uc73c\ubbc0\ub85c \uc5f4\ub824 \uc788\ub294 \ubb38\uc11c \ubaa9\ub85d\uc744 \uac00\uc838\uc624\ub824\uba74 \"http:\/\/localhost:8989\/api\/v1\/documents\"\ub97c \ud638\ucd9c\ud558\uba74 \ub429\ub2c8\ub2e4.<\/p>\n\n\n\n<p>\ubaa8\ub4e0 ID(\ubb38\uc11c, \ub808\uc774\uc5b4, \uc18c\uc2a4, \ucd9c\ub825 \ub300\uc0c1 \ub4f1)\ub294 \ub514\uc2a4\ud06c\uc5d0 \uc800\uc7a5\ub418\uace0 \uc720\uc9c0\ub418\ubbc0\ub85c \ub3d9\uc77c\ud55c \ubb38\uc11c\uac00 mimoLive \ub0b4\uc5d0\uc11c \uc0ac\uc6a9\ub418\ub294 \ud55c \uc774\ub7ec\ud55c \uac12\uc744 \ud558\ub4dc\ucf54\ub529\ud558\ub294 \uac83\uc740 \uc548\uc804\ud569\ub2c8\ub2e4.<br><br>\ub2e4\uc74c\uc744 \ucc38\uc870\ud558\uc138\uc694. <a href=\"https:\/\/mimolive.com\/ko\/%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%84%a4%eb%aa%85%ec%84%9c\/%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%a7%80%ec%a0%95\/http-api\/%ec%97%94%eb%93%9c%ed%8f%ac%ec%9d%b8%ed%8a%b8\/\" data-type=\"user-manual\" data-id=\"32488\">API \uc5d4\ub4dc\ud3ec\uc778\ud2b8<\/a> \ub97c \ud074\ub9ad\ud574 \uc81c\uacf5\ub418\ub294 \ubaa8\ub4e0 \uc5d4\ub4dc\ud3ec\uc778\ud2b8\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc138\uc694.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"authentication\">\uc778\uc99d<\/h3>\n\n\n\n<p>mimoLive 3.1\ubd80\ud130 \uc0ac\uc6a9\uc790\uac00 mimoLive \ud658\uacbd\uc124\uc815\uc5d0\uc11c \uc778\uc99d\uc744 \ud65c\uc131\ud654\ud55c \uacbd\uc6b0, \ubaa8\ub4e0 \uc694\uccad\uc5d0 \ub300\ud574 \uc0ac\uc6a9\uc790 \ube44\ubc00\ubc88\ud638\ub97c \uc81c\uacf5\ud574\uc57c \ud569\ub2c8\ub2e4. <span class=\"caps\">API<\/span> \ub450 \uac00\uc9c0 \ubc29\ubc95\uc73c\ub85c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\uc0ac\uc6a9\uc790 \uc9c0\uc815 \uc124\uc815 <span class=\"caps\">HTTP<\/span> \ud5e4\ub354 \"X-MimoLive-Password-SHA256: xxxxxxx\"<\/li>\n\n\n\n<li>\ucffc\ub9ac \ub9e4\uac1c\ubcc0\uc218 \"?pwSHA256=xxxxxxx\"\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n\n\n\n<p>\ub450 \uacbd\uc6b0 \ubaa8\ub450 xxxxxxx\ub97c \uc6d0\ub798 \ube44\ubc00\ubc88\ud638\ub85c \ub300\uccb4\ud574\uc57c \ud569\ub2c8\ub2e4( <span class=\"caps\">UTF<\/span>-8 \uc778\ucf54\ub529)\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud574\uc2dc\ub41c <span class=\"caps\">SHA<\/span>-256\uc774\uba70 16\uc9c4\uc218 \ubb38\uc790\uc5f4\ub85c \uc778\ucf54\ub529\ub429\ub2c8\ub2e4.<br>\uc0ac\uc6a9\uc790 \uc9c0\uc815 \uc2a4\ud06c\ub9bd\ud2b8 \ubc0f \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub3c4\ub85d mimoLive\ub294 \ub2e4\uc74c\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. <span class=\"caps\">API<\/span> \ud0a4\ub97c \ub204\ub974\uace0 \uc6d0\uaca9 \uc81c\uc5b4 \ud658\uacbd\uc124\uc815 \ucc3d\uc5d0\uc11c \ud074\ub9bd\ubcf4\ub4dc\uc5d0 \ubcf5\uc0ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1000\" height=\"448\" src=\"https:\/\/mimolive.com\/wp-content\/uploads\/2023\/03\/dddc6bf5-964b-493c-b35e-ee5b37e44e40.png\" alt=\"\" class=\"wp-image-32487\" srcset=\"https:\/\/mimolive.com\/wp-content\/uploads\/2023\/03\/dddc6bf5-964b-493c-b35e-ee5b37e44e40.png 1000w,  https:\/\/mimolive.com\/wp-content\/uploads\/2023\/03\/dddc6bf5-964b-493c-b35e-ee5b37e44e40-300x134.png 300w,  https:\/\/mimolive.com\/wp-content\/uploads\/2023\/03\/dddc6bf5-964b-493c-b35e-ee5b37e44e40-768x344.png 768w,  https:\/\/mimolive.com\/wp-content\/uploads\/2023\/03\/dddc6bf5-964b-493c-b35e-ee5b37e44e40-18x8.png 18w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"deprecated-authentication-method\">\uc0ac\uc6a9\ub418\uc9c0 \uc54a\ub294 \uc778\uc99d \ubc29\ubc95<\/h4>\n\n\n\n<p>mimoLive \ubc84\uc804 3.1 \uc774\uc804\uc5d0\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc694\uccad\uc774 \uc788\uc5c8\uc2b5\ub2c8\ub2e4. <span class=\"caps\">API<\/span> \ub97c \uc0ac\uc6a9\ud558\uc5ec \uc778\uc99d\ub429\ub2c8\ub2e4. <span class=\"caps\">HTTP<\/span> \ud5e4\ub354 \"X-MimoLive-Password:\" \ub610\ub294 \ubaa8\ub4e0 \uc694\uccad\uc5d0 \ucffc\ub9ac \ub9e4\uac1c\ubcc0\uc218 \"?pw=\"\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<br>\uc548\ud0c0\uae5d\uac8c\ub3c4 \uc774 \ubc29\ubc95\uc740 \uc7a0\uc7ac\uc801\uc73c\ub85c \uc548\uc804\ud558\uc9c0 \uc54a\uc740 \ub124\ud2b8\uc6cc\ud06c \uc5f0\uacb0\uc744 \ud1b5\ud574 \ube44\ubc00\ubc88\ud638\ub97c \uc804\uc1a1\ud558\uae30 \ub54c\ubb38\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc740 \uacbd\uc6b0 \ubbfc\uac10\ud55c \ub370\uc774\ud130\uac00 \ub178\ucd9c\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <span class=\"caps\">HTTP<\/span> <span class=\"caps\">API<\/span> \ube44\ubc00\ubc88\ud638\uac00 \ub2e4\ub978 \uacf3\uc5d0\uc11c \uc7ac\uc0ac\uc6a9\ub418\uace0 \uc788\uc2b5\ub2c8\ub2e4.<br>\uc774 \uc778\uc99d \ubc29\ubc95\uc740 \uacc4\uc18d \uc791\ub3d9\ud558\uc9c0\ub9cc, \ud5a5\ud6c4 \uc0ad\uc81c\ub420 \uc218 \uc788\uc73c\ubbc0\ub85c \uc0ac\uc6a9\uc744 \uad8c\uc7a5\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"errors\">\uc624\ub958<\/h3>\n\n\n\n<p>\uc694\uccad \uc911\uc5d0 \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uba74 mimoLive\ub294 \ud574\ub2f9 \uc694\uccad \ucc98\ub9ac\ub97c \uc911\uc9c0\ud558\uace0 \ub2e4\uc74c\uc744 \ubc18\ud658\ud569\ub2c8\ub2e4. <span class=\"caps\">HTTP<\/span> \uc751\ub2f5\uc744 \uc624\ub958\ub97c \ub098\ud0c0\ub0b4\ub294 \uc0c1\ud0dc \ucf54\ub4dc\uc640 \ud568\uaed8 \ubc18\ud658\ud569\ub2c8\ub2e4. \ub610\ud55c \uc751\ub2f5\uc5d0\ub294 <span class=\"caps\">JSON<\/span> \ubc1c\uc0dd\ud55c \uac01 \uc624\ub958\uc5d0 \ub300\ud55c \ucd94\uac00 \uc815\ubcf4\uac00 \ud3ec\ud568\ub41c \uc624\ub958 \uac1d\uccb4\uc758 \ud398\uc774\ub85c\ub4dc \ubc30\uc5f4\uc785\ub2c8\ub2e4:<\/p>\n\n\n\n<pre class=\"wp-block-code\" data-no-translation=\"\"><code>{\n  \"errors\": &#91;\n    {\n      \"status\": \"404\",\n      \"title\": \"Not Found\",\n      \"description\": \"The requested object could not be found\"\n    }\n  ]\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"remote-access\">\uc778\ud130\ub137\uc744 \ud1b5\ud55c \uc6d0\uaca9 \uc561\uc138\uc2a4<\/h3>\n\n\n\n<p>\ub2e4\uc74c\uacfc \uac19\uc774 <span class=\"caps\">HTTP<\/span> <span class=\"caps\">API<\/span> \uc5d0 \ub0b4\uc7a5\ub41c \uc6f9\uc11c\ubc84\uc5d0 \uc758\ud574 \ud65c\uc131\ud654\ub418\uba70, mimoLive\uc5d0 \uc6d0\uaca9\uc73c\ub85c \uc561\uc138\uc2a4\ud558\uc5ec <span class=\"caps\">HTTP<\/span> <span class=\"caps\">API<\/span> \ub97c \uc778\ud130\ub137 \uc5b4\ub514\uc5d0\uc11c\ub098 \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d mimoLive \ucef4\ud4e8\ud130\uc5d0 \uacf5\uc6a9 IP \ubc88\ud638\ub97c \ubd80\uc5ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ud6c4 <span class=\"caps\">HTTP<\/span> <span class=\"caps\">API<\/span> \uac00 \uc798 \ubcf4\ud638\ub418\uc9c0 \uc54a\ub294\ub2e4\uba74 \uc774\ub294 \uc88b\uc9c0 \uc54a\uc740 \uc0dd\uac01\uc785\ub2c8\ub2e4. \uc6d0\uaca9 \uc561\uc138\uc2a4\ub97c \ud65c\uc131\ud654\ud558\ub294 \ub354 \uc88b\uc740 \ubc29\ubc95\uc740 <span class=\"caps\">HTTP<\/span> <span class=\"caps\">API<\/span> \uacf5\uc6a9 \ub124\ud2b8\uc6cc\ud06c\ub97c \ud1b5\ud574 <a href=\"https:\/\/mimolive.com\/ko\/%ec%82%ac%ec%9a%a9%ec%9e%90-%ec%84%a4%eb%aa%85%ec%84%9c\/%ec%9b%90%ea%b2%a9-%ec%a0%9c%ec%96%b4-%ed%91%9c%eb%a9%b4-%eb%b0%8f-http-api-%ec%9b%90%ea%b2%a9-%ec%95%a1%ec%84%b8%ec%8a%a4\/\">ngrok\uc744 \uc0ac\uc6a9\ud558\uc5ec \ubbf8\ubaa8\ub77c\uc774\ube0c \ud638\uc2a4\ud2b8 \ucef4\ud4e8\ud130\uc5d0 \ubcf4\uc548 \ud130\ub110\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>On one hand, mimoLive publishes a Remote Control UI which you can use to create custom user interfaces that you can use on a tablet or similar device to remote control mimoLive. Additionally, mimoLive provides access to the bare HTTP API so you can create custom scripts (via bash and curl, AppleScript, build-in Automation Layer [&hellip;]<\/p>","protected":false},"author":3,"featured_media":0,"parent":40865,"menu_order":2,"template":"","meta":{"_acf_changed":false,"_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[258],"tags":[],"class_list":["post-32486","user-manual","type-user-manual","status-publish","hentry","category-manual"],"acf":[],"_links":{"self":[{"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/user-manual\/32486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/user-manual"}],"about":[{"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/types\/user-manual"}],"author":[{"embeddable":true,"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":1,"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/user-manual\/32486\/revisions"}],"predecessor-version":[{"id":39706,"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/user-manual\/32486\/revisions\/39706"}],"up":[{"embeddable":true,"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/user-manual\/40865"}],"wp:attachment":[{"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/media?parent=32486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/categories?post=32486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mimolive.com\/ko\/wp-json\/wp\/v2\/tags?post=32486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}