Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Feature idea: API endpoint to check survey activation consistency

  • tammo
  • tammo's Avatar Topic Author
  • Away
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
6 hours 41 minutes ago #274863 by tammo
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.17.x
Own server or LimeSurvey hosting: own
Survey theme/template: irrelevant
==================

Hi LimeSurvey developer,

What would you think of adding a RemoteControl API method that checks whether a survey is activation-ready, without actually activating it?

Right now, integrations typically learn about consistency issues only when calling activation. A read-only precheck endpoint would help external tools provide clear guidance before activation.

Suggested output:
  • is_consistent (true/false)
  • blocking errors
  • warnings
  • optional rule-level details (for example: no groups, no questions, no active questions, groups without questions)
This would improve UX and reduce failed activation attempts in integrations. I am working in Python now.

Thanks for considering it.

Tammo


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl

Please Log in to join the conversation.

More
6 hours 20 minutes ago #274864 by bismark
It is possible to create a plugin that performs additional checks before a survey is activated and prevents the activation if one of those checks fails, using the
Code:
beforeSurveyActivate
event.So I am wondering which specific consistency checks you have in mind for such an API endpoint.

markob.de

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose