---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.4
alternate:
  - https://appmetrica.yandex.com/docs/en/mobile-api/management/applications/getapplication.md
  - https://appmetrica.yandex.com/docs/ru/mobile-api/management/applications/getapplication.md
  - https://appmetrica.yandex.com/docs/zh/mobile-api/management/applications/getapplication.md
  - href: https://appmetrica.yandex.com/docs/zh/mobile-api/management/applications/getapplication.md
    type: text/markdown
    title: Markdown version
  - href: https://appmetrica.yandex.com/docs/zh/llms.txt?revision=r21698989
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://appmetrica.yandex.com/docs/zh/llms.txt?revision=r21698989

# App信息

返回指定应用的信息。

## 请求格式 {#request-format}

```
获取 https://api.appmetrica.yandex.com/management/v1/application/{id}
```

#|
|| `id` | App ID ||
|#

## 响应格式 {#response-body}

```json translate=no
{
  "application": {
    "name": "string",
    "time_zone_name": "string",
    "label_id": int,
    "hide_address": bool,
    "gdpr_agreement_accepted": bool,
    "category": int,
    "bundle_id": "string",
    "team_id": "string",
    "use_universal_links": bool,
    "universal_link": "string",
    "id": int,
    "uid": int,
    "owner_login": "string",
    "api_key128": "string",
    "import_token": "string",
    "permission": "string",
    "label": "string",
    "time_zone_offset": int,
    "create_date": "YYYY-MM-DD"
  }
}
```

#|
|| `名称` | App name ||
|| `时区名称` | 统计时区 ||
|| `label_id` | 网页界面中应用程序所在文件夹的ID。 ||
|| `隐藏地址` | 表示是否已启用收集来自欧盟用户的完整IP地址的状态。

可能的值：
- `true` — 已启用。
- `false` — 已禁用。 ||
   || `已接受 GDPR 协议` | 接受状态的 [通用数据保护条例合规](https://yandex.ru/legal/metrica_agreement/)。

可能的值：
- `true` — 已接受合规要求。
- `false` — 合规性被拒绝。 ||
   || `category` | 应用分类的ID。 要获取所有应用类别的列表，请使用[Category list](https://appmetrica.yandex.com/docs/zh/mobile-api/management/applications/get-categories.md)方法。 ||
   || `bundle_id` | Bundle ID. ||
   || `team_id` | App 前缀或团队 ID。 ||
   || `使用通用链接` | 使用通用链接的状态。

可能的值：
- `true` — 已启用通用链接。
- `false` — 已禁用通用链接。 ||
   || `universal_link` | Universal Link. ||
   || `id` | App ID ||
   || `uid` | 添加应用的用户ID。 ||
   || `owner_login` | 应用程序拥有者的登录。 ||
   || `api_key128` | API 密钥。 ||
   || `import_token` | 发布 API 密钥。 ||
   || `权限` | 访问权限。

可能的值：

- `查看` — 只读。
- `编辑` — 读取/编辑。
- `代理视图` — 仅供代理查看。
- `agency_edit` — 代理商读取/编辑。
- `own` — 应用所有者。

要了解更多信息，请查看[管理应用访问](https://appmetrica.yandex.com/docs/zh/common/access.md)。 ||
|| `label` | 网页界面中应用程序所在文件夹的名称。 ||
|| `时区偏移` | 相对于 UTC 的时区偏移量（以秒为单位）。 ||
|| `创建日期` | 应用添加的日期。 ||
|#

## Example {#example}

{% list tabs %}

- cURL

   ```bash translate=no
   curl -X GET \
     'https://api.appmetrica.yandex.com/management/v1/application/1111' \
     -H 'Authorization: OAuth <your_token>'
   ```

   where `<your_token>` 是一个 OAuth 令牌，可以通过 [说明](https://appmetrica.yandex.com/docs/zh/mobile-api/intro/authorization.md#get-oauth-token) 获取。

- HTTP

   ```http translate=no
   GET /management/v1/application/1111 HTTP/1.1
   Host: api.appmetrica.yandex.com
   Authorization: OAuth <your_token>
   ```

   where `<your_token>` 是一个 OAuth 令牌，可以通过 [说明](https://appmetrica.yandex.com/docs/zh/mobile-api/intro/authorization.md#get-oauth-token) 获取。

{% endlist %}

<!-- source: zh/_includes/feedback-button-3.md -->
如果您没有找到所需答案，可以通过反馈表单提交您的问题。 请尽可能详细地描述问题。 如果可能，请附上截图。

<a href="../troubleshooting/feedback-new">
  <span class="button">联系支持</span>
</a>

<a href="../troubleshooting/feedback-docs">
  <span class="button">为文档提出改进建议</span>
</a>
<!-- endsource: zh/_includes/feedback-button-3.md -->
