Questions tagged [api-v2]
This tag is for questions about the Stack Exchange API version 2. First released Feb 2012.
226 questions
1
vote
1
answer
80
views
How to get the question title for reputation history entries?
I'm trying to implement a simple rep list, much like as seen on Stack Exchange sites.
What I would like is to get three things: the rep change amount, type of change, and question title.
However, ...
18
votes
1
answer
300
views
Accessing Authenticated User's Close/Delete History
I'm working on the PHP chatroom's cv-pls backlog UI. Many users and myself would like the ability to track which questions we have already handled though close/delete votes. To be able to do that I ...
2
votes
1
answer
68
views
Mistake in API 2.0 Documentation - Wrong item type for Careers Message
On https://api.stackexchange.com/docs/types/inbox-item the Careers Message example shows the wrong item type.
2
votes
1
answer
95
views
Stack Exchange API is returning non-existant/incorrect notices for questions
When you view this question you do not see any notices other than the protected notice at bottom. Also, you are able to edit the answers and question (provided you have the privilege).
However, when ...
2
votes
1
answer
108
views
Top questions by tag and period
I want to get via API the most voted questions from the latest week (for example) from a specified tag (php, for example).
How can I do this?
3
votes
1
answer
94
views
In the API, User object, what are all these reputation properties?
I am going through the JSON that is resulting from calling the Stack Exchange User API.
I see a bunch of reputation fields.
private Number reputation;
private Number reputation_change_day;
private ...
2
votes
1
answer
79
views
How can I get a list of favorite/ignored tags?
I can not find an API method method that would provide me with a set of favorite/ignored tags for a given user. Is there such a method? If not, is there a recommended way to get this information?
2
votes
1
answer
140
views
Maximum length of "about me" in the Stack Exchange API?
What is the Maximum length of "about me" in the Stack Exchange API?
The one from the /me path.
And in general, where are the length limits published? If anywhere?
1
vote
1
answer
84
views
Ability to sort answers by number of revisions via StackExchange API v2?
I was curious whether there was a way to easily find which StackOverflow answer has the highest number of revisions and/or to sort by that metric.
I see mention of a sort function in the ...
2
votes
1
answer
79
views
Is question_id unique across all stackexchange sites?
The standard structure of a question URL is:
http://site.com/questions/question-id/title
Example:
http://stackoverflow.com/questions/457927/git-workflow-and-rebase-vs-merge-questions
It is however ...
3
votes
1
answer
81
views
Problem with /search tagged and max
Seems like a problem with /search when max is not set to today, and tagged is given:
https://api.stackexchange.com/2.1/search?order=desc&max=1358294400&sort=activity&tagged=java&site=...
2
votes
1
answer
39
views
type related_site not listed in 'by type' tab list
The type "related_site" is not listed in the 'by type' tab in documentation.
2
votes
1
answer
226
views
Using an existing Java oAuth implementation to access the Stack Exchange 2 Api?
I found the Scribe oAuth api and I was wondering how a call would work with the Stack Exchange API, since that uses oAuth. I'm sorta green when it comes to oAuth but I'm planning on writing an ...
3
votes
1
answer
62
views
When will the "site" field be absent from an "inbox_item"?
According to the documentation on the inbox_item type, the site field "may be absent". Under what circumstances will this occur?
2
votes
1
answer
80
views
how to get the number of profile views
according to the documentation, a User object has an attribute view_count, indicating the number of views of the user's profile. An example is also given there. However, when I sent a request
/2.0/...
5
votes
1
answer
86
views
Typos in the API 2.0 Documentation
Typo #1:
There are two different objects that represent a user in the Stack Exchange API, the full user object and the smaller shallow_user object. Which is returned depends on the method being ...
5
votes
1
answer
75
views
/posts/{id}/revisions breaks for posts with [tag:*] content
Attempting to access (at least) the revisions route for a post with a revision involving the [tag:*] syntax causes an error:
Example on Meta Stack Overflow (Post History)
Example on Mathematica (Post ...
0
votes
1
answer
84
views
2.0 tags API returns only created tags
Searching for tags, using the inname parameter AND a date range returns only the tags that were created in that period, not the tags that were used in that period. When searching by inname only, or ...
0
votes
1
answer
95
views
Add message ID to inbox items
Feature request: The inbox item object should include a message_id field. The ID should identify inbox messages uniquely within StackExchange.
6
votes
0
answers
227
views
ExchangeLinq: LINQ Query Provider for Stack Exchange API v2.0
ExchangeLinq is a LINQ Query Provider for the Stack Exchange API. It only supports API v2.0. It is currently in alpha state and is being developed for Exchange It, a Stack Exchange client for Windows ...
2
votes
1
answer
93
views
/answers endpoint is error-500-ing against many sites
Just calling the "/answers" endpoint, no specific arguments, and I'm getting 500 errors:
http://api.stackexchange.com/2.0/answers?order=desc&sort=activity&site=gaming
{"error_id":500,"...
1
vote
0
answers
35
views
Why are Meta sites' "site_state" = "linked_meta"?
In 2.0 there are the site_type and site_state fields. On Meta sites these fields give the same information, site_type = meta_site and site_state = linked_meta
Instead it would be more useful if ...
8
votes
0
answers
397
views
Stack on Go - A wrapper library in Go
Stack on Go - A wrapper library in Go
https://github.com/laktek/Stack-on-Go
Sample Code
session := stackongo.NewSession("stackoverflow")
//set the params
params := make(stackongo.Params)
...
2
votes
1
answer
68
views
/users/{id}/tags/{tags}/top-answers returning answers by other users
According to the description, /users/{id}/tags/{tags}/top-answers should return answers by the user on that particular tag.
Returns the top 30 answers a user has posted in response to questions with ...
1
vote
1
answer
94
views
Typo in throttle violation error message
I was just playing around with the API locally and got throttled for the questions and answers methods (the only two I was using).
Anyway, I noticed there’s a small typo in the error message that’s ...