Quantcast
Viewing latest article 12
Browse Latest Browse All 589

How do I get the entire body text of my questions, answers, and comments from API requests?

I tried https://api.stackexchange.com/2.3/users/MY USER ID/timeline?sort=creation&page=1&pagesize=100&site=stackoverflow, then https://api.stackexchange.com/2.3/users/MY USER ID/timeline?sort=creation&page=2&pagesize=100&site=stackoverflow and continued to do the same requests incrementing page numbers until the API got to the last smaller page of data. I got an array called "items" that contained all of my questions, comments, answers, etc... but no body text.

I figured maybe if I requested "questions" individually it would give me the body text and then I could repeat this process for answers and comments. I ran https://api.stackexchange.com/2.3/questions/QUESTION ID 1;QUESTION ID 2;QUESTION ID 3;MORE QUESTION IDS SEPARATED BY SEMI COLONS ETC...?site=stackoverflow and the result still didn't have body text.

So how can I do a query that actually gives me the body text of my questions, answers, and/or comments?


Viewing latest article 12
Browse Latest Browse All 589

Trending Articles