Actions29
- Media Actions
- Page Reference Actions
- Search Actions
- Template Actions
- Page Actions
- Add Section To Body
- Execute Actions On Page
- List Pages
- Create Page
- Get Input Element Of Form
- Update Input Element Of Form
- Get Input Element Of Section Form
- Update Input Element Of Section Form
- Get Page
- Get Input Elements Of Form From Page
- Get Bodies Of Page
- Get Body Of Page By Name
- Get Input Elements Of Section Form From Page
- Script Actions
- Project Actions
Page → Update Input Element Of Section Form
AI-generatedSummary
Update an input element within a section form of a specified body in a FirstSpirit page by sending a JSON payload to modify its data.
Inputs
- Project ID (required) — The ID of the project containing the page.
- Page UID (required) — The unique identifier of the page to update.
- Body Name (required) — The name of the body within the page that contains the section.
- Section Name (required) — The name of the section within the body to target.
- Editor Name (required) — The technical identifier of the input element to update within the section form.
- Content (required) — Raw JSON string representing the new data to patch the input element with.
Output shape
a single JSON object representing the API's response to the PATCH request
The response JSON corresponds to the updated input element data returned by the FirstSpirit REST API. The operation sends a PATCH request and returns the API response directly.
Examples
Example 1: Update the data of an input element named 'inputText1' inside section 'mainSection' of body 'defaultBody' in page with UID 'homepage' in project 'myProject123'. Provide the update data as a JSON payload in the Content field.
Set Project ID to 'myProject123', Page UID to 'homepage', Body Name to 'defaultBody', Section Name to 'mainSection', Editor Name to 'inputText1', and Content to the desired JSON patch.