Method: enterprises.applications.get
Lấy thông tin về một ứng dụng.
Yêu cầu HTTP
GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/applications/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Tên ứng dụng ở dạng enterprises/{enterpriseId}/applications/{packageName} .
|
Tham số truy vấn
Thông số |
languageCode |
string
Ngôn ngữ ưu tiên cho thông tin ứng dụng đã bản địa hoá, dưới dạng thẻ BCP47 (ví dụ: "en-US", "de"). Nếu bạn không chỉ định, hệ thống sẽ sử dụng ngôn ngữ mặc định của ứng dụng.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của Application
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidmanagement
Để biết thêm thông tin, hãy xem OAuth 2.0 Overview.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-02-19 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-02-19 UTC."],[[["Retrieves information about a specific Android application within an enterprise."],["Requires the application's name in the request path, specifying the enterprise and package name."],["Optionally accepts a language code for localized information."],["Requires authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."],["Returns an `Application` object containing the application's details upon successful request."]]],["This document details retrieving application information via a `GET` request to a specific URL. The URL uses gRPC Transcoding syntax and requires a `name` path parameter specifying the application's identifier. An optional `languageCode` query parameter allows for localized application info. The request body must be empty. A successful response returns an `Application` object, and the process requires OAuth 2.0 authorization with the `androidmanagement` scope. There is a Try it button that likely lets the user test the API.\n"]]