Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 17.2 KB

File metadata and controls

19 lines (16 loc) · 17.2 KB

AnswerCreationData

Fields

Field Type Required Description Example
question Optional[str] N/A Why is the sky blue?
question_variations List[str] Additional ways of phrasing this question.
body_text Optional[str] The plain text answer to the question. From https://en.wikipedia.org/wiki/Diffuse_sky_radiation, the sky is blue because blue light is more strongly scattered than longer-wavelength light.
board_id Optional[int] : warning: ** DEPRECATED **: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Answer Boards no longer supported.

The parent board ID of this Answer, or 0 if it's a floating Answer. Adding Answers to Answer Boards is no longer permitted.
audience_filters List[models.FacetFilter] Filters which restrict who should see the answer. Values are taken from the corresponding filters in people search.
added_roles List[models.UserRoleSpecification] A list of user roles for the answer added by the owner.
removed_roles List[models.UserRoleSpecification] A list of user roles for the answer removed by the owner.
roles List[models.UserRoleSpecification] A list of roles for this answer explicitly granted by an owner, editor, or admin.
source_document_spec Optional[models.DocumentSpecUnion] N/A
source_type Optional[models.AnswerCreationDataSourceType] N/A
added_collections List[int] IDs of Collections to which a document is added.
combined_answer_text Optional[models.StructuredTextMutableProperties] N/A