Questions
Get a question
client.Questions.Get(ctx, questionID) (*QuestionUnion, error)
GET/v5/questions/{question_id}
Update a question
client.Questions.Update(ctx, questionID, body) (*QuestionUnion, error)
PATCH/v5/questions/{question_id}
Archive a question
client.Questions.Archive(ctx, questionID) (*QuestionUnion, error)
DELETE/v5/questions/{question_id}
Restore an archived question
client.Questions.Restore(ctx, questionID) (*QuestionUnion, error)
POST/v5/questions/{question_id}/restore
ModelsExpand Collapse
type CategoricalQuestion struct{…}
type CategoricalQuestion struct{…}
Configuration CategoricalQuestionConfiguration
Configuration CategoricalQuestionConfiguration
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type FormQuestion struct{…}
type FormQuestion struct{…}
Configuration FormQuestionConfiguration
Configuration FormQuestionConfiguration
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type FreeTextQuestion struct{…}
type FreeTextQuestion struct{…}
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type NumberQuestion struct{…}
type NumberQuestion struct{…}
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type QuestionUnion interface{…}
type QuestionUnion interface{…}
One of the following:
type CategoricalQuestion struct{…}
type CategoricalQuestion struct{…}
Configuration CategoricalQuestionConfiguration
Configuration CategoricalQuestionConfiguration
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type RatingQuestion struct{…}
type RatingQuestion struct{…}
Configuration RatingQuestionConfiguration
Configuration RatingQuestionConfiguration
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type NumberQuestion struct{…}
type NumberQuestion struct{…}
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type FreeTextQuestion struct{…}
type FreeTextQuestion struct{…}
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type FormQuestion struct{…}
type FormQuestion struct{…}
Configuration FormQuestionConfiguration
Configuration FormQuestionConfiguration
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type TimestampQuestion struct{…}
type TimestampQuestion struct{…}
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type RatingQuestion struct{…}
type RatingQuestion struct{…}
Configuration RatingQuestionConfiguration
Configuration RatingQuestionConfiguration
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.
type TimestampQuestion struct{…}
type TimestampQuestion struct{…}
CreatedBy IdentityThe identity that created the entity.
CreatedBy Identity
The identity that created the entity.