@@ -59,13 +59,16 @@ service:
5959 fields :
6060 ' 0 ' :
6161 displayName : Email
62+ placeholder : Enter your email
6263 userVisible : true
6364 ' 1 ' :
6465 displayName : Email
66+ placeholder : Enter your email
6567 userVisible : true
6668 responseSettings :
6769 redirectUrl : https://example.com
6870 redirectMethod : GET
71+ redirectAction : POST https://example.com
6972 sendEmailConfirmation : true
7073 id : 589a331aa51e760df7ccb89e
7174 siteId : 580e63e98c9a982ac9b8b741
@@ -80,10 +83,12 @@ service:
8083 fields :
8184 ' 0 ' :
8285 displayName : Email
86+ placeholder : Enter your email
8387 userVisible : true
8488 responseSettings :
8589 redirectUrl : https://example.com
8690 redirectMethod : GET
91+ redirectAction : POST https://example.com
8792 sendEmailConfirmation : false
8893 id : 580ff8d7ba3e45ba9fe588e9
8994 siteId : 580e63e98c9a982ac9b8b741
@@ -136,6 +141,7 @@ service:
136141 660d5bcc9c0772150459dfb1 :
137142 displayName : Name
138143 type : Plain
144+ placeholder : Enter your email
139145 userVisible : true
140146 589a331aa51e760df7ccb89d :
141147 displayName : Email
@@ -145,6 +151,7 @@ service:
145151 responseSettings :
146152 redirectUrl : https://example.com
147153 redirectMethod : GET
154+ redirectAction : POST https://example.com
148155 sendEmailConfirmation : true
149156 id : 589a331aa51e760df7ccb89e
150157 siteId : 580e63e98c9a982ac9b8b741
@@ -430,6 +437,212 @@ service:
430437 limit : 25
431438 offset : 0
432439 total : 2
440+ list-submissions-by-form-and-site :
441+ path : /sites/{site_id}/forms/{form_id}/submissions
442+ method : GET
443+ auth :
444+ - OAuth2 :
445+ - forms:read
446+ docs : |
447+ List form submissions for a given form within a specific site.
448+
449+ Required scope | `forms:read`
450+ source :
451+ openapi : ../../../openapi/referenced-specs/v2.yml
452+ path-parameters :
453+ site_id :
454+ type : string
455+ docs : Unique identifier for a Site
456+ form_id :
457+ type : string
458+ docs : Unique identifier for a Form
459+ display-name : List Form Submissions by Form and Site
460+ request :
461+ name : FormsListSubmissionsByFormAndSiteRequest
462+ query-parameters :
463+ offset :
464+ type : optional<double>
465+ docs : >-
466+ Offset used for pagination if the results have more than limit
467+ records
468+ limit :
469+ type : optional<double>
470+ docs : ' Maximum number of records to be returned (max limit: 100)'
471+ response :
472+ docs : Request was successful
473+ type : root.FormSubmissionList
474+ status-code : 200
475+ errors :
476+ - root.BadRequestError
477+ - root.UnauthorizedError
478+ - root.ForbiddenError
479+ - root.NotFoundError
480+ - root.TooManyRequestsError
481+ - root.InternalServerError
482+ examples :
483+ - path-parameters :
484+ site_id : 580e63e98c9a982ac9b8b741
485+ form_id : 580e63e98c9a982ac9b8b741
486+ query-parameters :
487+ offset : 1.1
488+ limit : 1.1
489+ response :
490+ body :
491+ formSubmissions :
492+ - id : 6321ca84df3949bfc6752327
493+ displayName : Sample Form
494+ siteId : 62749158efef318abc8d5a0f
495+ workspaceId : 62749158efef318abc8d5a0f
496+ dateSubmitted : ' 2022-09-14T12:35:16Z'
497+ formResponse :
498+ First Name : Arthur
499+ Last Name : Dent
500+ - id : 660d64fabf6e0a0d4edab981
501+ displayName : Sample Form
502+ siteId : 62749158efef318abc8d5a0f
503+ workspaceId : 62749158efef318abc8d5a0f
504+ dateSubmitted : ' 2022-09-14T12:35:16Z'
505+ formResponse :
506+ First Name : Ford
507+ Last Name : Prefect
508+ pagination :
509+ limit : 25
510+ offset : 0
511+ total : 2
512+ get-submission-by-site :
513+ path : /sites/{site_id}/form_submissions/{form_submission_id}
514+ method : GET
515+ auth :
516+ - OAuth2 :
517+ - forms:read
518+ docs : |
519+ Get information about a form submission within a specific site.
520+
521+ Required scope | `forms:read`
522+ source :
523+ openapi : ../../../openapi/referenced-specs/v2.yml
524+ path-parameters :
525+ site_id :
526+ type : string
527+ docs : Unique identifier for a Site
528+ form_submission_id :
529+ type : string
530+ docs : Unique identifier for a Form Submission
531+ display-name : Get Form Submission by Site
532+ response :
533+ docs : Request was successful
534+ type : root.FormSubmission
535+ status-code : 200
536+ errors :
537+ - root.BadRequestError
538+ - root.UnauthorizedError
539+ - root.ForbiddenError
540+ - root.NotFoundError
541+ - root.TooManyRequestsError
542+ - root.InternalServerError
543+ examples :
544+ - path-parameters :
545+ site_id : 580e63e98c9a982ac9b8b741
546+ form_submission_id : 580e63e98c9a982ac9b8b741
547+ response :
548+ body :
549+ id : 6321ca84df3949bfc6752327
550+ displayName : Sample Form
551+ siteId : 62749158efef318abc8d5a0f
552+ workspaceId : 62749158efef318abc8d5a0f
553+ dateSubmitted : ' 2022-09-14T12:35:16Z'
554+ formResponse :
555+ First Name : Arthur
556+ Last Name : Dent
557+ delete-submission-by-site :
558+ path : /sites/{site_id}/form_submissions/{form_submission_id}
559+ method : DELETE
560+ auth :
561+ - OAuth2 :
562+ - forms:write
563+ docs : |
564+ Delete a form submission within a specific site.
565+
566+ Required scope | `forms:write`
567+ source :
568+ openapi : ../../../openapi/referenced-specs/v2.yml
569+ path-parameters :
570+ site_id :
571+ type : string
572+ docs : Unique identifier for a Site
573+ form_submission_id :
574+ type : string
575+ docs : Unique identifier for a Form Submission
576+ display-name : Delete Form Submission by Site
577+ errors :
578+ - root.BadRequestError
579+ - root.UnauthorizedError
580+ - root.ForbiddenError
581+ - root.NotFoundError
582+ - root.ConflictError
583+ - root.TooManyRequestsError
584+ - root.InternalServerError
585+ examples :
586+ - path-parameters :
587+ site_id : 580e63e98c9a982ac9b8b741
588+ form_submission_id : 580e63e98c9a982ac9b8b741
589+ update-submission-by-site :
590+ path : /sites/{site_id}/form_submissions/{form_submission_id}
591+ method : PATCH
592+ auth :
593+ - OAuth2 :
594+ - forms:write
595+ docs : |
596+ Update hidden fields on a form submission within a specific site.
597+
598+ Required scope | `forms:write`
599+ source :
600+ openapi : ../../../openapi/referenced-specs/v2.yml
601+ path-parameters :
602+ site_id :
603+ type : string
604+ docs : Unique identifier for a Site
605+ form_submission_id :
606+ type : string
607+ docs : Unique identifier for a Form Submission
608+ display-name : Modify Form Submission by Site
609+ request :
610+ name : FormsUpdateSubmissionBySiteRequest
611+ body :
612+ properties :
613+ formSubmissionData :
614+ type : optional<map<string, unknown>>
615+ docs : >-
616+ An existing **hidden field** defined on the form schema, and the
617+ corresponding value to set
618+ content-type : application/json
619+ response :
620+ docs : Request was successful
621+ type : root.FormSubmission
622+ status-code : 200
623+ errors :
624+ - root.BadRequestError
625+ - root.UnauthorizedError
626+ - root.ForbiddenError
627+ - root.NotFoundError
628+ - root.ConflictError
629+ - root.TooManyRequestsError
630+ - root.InternalServerError
631+ examples :
632+ - path-parameters :
633+ site_id : 580e63e98c9a982ac9b8b741
634+ form_submission_id : 580e63e98c9a982ac9b8b741
635+ request : {}
636+ response :
637+ body :
638+ id : 6321ca84df3949bfc6752327
639+ displayName : Sample Form
640+ siteId : 62749158efef318abc8d5a0f
641+ workspaceId : 62749158efef318abc8d5a0f
642+ dateSubmitted : ' 2022-09-14T12:35:16Z'
643+ formResponse :
644+ First Name : Arthur
645+ Last Name : Dent
433646 source :
434647 openapi : ../../../openapi/referenced-specs/v2.yml
435648 display-name : Forms
0 commit comments