Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
89 views

Absence of `order` and `sort` in rest calls?

Will absence of order and sort give the same result as order=desc and sort=activity always in every call (it is default in every call)?
amit jha's user avatar
  • 842
2 votes
1 answer
68 views

`fromdate` and `todate` parameter in `/me` call

What if we don't give the fromdate and/or todate parameters in a /me call? Will it give result of user of all times? It's not mentioned explicitly in documentation.
amit jha's user avatar
  • 842
1 vote
1 answer
95 views

Why is the `site` parameter required in `/me` call?

I want to query information about the logged-in user using me, and this site parameter is creating some small problems. I am developing a visual studio extension where upon logging in a user will get ...
amit jha's user avatar
  • 842
1 vote
1 answer
50 views

`types=main_site` in `/me/associated` gives `meta_site` accounts also

When I run /me/associated with main_site as a parameter in types, its gives meta_site accounts also (Meta Stack Exchange profile).
amit jha's user avatar
  • 842
5 votes
1 answer
199 views

Is there a way to specify how long I want an access token to be valid for?

I am following the explicit authentication path. I am not passing no_expiry as part of the scope. After the final POST step, I receive back an expires value of 86399 (just shy of a full day). It ...
Andy's user avatar
  • 417
2 votes
0 answers
224 views

Stackoverflow Javascript Authentication error

Using the Stack Overflow javascript authentication API, I get this error: Application Login Failure An error occurred while login into an application. Error Details error description: ...
Mahahari's user avatar
  • 129
3 votes
1 answer
88 views

The /tags query is not giving me the correct results between two dates?

I'm trying to get the yearly total number of questions that have the tag browserify. I can see that there are questions tagged from this year like this one and that one. The site reports that there ...
Jeremy Larter's user avatar
2 votes
1 answer
60 views

Advanced search doesn't return expected results when using min & max (dates) together?

I want to use the Advanced Search API to get the same results as the Stack Overflow site search. With it, I can see new questions on 11/10/2015. When I tried to craft a query using the Advanced ...
Jason Li's user avatar
3 votes
1 answer
56 views

Reputation_change has the historical total rather than the daily delta?

I'm trying to use the reputation API to get the recent reputation delta for a given user. For example, looking at recent entries for /2.2/users/21539/reputation, one has: { on_date: 1447018487, ...
David Ebbo's user avatar
4 votes
1 answer
78 views

How to monitor (for new) accepted answers by certain tags?

In practice, I don't know the IDs of the questions, but I can search for answers by given tag(s). The problem is how to find (newly) accepted answers. The "activity time" does not work for this. For ...
Jason Li's user avatar
3 votes
1 answer
201 views

Search for answers/comments under questions with certain tags using the Stack Overflow API?

The advanced search (/search/advanced) API can search for questions by tags. But /users/{ids}/answers API doesn't take tags. I'd like to monitor answers/comments for questions with certain tags. Is ...
Jason Li's user avatar
1 vote
1 answer
43 views

The API /tag stats are notably different from the site totals

Why this discrepancy? --Sep 10 2015 11:26:09 GMT+0530 (IST)-- At that time, the API shows 42010 tags. But the same thing computed on the Stack Overflow tags page is 44496. Is it because of caching?
deostroll's user avatar
  • 111
3 votes
1 answer
1k views

Got a Bad Status Line

Since about 10 AM US-CDT on August 8, 2015, I've been getting ('http protocol error', 0, 'got a bad status line', None) on a /users/{ids}/associated query after several successful such queries ...
Dennis Williamson's user avatar
3 votes
1 answer
154 views

How to calculate users, who have posted (question/answer) using specific tag?

For example, if I want to know the number of users who asked and answered about PHP. Currently, I can just get the list of questions and its total number, but it's not enough, because one user could ...
Yury Andreykovich's user avatar
0 votes
0 answers
45 views

`/me/associated` gives ambiguous/wrong response [duplicate]

This is my associated accounts page. No where I can see Meta Stack Overflow profile. But when I run /me/associated with meta_site as parameter to types, I get a response that tells me that I have a ...
amit jha's user avatar
  • 842
3 votes
1 answer
174 views

Difference between `/inbox/unread` & `/me/inbox/unread`

I ran /inbox/unread & /me/inbox/unread. What is the difference between the two? Also, the site parameter which we give in call to /me/inbox/unread is not required as inbox_item refers to global ...
amit jha's user avatar
  • 842
3 votes
1 answer
60 views

`body` of `inbox_item` returning only excerpt, not full body

I have run /inbox/unread function. It returns a list of inbox_items. The body of inbox_item gives excerpt, not the full body. This is with all the functions that return inbox_item. According to ...
amit jha's user avatar
  • 842
2 votes
1 answer
85 views

How to find questions that were posted or edited recently?

The api function documented at http://api.stackexchange.com/docs/questions lets me list questions on a site. How do I sort this so that I see questions that are recently posted, edited, including ...
b_jonas's user avatar
  • 153
3 votes
0 answers
170 views

What's the proper way to fetch the score of all answers of SO?

I wrote a small program querying the SE API to grab the public scoring data of all SO answers (excluding the last 3 days). Basically the request I do gets me this: Questions[]: Id Title ...
Denys Séguret's user avatar
5 votes
1 answer
92 views

How can I access a user's ID on another site (eg. SU) if I have their ID from another site (eg. SO)?

