Questions tagged [api-v2]

This tag is for questions about the Stack Exchange API version 2. First released Feb 2012.

Filter by
Sorted by
Tagged with
7 votes
1 answer
124 views

Can we have the display_name field in the /me/associated route?

I'm reading the Authentication documentation and I've noticed that the /me/associated route returns fields like user_id, badges, reputation but not the display_name, even specifying a custom Filter. ...
systempuntoout's user avatar
6 votes
0 answers
210 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 ...
JLaanstra's user avatar
11 votes
0 answers
234 views

TIARA - a tool for enhancing SE beauty

About Quality is an important area of concern for Stack Exchange sites. Immediate quality concerns are generally handled through a combination of flagging and downvoting. However, some things don't ...
agent86's user avatar
  • 3,277
0 votes
1 answer
72 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.
Adam's user avatar
  • 809
2 votes
1 answer
70 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,"...
agent86's user avatar
  • 3,277
3 votes
2 answers
1k views

Python library for the StackExchange v2 API? [duplicate]

So I'm aware of Py-StackExchange and pyso.py, but neither covers the v2.0 API. Does anyone know of a Python library for the 2.0 API?
Kristian Glass's user avatar
1 vote
0 answers
25 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 ...
Jonathan.'s user avatar
  • 3,128
2 votes
1 answer
108 views

Reputation API to display a reputation history

I'm building something similar to the reputation graph / summary on the SO user page. The answer explains that the /users/{ids}/reputation API method gives a sum of reputation for the period. So ...
russau's user avatar
  • 193
1 vote
1 answer
46 views

Inbox unread since parameter not working

The since parameter of /inbox/unread no longer seems to work. I enter a date after the creation date of the item currently unread in my inbox and still the item is returned. I try putting in ...
Jonathan.'s user avatar
  • 3,128
16 votes
1 answer
1k views

Registering app for API 2.0 key without Oauth domain

I'm trying to register an app, but it states that I need to add an OAuth domain. But I have Enable Client Side OAuth Flow disabled, because I don't need it right now. I basically have two questions: ...
PeeHaa's user avatar
  • 315
0 votes
1 answer
60 views

Is there any API to support creating a new question on stackoverflow? [duplicate]

I know there is api for stackoverflow. It looks like the APIs are read-only, supporting the Get/Search operation. Is there any API to support creating a new question on stackoverflow?
iamsyt's user avatar
  • 3
1 vote
1 answer
67 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 ...
Mathias Bynens's user avatar
0 votes
1 answer
594 views

400 Error when attempting to retrieve authenticated user data

I am attempting to use the /me API to retrieve an authenticated user's details but I am receiving a 400 error. I am able to complete the OAuth2 dance and have been able to capture the access token ...
rhinds's user avatar
  • 101
0 votes
1 answer
35 views

Error when requesting the last page of results.

When I try to view the following URL: http://api.stackexchange.com/2.0/questions?page=93781&site=stackoverflow I get the error: { "error_id": 500, "error_name": "internal_error", "...
Nathan Osman's user avatar
  • 23.3k
0 votes
1 answer
76 views

Security certificate error when logging in with myOpenID

I have written an application that embeds the WebKit rendering engine (the same rendering engine used in Safari and Chrome). This application makes use of the /inbox route and therefore requires the ...
Nathan Osman's user avatar
  • 23.3k
12 votes
1 answer
156 views

Add close-vote information to the questions object

Would it be possible to add close/reopen vote information to the questions object? For example, you usually see something along the lines of: close (3) when a question has three (current) close-...
Marvin Pinto's user avatar
2 votes
1 answer
60 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.
Adam's user avatar
  • 809
1 vote
1 answer
38 views

API 2.0 is not returning Programmers in list of sites

Run https://api.stackexchange.com/2.0/sites. programmers.stackexchange.com is not in the response.
Adam's user avatar
  • 809
10 votes
2 answers
542 views

Serel: A Ruby Library with full support for API 2.0

Getting Started? Visit http://serel.tom.is for a whirlwind tour of the library. although it is still very much a tour in progress About Serel is Stack Exchange RElational Algebra, a fully ...
nobody's user avatar
  • 864
