Method: forms.watches.list

Menampilkan daftar smartwatch yang dimiliki oleh project yang memanggil. Jumlah maksimum smartwatch adalah dua: Untuk setiap pemanggil, 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 tontonannya akan 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 mengetahui informasi selengkapnya, lihat Panduan otorisasi.