Can anyone explain "new_question" field in survey_spec?

The thing is - when showing survey_spec via API, there is a field named “new_question” of type boolean for each survey question. It seems to be somehow mandatory, yet when I create new elements via API without this field, it gets anyway added automatically.

I searched through the entire source code of AWX and did not found any use of this attribute. I am really interested what is it used for, and whether should I set it to true or false when creating new survey questions via API.

This is my first post on this forum, so Welcome everyone!

2 Likes

Never noticed this myself until you mentioned it. Lo and behold there it is in the API. Interested to see if there’s a reason for it now too.