15 votes
2 answers
733 views

Bartlett—new questions, inbox items, and reputation in OS X

Bartlett is a Mac application that lets you keep track of the most recent questions, inbox items, and reputation items on your favorite Stack Exchange sites. You can be notified of new items by Growl ...
yuji's user avatar
  • 273
2 votes
1 answer
41 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 ...
nobody's user avatar
  • 864
4 votes
0 answers
283 views

Stack Tunnel - WebGL Visualization for Stack Exchange

Stack Tunnel Screenshots About StackTunnel is a WebGL visualization which displays the latest questions from any Stack Exchange site interactively within your web browser. You can click on the ...
Crashthatch's user avatar
2 votes
1 answer
48 views

Is there a way to get the edit URL for a tag wiki from the API?

I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github). One thing I would like to do is add links for the various tag-related ...
hippietrail's user avatar
1 vote
1 answer
67 views

Site_Type returns "main_site" for meta.stackoverflow.com

For Meta Stack Overflow, the 2.0/sites endpoint returns "main_site" rather than "meta_site". All other site_type for other stackexchange sites return correctly. URL: https://api.stackexchange.com/2.0/...
Crashthatch's user avatar
3 votes
1 answer
77 views

Is there a meta api?

Is there a meta API for StackExchange? I don't mean an API for accessing meta sites, but rather an API to get information about the API itself. What I'm looking for is something that I can call that ...
Dave DeLong's user avatar
  • 5,264
3 votes
0 answers
154 views

OAuth Dialog rendering problems in iPad

