برای اینکه به سازندگان فرم کنترل بیشتری بر روی افرادی که میتوانند پاسخ دهند، کنترلهای جزئی را برای پاسخدهندگان معرفی میکنیم. فرم هایی که پس از 31 ژانویه 2026 با API ایجاد می شوند، به طور پیش فرض دارای وضعیت منتشر نشده خواهند بود. برای کسب اطلاعات بیشتر، تغییرات API در Google Forms را ببینید.
برای تماس با این سرویس، توصیه می کنیم از کتابخانه های سرویس گیرنده ارائه شده توسط Google استفاده کنید. اگر برنامه شما نیاز به استفاده از کتابخانه های خود برای فراخوانی این سرویس دارد، هنگام درخواست API از اطلاعات زیر استفاده کنید.
سند کشف
Discovery Document یک ویژگی قابل خواندن توسط ماشین برای توصیف و مصرف API های REST است. از آن برای ساخت کتابخانه های سرویس گیرنده، پلاگین های IDE و سایر ابزارهایی که با Google API در تعامل هستند استفاده می شود. یک سرویس ممکن است چندین سند کشف را ارائه دهد. این سرویس سند کشف زیر را ارائه می دهد:
نقطه پایانی سرویس یک URL پایه است که آدرس شبکه یک سرویس API را مشخص می کند. یک سرویس ممکن است چندین نقطه پایانی سرویس داشته باشد. این سرویس دارای نقطه پایانی سرویس زیر است و همه URI های زیر مربوط به این نقطه پایانی سرویس هستند:
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],["The API allows interaction with Google Forms and their responses. It supports creating new forms, retrieving specific forms, and batch updating forms. For responses, users can retrieve a single response or list all responses for a given form. The API also manages watches, enabling the creation, deletion, listing, and renewal of watches associated with forms. The base URL for the service is `https://forms.googleapis.com`.\n"],null,["Reads and writes Google Forms and responses.\n\n- [REST Resource: v1.forms](#v1.forms)\n- [REST Resource: v1.forms.responses](#v1.forms.responses)\n- [REST Resource: v1.forms.watches](#v1.forms.watches)\n\nService: forms.googleapis.com\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\nDiscovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://forms.googleapis.com/$discovery/rest?version=v1\u003e\n\nService endpoint \n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://forms.googleapis.com`\n\nREST Resource: [v1.forms](/workspace/forms/api/reference/rest/v1/forms)\n\n| Methods ||\n|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| [batchUpdate](/workspace/forms/api/reference/rest/v1/forms/batchUpdate) | `POST /v1/forms/{formId}:batchUpdate` Change the form with a batch of updates. |\n| [create](/workspace/forms/api/reference/rest/v1/forms/create) | `POST /v1/forms` Create a new form using the title given in the provided form message in the request. |\n| [get](/workspace/forms/api/reference/rest/v1/forms/get) | `GET /v1/forms/{formId}` Get a form. |\n| [setPublishSettings](/workspace/forms/api/reference/rest/v1/forms/setPublishSettings) | `POST /v1/forms/{formId}:setPublishSettings` Updates the publish settings of a form. |\n\nREST Resource: [v1.forms.responses](/workspace/forms/api/reference/rest/v1/forms.responses)\n\n| Methods ||\n|---------------------------------------------------------------------|---------------------------------------------------------------------------------|\n| [get](/workspace/forms/api/reference/rest/v1/forms.responses/get) | `GET /v1/forms/{formId}/responses/{responseId}` Get one response from the form. |\n| [list](/workspace/forms/api/reference/rest/v1/forms.responses/list) | `GET /v1/forms/{formId}/responses` List a form's responses. |\n\nREST Resource: [v1.forms.watches](/workspace/forms/api/reference/rest/v1/forms.watches)\n\n| Methods ||\n|-----------------------------------------------------------------------|----------------------------------------------------------------------------------------------|\n| [create](/workspace/forms/api/reference/rest/v1/forms.watches/create) | `POST /v1/forms/{formId}/watches` Create a new watch. |\n| [delete](/workspace/forms/api/reference/rest/v1/forms.watches/delete) | `DELETE /v1/forms/{formId}/watches/{watchId}` Delete a watch. |\n| [list](/workspace/forms/api/reference/rest/v1/forms.watches/list) | `GET /v1/forms/{formId}/watches` Return a list of the watches owned by the invoking project. |\n| [renew](/workspace/forms/api/reference/rest/v1/forms.watches/renew) | `POST /v1/forms/{formId}/watches/{watchId}:renew` Renew an existing watch for seven days. |"]]