Updates a form.
Optional. The list of fields to be updated.
If not provided (i.e., the mask is omitted), the server will update all fields that are populated in the workspace_form message in this request (i.e., fields that have a non-empty value).
The special value * can be used for a full replacement of the resource, equivalent to a PUT operation. When using *, be cautious as new fields added to the resource in the future will also be updated.
For robust updates, explicitly specifying the fields is recommended.
See AIP-134 (Standard Update) and AIP-161 (Field Masks) for more details.
Required. The form to update.
The form's name field is used to identify the form to update. Format: forms/{form} Format: workspaces/{workspace}/forms/{form}
(IDENTIFIER) The resource name of the form. Format: forms/{form} Format: workspaces/{workspace}/forms/{form} string.resource_name = ["forms/", "workspaces//forms/*"] // value must be a valid resource name
(IMMUTABLE) Immutable. The resource name of the form definition used to create this form. Required when creating a form. Format: formDefinitions/{form_definition} string.resource_name = ["formDefinitions/*"] // value must be a valid resource name
Required. The responses to the form questions, stored as a JSON object.
(OPTIONAL) Optional. The etag of the resource. Used for optimistic concurrency control as per AIP-154. string.etag = true // etag must be at most 256 characters
(OPTIONAL) Optional. A mutable, user-settable field for providing a human-readable name for the form, to be used in user interfaces. Must be <= 63 characters. string.display_name = true // value must be at most 63 characters
- Mock serverhttps://docs.bndry.net/_mock/apis/openapi/v1alpha/forms/{form}
- BNDRY APIhttps://api.bndry.app/v1alpha/forms/{form}
curl -i -X PATCH \
'https://docs.bndry.net/_mock/apis/openapi/v1alpha/forms/{form}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"formDefinition": "formDefinitions/kyc-beneficial-ownership",
"response": {
"property1": null,
"property2": null
},
"etag": "string",
"displayName": "KYC Identity Verification - Jane Smith",
"workspaces": [
"workspaces/due-diligence-ws-123"
]
}'Success
(IDENTIFIER) The resource name of the form. Format: forms/{form} Format: workspaces/{workspace}/forms/{form} string.resource_name = ["forms/", "workspaces//forms/*"] // value must be a valid resource name
(IMMUTABLE) Immutable. The resource name of the form definition used to create this form. Required when creating a form. Format: formDefinitions/{form_definition} string.resource_name = ["formDefinitions/*"] // value must be a valid resource name
Output only. The schema of the form, derived from the form definition.
Required. The responses to the form questions, stored as a JSON object.
Output only. The timestamp when the form was created.
Output only. The timestamp when the form was most recently updated.
(OPTIONAL) Optional. The etag of the resource. Used for optimistic concurrency control as per AIP-154. string.etag = true // etag must be at most 256 characters
(OPTIONAL) Optional. A mutable, user-settable field for providing a human-readable name for the form, to be used in user interfaces. Must be <= 63 characters. string.display_name = true // value must be at most 63 characters
{ "name": "string", "formDefinition": "formDefinitions/kyc-beneficial-ownership", "formkitSchema": { "nodes": { … } }, "response": { "property1": null, "property2": null }, "createTime": "2023-01-15T01:30:15.01Z", "updateTime": "2023-01-15T01:30:15.01Z", "etag": "string", "displayName": "KYC Identity Verification - Jane Smith", "workspaces": [ "workspaces/due-diligence-ws-123" ], "state": "STATE_UNSPECIFIED" }