Method: edits.tracks.patch
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Żądanie HTTP
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
packageName |
string
Nazwa pakietu aplikacji.
|
editId |
string
Identyfikator zmiany.
|
track |
string
Identyfikator utworu. Więcej informacji o nazwie utworu
|
Treść żądania
Treść żądania zawiera wystąpienie elementu Track
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Track
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidpublisher
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThis operation patches (updates) a specific track for an Android app within a Google Play Developer account.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the package name, edit ID, and track identifier as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eBoth the request and response bodies utilize the \u003ccode\u003eTrack\u003c/code\u003e object to define track information.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is necessary using the \u003ccode\u003eandroidpublisher\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document outlines the process for patching a track using the Android Publisher API. It specifies a `PATCH` HTTP request to a URL including `packageName`, `editId`, and `track` as path parameters. The request body and successful response body both use the `Track` resource. Authorization requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope. The user can test it with the button 'Try it!'.\n"],null,["# Method: edits.tracks.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nPatches a track.\n\n### HTTP request\n\n`PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `editId` | `string` Identifier of the edit. |\n| `track` | `string` Identifier of the track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name) |\n\n### Request body\n\nThe request body contains an instance of [Track](/android-publisher/api-ref/rest/v3/edits.tracks#Track).\n\n### Response body\n\nIf successful, the response body contains an instance of [Track](/android-publisher/api-ref/rest/v3/edits.tracks#Track).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]