Questions tagged [api-v2.1]

For questions relating to version 2.1 of the Stack Exchange API.

Filter by
Sorted by
Tagged with
4 votes
1 answer
596 views

How to create API filters?

I used the following request link to extract data from the Stack Exchange API. But I have no idea how to create "filter" as used in the request line. Please help me understand the creation of such ...
Manish Bhanu's user avatar
5 votes
1 answer
145 views

The API /questions/{ids}/timeline path doesn't return several items that occurred after the fromdate parameter

I need to get all the question activity after some particular time. I am using the timeline API, like so:       /questions/20032212/timeline?fromdate=1384705610&site=stackoverflow.com But it ...
Sachin Jain's user avatar
7 votes
1 answer
74 views

Allow post type to optionally return title field

Currently, it's possible to get the title field from the question type returned by /questions/{ids} and from the answer type returned by /answers/{ids}, using the appropriate filters. Unfortunately, ...
Tim Stone's user avatar
  • 4,686
6 votes
1 answer
108 views

/users/{ids}/timeline creation_date missing or incorrect

I am writing a small widget that displays the time since I was awarded my last badge on Stack Overflow. I noticed that my most recent badge was missing from the timeline data (/users/{ids}/timeline). ...
Steph Sharp's user avatar
5 votes
1 answer
2k views

Desktop login URL: WebBrowser hangs (.NET) - JavaScript endless-loop

I am using .NET 4 and trying to use the desktop authentication via the web-browser control (WPF and/or WinForms; StackApp NNTP bridge for accessing StackExchange forums (like StackOverflow)). It seems ...
Jochen Kalmbach's user avatar
4 votes
0 answers
119 views

Parameter `tagged` in `search/advanced` seems to use `AND` instead of `OR`

It seems that search/advanced has the same problem as in "The tagged parameter does not work with multiple tags" question. When I select c#; .net I only get results tagged both c# and .net: http://...
Andrey Shchekin's user avatar
3 votes
1 answer
153 views

Inbox item not marked as read after viewing [duplicate]

Accessing inbox items using the following url: /me/inbox Unread inbox items remain unread (is_unread = true) even after that specific item has been read using the API (v2.1). The items are marked ...
Prasanna's user avatar
  • 348
1 vote
1 answer
99 views

How to sort by the newest question?

I'm trying to retrieve the latest questions posted in a particular tag. What's the equivalent for: http://stackoverflow.com/questions/tagged/php?sort=newest&pagesize=15 I see that v1.1 API is ...
Amal Murali's user avatar
0 votes
1 answer
125 views

Write comment API failing with error_id: 500

I am trying to test post comment with the following URL https://api.stackexchange.com/2.1/posts/10305691/comments/add?key=HIDDEN&access_token=HIDDEN&site=stackoverflow&preview=true&...
Prasanna's user avatar
  • 348