If I have the ID of a user from any site, how can I get that's user's ID for a site I specify? Eg. If someone's ID was 10349 on Super User, how could I get 10349's id on Stack Overflow? I know I'd ...
ᔕᖺᘎᕊ's user avatar
  • 4,385
0 votes
1 answer
99 views

How to get the "People reached" stat of a user, using the API? [duplicate]

I checked the user ids and advanced search API docs, but I could not get this stat. Does Stack Exchange provide this info in the API? /2.2/users/{ID}?order=desc&sort=reputation&site=...
Mohan Krishna's user avatar
5 votes
1 answer
108 views

Is it possible to have no sorting - to just show results in order of inputted IDs?

I'm trying to send multiple IDs at once (up to a max of 100), but need to use the data in the same order I send the request with. So, if I send IDs in an arbitary order like 4;1;3;2, I would like to ...
ᔕᖺᘎᕊ's user avatar
  • 4,385
2 votes
1 answer
165 views

Question up-voting is not working from my code?

I am trying to upvote a question using the Stack Exchange API in android, via the /2.2/questions/{questionID}/upvote route. But in the log, it's just showing something like: org.apache.http....
Sudheer's user avatar
  • 123
3 votes
1 answer
124 views

Help with javascript SDK configuration

The following problem is REAL! All names have been changed to protect the innocent. I have a site at "http://Something.github.io/MyRepository/Directory/index.html" And I have my app configured like ...
Jack Sprat's user avatar
2 votes
1 answer
81 views

Obtain JSON equivalent of a full Q&A HTML page?

I want to write an application for which, after some logic to select a set of questions, it would be most convenient to get the whole set of stuff at once that is normally shown on a Stack Exchange Q&...
Lutz Prechelt's user avatar
2 votes
0 answers
34 views

How do I sort the /2.2/notifications endpoint?

I do not find information on the notifications api page. I am looking at this: https://api.stackexchange.com/docs/notifications I would like to be able to sort by creations date and other fields. is ...
Angel S. Moreno's user avatar
1 vote
0 answers
58 views

Procedure for posting questions using the API, v2.2?

I want use one of the Stack Exchange V2.2 API (e.g. /questions/add) to post Stack Overflow questions from my website. I didn't find any app which is currently using the API for posting questions. As ...
user2621858's user avatar
1 vote
1 answer
245 views

StackExchange API's request data is blank in Drupal 7

I'm trying to implement this simple request in Drupal 7 on my local machine: $request = drupal_http_request('https://api.stackexchange.com/2.2/users?order=desc&sort=reputation&site=...
Djouuuuh's user avatar
  • 173
2 votes
1 answer
316 views

Does verifying OAuth2 `access_token` validity count towards API call quota?

Does this Stack Exchange API endpoint count towards quota usage? : http://api.stackexchange.com/docs/read-access-tokens (This is the most promising API call I found for verifying the validity of ...
Gima's user avatar
  • 123
5 votes
1 answer
73 views

Possible to get a user's flag history?

Is it possible to retrieve a signed-in user's flagging history, preferably with the status of the flag? I looked at the /me/timeline docs, and noticed it doesn't return flags. Is this type of ...
Andy's user avatar
  • 417
17 votes
1 answer
255 views

List of Votes by Authenticated users

In the API documentation for the question type, it says that you can access, for a specific question, whether or not the authenticated user (in the private_info scope) upvoted/downvoted the question. ...
Nick Peterson's user avatar
3 votes
0 answers
70 views

How do I access the greatest hits (questions) via API v2.2.?

The greatest hits (questions) of any stack exchange site (say stack overflow) can be found by visiting the below URL: https://stackoverflow.com/questions/greatest-hits I would want to access these ...
defau1t's user avatar
  • 131
12 votes
2 answers
6k views

Can the redirect_uri contain port number?

Is it possible to have the redirect_uri contain a specific port? For example: example.com:8080 Assuming that example.com is my registered domain, is the 8080 allowed? I have tried to put it as part ...
Andy's user avatar
  • 417
2 votes
0 answers
32 views

Is there an API for adding a user to a site?

With 2.2, I've begun implementing some write features in my app. I've started with voting. When you vote on a question on a site that isn't in a users associated accounts, you get the error "The ...
andrewsomething's user avatar
3 votes
1 answer
100 views

How to search answers like is:answer

How can I use the API to search for answers containing particular text or with particular properties? For example, this link allows me to search for is:answer foo, that is, answers containing foo. Can ...
elixenide's user avatar
  • 173
1 vote
1 answer
55 views

I could POST a question but it does not have a `question_id` and it does not show up in my account

I could successfully create a question for my StackApp and I got this response (NSDictionary output): { "has_more" = 0; items = ( { "creation_date" = ...
Besi's user avatar
  • 533
2 votes
1 answer
29 views

Use case for /render endpoints?

In the new v2.2 API there are /render endpoints, such as /questions/{id}/answers/render. What are these for? Testing applications without actually posting anything?
Jonathan.'s user avatar
  • 3,118
1 vote
1 answer
134 views

Getting questions that have a specific tag or tags?

In the current API (2.1 and 2.2), how do you get questions that have a specific tag or tags? EG: All Stack Overflow questions asked in the past 2 months tagged 'ruby'? All Stack Overflow questions ...
Bob Walsh's user avatar
  • 113

1
2