API Reference
Ta dokumentacja API jest uporządkowana według typu zasobu. Każdy typ zasobu ma co najmniej 1 reprezentację danych i co najmniej 1 metodę.
Zasób internetowy
Szczegółowe informacje o zasobach WebResource znajdziesz na stronie reprezentowania zasobów.
Metoda |
Żądanie HTTP |
Opis |
O ile nie zaznaczono inaczej, identyfikatory URI odnoszą się do https://www.googleapis.com/siteVerify/v1 |
usuń
|
DELETE /webResource/id
|
Brak możliwości potwierdzenia własności witryny lub domeny przez użytkownika.
|
pobierz
|
GET /webResource/id
|
Pobiera najnowsze dane dotyczące witryny lub domeny.
|
getToken
|
POST /token
|
Pobiera token weryfikacyjny uwierzytelnionego użytkownika, który ma zostać umieszczony w witrynie lub domenie.
|
wstaw
|
POST /webResource?verificationMethod=method
|
Potwierdza własność witryny lub domeny.
Wymagane parametry zapytania:
verificationMethod |
list
|
GET /webResource
|
Pobiera listę zweryfikowanych witryn i domen uwierzytelnionego użytkownika.
|
aktualizacja
|
PUT /webResource/id
|
Zmienia listę właścicieli witryny lub domeny.
|
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: 2022-08-16 UTC.
[null,null,["Ostatnia aktualizacja: 2022-08-16 UTC."],[[["This API reference is structured around resource types, each with their own data representations and methods."],["The WebResource resource allows you to manage website and domain ownership verification through methods like `get`, `insert`, `delete`, `update`, `list`, and `getToken`."],["You can retrieve, verify, unverify, and modify website or domain ownership, as well as list verified sites and obtain verification tokens."],["All URIs are relative to `https://www.googleapis.com/siteVerification/v1` unless specified otherwise."]]],["The API manages WebResources, which represent websites or domains. Key actions include: `delete` to unverify ownership; `get` to retrieve current data; `getToken` to get a verification token; `insert` to verify ownership, requiring a `verificationMethod`; `list` to retrieve a list of verified sites; and `update` to modify the owner list. These actions use `DELETE`, `GET`, `POST`, and `PUT` HTTP methods against `/webResource/` or `/token` endpoints. Each resource has its data representation and methods.\n"]]