Skip to main content

Search verified questions

Search verified questions

Request Body

The search options

  • questionText string

    Text content of the question

  • id number

    Unique identifier of the question

  • tagIds number[]

    Array of tag IDs for filtering

  • categoryIds number[]

    Array of category IDs for filtering

  • userIds number[]

    Array of user IDs for filtering

  • typeIds number[]

    Array of question type IDs for filtering

  • difficulties string[]

    Array of difficulty levels for filtering

  • order object
  • column string

    Possible values: [id, user_id, username, category_id, type_id, question_text, verified, difficulty_level, views_count, question_image, explanation, flagged, questions_created_at, questions_updated_at, deleted_at, archived_at, votes]

    Column to sort by

  • direction string

    Possible values: [asc, desc]

    Sorting direction

  • limit number

    Default value: 10

    Limit for the number of returned records

  • offset number

    Default value: 0

    Offset for pagination

Responses

Returns an array of verified questions based on search criteria.


Schema
  • questions object[] required

    Array of questions

  • Array [
  • id number required

    Unique identifier for the question

  • user object
  • id number required

    Unique identifier for the user

  • username string required

    Username of the user

  • role string required

    Role of the user (e.g., admin, user)

  • questionText string required

    Text content of the question

  • category object
  • id number

    Unique identifier for the category

  • name string

    Name of the category

  • description string

    Description of the category

  • questionType object
  • id number required

    Unique identifier for the question type

  • name string required

    Name of the question type

  • question_image string required

    Image associated with the question, if any

  • explanation string required

    Explanation or answer to the question

  • difficulty_level string required

    Difficulty level of the question

  • verified number required

    Verification status of the question

  • flagged number required

    Flag status of the question

  • votes number required

    Number of votes the question has received

  • numberOfAnswers number required

    Number of answers the question has received

  • userVote string required

    Possible values: [up, down, null]

    Vote status by the current user

  • created_at date-time required

    Date when the question was created

  • updated_at date-time required

    Date when the question was last updated

  • ]
  • totalCount number required

    Total number of questions

Loading...