Method: applications.dataSafety
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
כתיבה של ההצהרה על תוויות הבטיחות של אפליקציה.
בקשת HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/dataSafety
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
packageName |
string
חובה. שם החבילה של האפליקציה.
|
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
ייצוג ב-JSON |
{
"safetyLabels": string
} |
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יהיה ריק.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/androidpublisher
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-17 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-12-17 (שעון UTC)."],[[["This documentation details the process and requirements for submitting Data Safety labels for your Android app through the Google Play Developer API."],["You'll need to make an HTTP POST request to a specific URL, including your app's package name."],["The request body must contain a CSV file with your Data Safety responses, formatted as described in the provided links."],["Successful submission will result in an empty response body, and you'll need the 'androidpublisher' OAuth scope for authorization."]]],["This document details how to declare an app's Safety Labels via a POST request to the Google Android Publisher API. The request is sent to a specific URL using the app's package name as a path parameter. The required request body is a JSON object containing a `safetyLabels` field. This field must hold a string that represents data from the CSV file containing the Safety Labels declaration and its format must be compliant with google help center documentation. The API request require `androidpublisher` scope. A successful response returns an empty body.\n"]]