Method: forms.watches.list

Tampilkan daftar smartwatch yang dimiliki oleh project pemanggil. Jumlah maksimum smartwatch adalah dua: Untuk setiap invoker, batasnya adalah satu untuk setiap jenis peristiwa per formulir.

Permintaan HTTP

GET https://forms.googleapis.com/v1/forms/{formId}/watches

URL menggunakan sintaksis gRPC Transcoding.

Parameter jalur

Parameter
formId

string

Wajib. ID Formulir yang smartwatch-nya dicantumkan.

Isi permintaan

Isi permintaan harus kosong.

Isi respons

Respons ListWatchesRequest.

Jika berhasil, isi respons memuat data dengan struktur berikut:

Representasi JSON
{
  "watches": [
    {
      object (Watch)
    }
  ]
}
Kolom
watches[]

object (Watch)

Smartwatch yang ditampilkan.

Cakupan otorisasi

Memerlukan salah satu cakupan OAuth berikut:

  • https://www.googleapis.com/auth/drive
  • https://www.googleapis.com/auth/drive.file
  • https://www.googleapis.com/auth/drive.readonly
  • https://www.googleapis.com/auth/forms.body
  • https://www.googleapis.com/auth/forms.body.readonly
  • https://www.googleapis.com/auth/forms.responses.readonly

Untuk informasi selengkapnya, lihat Panduan otorisasi.