I'm using the implicit OAuth flow for our native iPad app. We're calling the standard URLs in a UIWebView. The Stack Exchange login renders with several UI glitches. The first screen looks correct: (...
bromanko's user avatar
  • 489
5 votes
1 answer
502 views

StatsExchange - low friction, API-based statistics generator

##Screenshot / Code Snippet ##About StatsExchange is an application that's designed to leverage the filtering and data reporting features of the Stack Exchange API. With StatsExchange, you can ...
agent86's user avatar
  • 3,277
5 votes
1 answer
105 views

Why doesn't the API return suggested edits on tag wikis?

Is there a reason why the API doesn't return suggested edits on tag wikis on the suggested-edits route?
Sathyajith Bhat's user avatar
2 votes
1 answer
95 views

No answer_id for Comment on answer inbox_item

According to the API documentation on inbox_item, inbox items corresponding to a comment on an answer to a question should have an answer_id field identifying the answer that the comment was on, but ...
yuji's user avatar
  • 273
3 votes
1 answer
4k views

OAuth redirect not completing

This is the URL that I'm entering (in Safari, cleared website data and cache; my app, uses own Cookie jar; and incognito chrome) https://stackexchange.com/oauth/dialog?client_id=23&scope=...
Jonathan.'s user avatar
  • 3,128
2 votes
1 answer
128 views

Sorting the event stream

It seems like the data returned from the /events endpoint is flawed by being returned in descending order. For example: { "items": [ { "event_type": "comment_posted", "event_id": ...
Dave DeLong's user avatar
  • 5,264
3 votes
1 answer
68 views

What happens when sites or the whole network go offline

Now that the API is all done on stackexchange.com. What happens if say just certain sites go offline (eg just Stackoverflow). Will the API continue to return results or will it return the HTML offline ...
Jonathan.'s user avatar
  • 3,128
1 vote
1 answer
44 views

Running queries from the Documentation pages hangs browser for minutes at a time

I've been playing with some queries on the documentation page, and I've noticed that it's taking an abnormally long time to load even reasonably sized API call results: https://api.stackexchange.com/...
agent86's user avatar
  • 3,277
1 vote
1 answer
307 views

Implicit OAuth flow is not working when the user is not logged in.

Here is the URL I am trying to use: https://stackexchange.com/oauth/dialog?client_id=120&scope=read_inbox,no_expiry&redirect_uri=https://stackexchange.com/oauth/login_success This works ...
Nathan Osman's user avatar
  • 23.3k
3 votes
1 answer
31 views

What's the simplest way to detect if a question was asked by a user whose account has been deleted?

What's the minimum filter and simplest way to detect if a question (by its ID) was asked by a user whose account has been deleted?
badp's user avatar
  • 955
6 votes
1 answer
58 views

Several staff members are incorrectly listed as elected moderators

Several employees are being reported as elected moderators on sites they haven't been elected on, according to /2.0/users/moderators/elected. I think there was a similar issue reported before during ...
nobody's user avatar
  • 864
2 votes
1 answer
33 views

Is data retrieved from /events dependent on the access token used to retrieve it?

This may seem like a bit of an unusual question at first but I'll try to explain where it's coming from. My PHP wrapper (Stack.PHP) offers a caching class that follows the guidelines in the API docs ...
Nathan Osman's user avatar
  • 23.3k
2 votes
1 answer
94 views

the stack exchange javascript library is 404

the library listed on the doc page for Authentication https://api.stackexchange.com/js/2.0/all.js ultimately redirects to https://api-v2cdn.sstatic.net/js/all.js which results in varying degrees ...
Sky Sanders's user avatar
  • 12.1k
2 votes
1 answer
47 views

There is a small discrepancy in the docs for users-id-associated

The main doc page, https://api.stackexchange.com/docs, shows /users/{id}/associated while the method page, https://api.stackexchange.com/docs/associated-users, uses /users/{ids}/associated. It's ...
Sky Sanders's user avatar
  • 12.1k
3 votes
1 answer
58 views

Events: field request

The "Event" object doesn't have an easy way for getting at the object relating to the event. There's a link field, but I don't fancy having to parse the information out of that (although I could). ...
Dave DeLong's user avatar
  • 5,264
3 votes
1 answer
74 views

Can we get write access to user favorites?

I'd like users of my app to be able to add questions to their favourites. Will this be added to the API as an authenticated call?
David Snabel-Caunt's user avatar
8 votes
0 answers
380 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) ...
laktek's user avatar
  • 111
11 votes
0 answers
284 views

Suggested Edits Queue for Mere Mortals

Screenshot About This Java command-line app gives you access to the Suggested Edits queue using the Stack Exchange 2.0 API. It is ideally suited for users in the 2000 <= reputation < 5000 ...
Marvin Pinto's user avatar
2 votes
1 answer
38 views

Answer vote counts are not correct

I was trying to figure out the total number of answers I have that have been downvoted, and at first everything seemed awesome since the total was zero. However, I knew this wasn't correct. For ...
agent86's user avatar
  • 3,277
3 votes
0 answers
36 views

Example responses

I think I may have asked this before. Would it be possible to have example responses for the inbox route. Eg I have no idea what a careers_invite would be like.
Jonathan.'s user avatar
  • 3,128
18 votes
1 answer
533 views

StackImpact - What's your impact?

Screenshot About I like to make contributions to Stack Exchange, and in return I gain rep. However, I find that rep doesn't really tell the whole story about what my contributions mean to the site. ...
agent86's user avatar
  • 3,277
6 votes
1 answer
132 views

How are filters created?

Can someone explain how Filters are created in the Stackexchange v2 API? The documentation mentions the following for /filters/create: It is not expected that many applications will call this method ...
Arvindh's user avatar
  • 61
1 vote
1 answer
45 views

Add last_access_date field to the shallow_user object

Would it be possible to add the last_access_date field to the shallow_user object? I presume this corresponds to the seen field when visiting someone's profile. My reasoning is that it saves the ...
Marvin Pinto's user avatar
4 votes
1 answer
48 views

In API 2.0, what happened to questions sorted by "featured?"

I was looking for a way to grab the list of "featured" questions via the API, and I stumbled across several answers that all point to the same solution: Shouldn't there be a separate call for ...
agent86's user avatar
  • 3,277
6 votes
1 answer
67 views

Accept rate not available in the 2.0 API

Would it be possible to add the accept_rate field to both the user and shallow_user objects? For example, using the 1.0 API, I can see that Jon Skeet has an accept rate of 95%. http://api....
Marvin Pinto's user avatar