Liking cljdoc? Tell your friends :D

happygapi.forms.forms

Google Forms API: forms. Reads and writes Google Forms and responses. See: https://developers.google.com/forms/apiapi/reference/rest/v1/forms

Google Forms API: forms.
Reads and writes Google Forms and responses.
See: https://developers.google.com/forms/apiapi/reference/rest/v1/forms
raw docstring

batchUpdate$clj

(batchUpdate$ auth parameters body)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/batchUpdate

Required parameters: formId

Optional parameters: none

Body:

{:includeFormInResponse boolean, :requests [{:updateFormInfo UpdateFormInfoRequest, :updateSettings UpdateSettingsRequest, :createItem CreateItemRequest, :moveItem MoveItemRequest, :deleteItem DeleteItemRequest, :updateItem UpdateItemRequest}], :writeControl {:requiredRevisionId string, :targetRevisionId string}}

Change the form with a batch of updates.

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/batchUpdate

Required parameters: formId

Optional parameters: none

Body: 

{:includeFormInResponse boolean,
 :requests [{:updateFormInfo UpdateFormInfoRequest,
             :updateSettings UpdateSettingsRequest,
             :createItem CreateItemRequest,
             :moveItem MoveItemRequest,
             :deleteItem DeleteItemRequest,
             :updateItem UpdateItemRequest}],
 :writeControl {:requiredRevisionId string, :targetRevisionId string}}

Change the form with a batch of updates.
sourceraw docstring

create$clj

(create$ auth parameters body)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/create

Required parameters: none

Optional parameters: none

Body:

{:formId string, :info {:title string, :documentTitle string, :description string}, :settings {:quizSettings QuizSettings}, :items [{:description string, :imageItem ImageItem, :pageBreakItem PageBreakItem, :questionItem QuestionItem, :title string, :textItem TextItem, :questionGroupItem QuestionGroupItem, :videoItem VideoItem, :itemId string}], :revisionId string, :responderUri string, :linkedSheetId string}

Create a new form using the title given in the provided form message in the request. Important: Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/create

Required parameters: none

Optional parameters: none

Body: 

{:formId string,
 :info {:title string, :documentTitle string, :description string},
 :settings {:quizSettings QuizSettings},
 :items [{:description string,
          :imageItem ImageItem,
          :pageBreakItem PageBreakItem,
          :questionItem QuestionItem,
          :title string,
          :textItem TextItem,
          :questionGroupItem QuestionGroupItem,
          :videoItem VideoItem,
          :itemId string}],
 :revisionId string,
 :responderUri string,
 :linkedSheetId string}

Create a new form using the title given in the provided form message in the request. *Important:* Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.
sourceraw docstring

get$clj

(get$ auth parameters)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/get

Required parameters: formId

Optional parameters: none

Get a form.

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/get

Required parameters: formId

Optional parameters: none

Get a form.
sourceraw docstring

responses-get$clj

(responses-get$ auth parameters)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/responses/get

Required parameters: formId, responseId

Optional parameters: none

Get one response from the form.

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/responses/get

Required parameters: formId, responseId

Optional parameters: none

Get one response from the form.
sourceraw docstring

responses-list$clj

(responses-list$ auth parameters)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/responses/list

Required parameters: formId

Optional parameters: filter, pageSize, pageToken

List a form's responses.

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/responses/list

Required parameters: formId

Optional parameters: filter, pageSize, pageToken

List a form's responses.
sourceraw docstring

watches-create$clj

(watches-create$ auth parameters body)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/watches/create

Required parameters: formId

Optional parameters: none

Body:

{:watch {:id string, :target WatchTarget, :eventType string, :createTime string, :expireTime string, :errorType string, :state string}, :watchId string}

Create a new watch. If a watch ID is provided, it must be unused. For each invoking project, the per form limit is one watch per Watch.EventType. A watch expires seven days after it is created (see Watch.expire_time).

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/watches/create

Required parameters: formId

Optional parameters: none

Body: 

{:watch {:id string,
         :target WatchTarget,
         :eventType string,
         :createTime string,
         :expireTime string,
         :errorType string,
         :state string},
 :watchId string}

Create a new watch. If a watch ID is provided, it must be unused. For each invoking project, the per form limit is one watch per Watch.EventType. A watch expires seven days after it is created (see Watch.expire_time).
sourceraw docstring

watches-delete$clj

(watches-delete$ auth parameters)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/watches/delete

Required parameters: formId, watchId

Optional parameters: none

Delete a watch.

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/watches/delete

Required parameters: formId, watchId

Optional parameters: none

Delete a watch.
sourceraw docstring

watches-list$clj

(watches-list$ auth parameters)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/watches/list

Required parameters: formId

Optional parameters: none

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.

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/watches/list

Required parameters: formId

Optional parameters: none

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.
sourceraw docstring

watches-renew$clj

(watches-renew$ auth parameters body)

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/watches/renew

Required parameters: formId, watchId

Optional parameters: none

Body:

{}

Renew an existing watch for seven days. The state of the watch after renewal is ACTIVE, and the expire_time is seven days from the renewal. Renewing a watch in an error state (e.g. SUSPENDED) succeeds if the error is no longer present, but fail otherwise. After a watch has expired, RenewWatch returns NOT_FOUND.

https://developers.google.com/forms/apiapi/reference/rest/v1/forms/watches/renew

Required parameters: formId, watchId

Optional parameters: none

Body: 

{}

Renew an existing watch for seven days. The state of the watch after renewal is `ACTIVE`, and the `expire_time` is seven days from the renewal. Renewing a watch in an error state (e.g. `SUSPENDED`) succeeds if the error is no longer present, but fail otherwise. After a watch has expired, RenewWatch returns `NOT_FOUND`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close