Method: forms.watches.list

Return a list of the watches owned by the invoking project. The maximum number of watches is two: For each invoker, the limit is one for each event type per form.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
formId

string

Required. ID of the Form whose watches to list.

Request body

The request body must be empty.

Response body

The response of a ListWatchesRequest.

If successful, the response body contains data with the following structure:

JSON representation
{
  "watches": [
    {
      object (Watch)
    }
  ]
}
Fields
watches[]

object (Watch)

The returned watches.

Authorization scopes

Requires one of the following OAuth scopes:

  • 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

For more information, see the Authorization guide.