json.extract! question, :id, :created_at, :updated_at, :text json.url api_v1_question_url(question)