{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/zh/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"公共API","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"公共api","__idx":0},"children":["公共API"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["管理在浏览器和云手机之间共享的代理、组和标签。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"概述","__idx":1},"children":["概述"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["公共API是",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/browser"},"children":["浏览器"]}," 和",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/cloud-phone"},"children":["云手机"]}," 使用的常见实体。 MoreLogin 提供了一组统一的 API，而不是为每个产品单独管理它们。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["公共API支持两种访问方式："]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"方法"},"children":["方法"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"基本网址"},"children":["基本网址"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"使用案例"},"children":["使用案例"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["开放API"]},"（远程）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.morelogin.com"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["随时随地访问，OAuth2 身份验证"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["本地API"]},"（本地）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["http://127.0.0.1:40000"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["从运行MoreLogin客户端的机器访问"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["有关身份验证的详细信息，请参阅",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/authentication"},"children":["身份验证"]},"。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"资源","__idx":2},"children":["资源"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"资源"},"children":["资源"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"关键操作"},"children":["关键操作"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["代理"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HTTP/HTTPS/SOCKS5 代理配置"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["列表、添加、更新、删除"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["组"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["将配置文件/设备分组"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["列表、创建、编辑、删除"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["标签"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["使用自定义标签标记配置文件/设备"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["列表、创建、编辑、删除"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api参考","__idx":3},"children":["API参考"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"应用程序编程接口"},"children":["应用程序编程接口"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/shared-resources/open-api"},"children":["公共API开放接口"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["通过 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.morelogin.com"]},"、OAuth2 身份验证进行远程访问"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/shared-resources/shared-api"},"children":["公共API本地接口"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["通过 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["http://127.0.0.1:40000"]},"、令牌身份验证进行本地访问"]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["注意"]},"：本地 API 路径使用 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/"]}," 前缀（例如 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/proxyInfo/page"]},"），而开放 API 路径则省略它（例如 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/proxyInfo/page"]},"）。请始终参阅特定的 API 参考以获取确切的路径和参数。"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"相关指南","__idx":4},"children":["相关指南"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"指南"},"children":["指南"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/local-vs-open-api"},"children":["本地 API 与开放 API"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["了解两种 API 类型之间的差异"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/authentication"},"children":["身份验证"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OAuth2 令牌设置（开放 API）和令牌身份验证（本地 API）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/zh/api-reference/getting-started/quickstart"},"children":["快速入门"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["开始您的第一个 API 调用"]}]}]}]}]}]},"headings":[{"value":"公共API","id":"公共api","depth":1},{"value":"概述","id":"概述","depth":2},{"value":"资源","id":"资源","depth":2},{"value":"API参考","id":"api参考","depth":2},{"value":"相关指南","id":"相关指南","depth":2}],"frontmatter":{"seo":{"title":"公共API"}},"lastModified":"2026-06-10T11:47:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/zh/api-reference/shared-resources","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}