Skip to main content

All Questions

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

Definitive on timeline_type?

Hi all, I am trying to get a definitive on what timeline_type actually means... I've looked at: https://stackapps.com/search?q=timeline_type but to no avail. The new documentation doesn't list ...
johnmcauley's user avatar
1 vote
1 answer
1k views

Where is the API located?

I want to know where is the API located and from where to download?
RPK's user avatar
  • 113
1 vote
1 answer
395 views

`key` is not valid for passed `access_token`, token not found (although seemingly valid authentication)

I've made an authentication flow for my app (which wants to read your inbox and sent notifications on your desktop). Which can be found here For this, I have created a stack app on this site. With the ...
Chiel's user avatar
  • 85
1 vote
1 answer
235 views

OAuth redirect_uri to https://stackexchange.com/oauth/login_success?xxx strips part of the query string

I have a browser extension that uses OAuth2 to retrieve an access token. As recommended by https://api.stackexchange.com/docs/authentication, I use https://stackoverflow.com/oauth/login_success as the ...
Rob W's user avatar
  • 2,669
1 vote
1 answer
693 views

No 'Access-Control-Allow-Origin' for oauth/access_token

Following the Stack Apps documentation Authentication (explicit) section I crafted this AJAX call $.ajax({ url:"https://stackexchange.com/oauth/access_token", type:"...
ajthinking's user avatar
1 vote
1 answer
87 views

Is my script's API usage okay?

I've written a short Python script to help people review C and C++ questions on Code Review. It uses the API version 2.2. I've already asked there for a review of that Python code, but I would ...
Edward's user avatar
  • 113
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
1 vote
1 answer
48 views

How can I filter events by event_type?

I am using the /events route in the API and it returns all events from Stack Overflow. But I want to filter based on event_type. Is there any way to do that?
Yogesh's user avatar
  • 113
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
1 vote
1 answer
86 views

What is the private_info scope for?

In the docs it says you can pass private_info for scope when authenticating a user. What does this allow you to access, that you couldn't otherwise?
Jonathan.'s user avatar
  • 3,118
1 vote
1 answer
40 views

help page issue: revisions by revisionguid example needed

/revisions/{id}/{revisionguid} - usage of this route is not clear to me. can someone provide a working url and perhaps a simple use case.
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
62 views

The user and owner objects appear to be optional in the question timeline result.

This is probably just a simple documentation fix and not really a bug. The doc for the /questions/{id}/timeline method says that the user and owner objects are not optional, but they aren't always ...
Bill the Lizard's user avatar
1 vote
1 answer
1k views

Why am I getting a 400 Bad Request error with this code?

I'm using this code (in an async function): let about = await fetch("https://api.stackexchange.com/2.2/me?order=desc&access_token="+token+"&sort=reputation&site=gaming&...
Penguin's user avatar
  • 113
1 vote
1 answer
113 views

App post got deleted

I'm currently writing an app using the Stack Exchange API. Today I wanted to rework the login component, but after signing in I get the following message: Application must have a registered Stack ...
Norbert Bartko's user avatar
1 vote
1 answer
3k views

How can I use an iOS custom URL scheme as redirect_uri?

I am trying to implement OAuth using iOS URL schemes. For example if I provide myapp:// as redirect_uri the app should launch. However, I cannot add it as OAuth domain in the Stack Apps settings, as ...
Toma's user avatar
  • 113
1 vote
1 answer
82 views

Wrong sorting parameter in documentation for question/{ids}/answers

It looks like that in the question/{ids}/answers documentation, there is a mistake: votes – score Shouldn't this be votes – votes
Luca Bartoletti's user avatar
1 vote
1 answer
147 views

Why am I getting an "Access token sent over non-HTTPS request, it has been invalidated" message?

I've been using the Stack Overflow for Teams API for a while now, but since yesterday it stopped working for one of the Teams; that Team also wasn't listed in the Applications (https://stackoverflow....
Glorfindel's user avatar
  • 6,885
1 vote
1 answer
95 views

Why doesn't the API return a 'locked date' for this locked answer?

This answer has been locked, yet when I ask the API about this post it fails to return a locked_date: It's a rather old lock, but I can't see anything suspicious in the timeline or the Post History.
Glorfindel's user avatar
  • 6,885
1 vote
1 answer
79 views

How to sort /questions/featured by bounty_closes_date

The API documentation describes tthe usage of /questions/featured. Unfortunately there does not seem to be a way to sort the result by bounty_closes_date, which is IMO the sort option making most ...
kriegaex's user avatar
  • 121
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
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
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
1 vote
1 answer
64 views

CDN redirect for the API's JavaScript SDK is incorrect

The API's JavaScript SDK is listed as https://api.stackexchange.com/js/2.0/all.js. However, GET request produces the following response: Status Code: 301 Moved Permanently Location: https://api-...
Andrey Shchekin's user avatar
1 vote
1 answer
84 views

How do I find a user by their `display_name`?

I am using Serel (the Ruby wrapper) and would like to be able to find a user by their display_name. As it stands right now, I can only find them via an ID - like Serel::User.find(1,2,3). I tried ...
marcamillion's user avatar
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 vote
1 answer
38 views

Minor typo in /tags/{tag}/top-askers/{period}

The discussion for the above method says "Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days." It should be corrected as askers.
laktek's user avatar
  • 111
1 vote
1 answer
36 views

Documentation of /users/{id}/top-answer-tags conflicts with implementation.

According to the documentation: /users/{id}/top-answer-tags or /me/top-answer-tags – Get the top 30 tags (by score) a single user has posted answers in. However in practice, when retrieving data ...
Nathan Osman's user avatar
  • 23.3k
1 vote
1 answer
85 views

user 'about_me' field suggested_buffer_size is too small

the suggested_buffer_size of user.about_me is currently 3000. it is apparent that this is the server-side field length. the problem is that the text is stored server-side in markdown but when served ...
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
89 views

/users/{id}/badges id parameter clarification

On /users/{id}/badges, the description of the id parameter a semicolon delimited list of user ids diverges from the inferred standard for multi-valued parameters: A single primary key identifier or ...
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
80 views

`type=jsontext` JSON results for help pages

It would greatly simplify machine reading if we could apply type=jsontext to API help pages, including the index. Update: Here's an unofficial JSON schema for v1.x.
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
83 views

Position required parameters at the top of help pages

The required id parameter for ...a lot of API routes... is now placed at the bottom of the page. It makes more sense to place required parameters at the top of the page with a slight separation, like ...
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
57 views

help page format issue: revisionGuid

http://api.stackoverflow.com/0.8/help/method?method=revisions/{id}/{revisionguid} revisionGuid is inconsistent. revisionguid seems appropriate (and will remove one special case from my api parser).
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
77 views

Can we have all possible closed reasons in help page?

Can we have all possible closed_reasons in help page and if possible, closed_reason_id, too? For example closed_reason_id=1, closed_reason="exact duplicate", closed_reason_id=2, closed_reason="off-...
YOU's user avatar
  • 5,022
1 vote
0 answers
99 views

PLACEHOLDER - A post to register my app posting

PLACEHOLDER - Just a post to register my app.
Peter Pan's user avatar
1 vote
0 answers
38 views

Typo in API docs /numbers)

https://api.stackexchange.com/docs/numbers The motivation for this is to prevent any unpleasant floating point confusion, especially across technologies that offering different floating point ...
Lakshya Raj's user avatar
1 vote
0 answers
56 views

"edited" key always return false. even though it shows edited on site

CommentID: 1193255 On site Meta Stack Exchange The Api returns edited as false However if you see the comment itself, you can see it has been edited. Is there something that I am missing here?
AVK's user avatar
  • 279
1 vote
0 answers
35 views

API returns flags options for election comments while flagging them isn't possible

When trying to retrieve the flag options on a comment, e.g. on the currently active one on Skeptics.SE (but it works for any election): https://api.stackexchange.com/docs/comment-flag-options#id=...
Glorfindel's user avatar
  • 6,885
1 vote
0 answers
52 views

How to automate StackApp user approve and user login with stack Exchange explicit oAuth2.0

We are developing an stack App and integrating the app in our application. However we have successfully done a POC over POSTMAN and fiddler for explicit oAuth2.0. Now when we are integrating the same ...
msftsofbot's user avatar
1 vote
0 answers
88 views

How to determine if a question is hot?

I know that I can get all hot question by sorting it like this: /2.2/questions?order=desc&sort=hot&site=stackoverflow Likewise, I'm not quite sure if other sortings like activity also ...
Norbert Bartko's user avatar
1 vote
0 answers
70 views

The authentication doc gives a wrong domain for authentication

The authentication doc page now lists URL's like: https://stackoverflow.com/oauth https://stackoverflow.com/oauth/access_token etc. While these seem to work, the correct domain is stackexchange.com, ...
Brock Adams's user avatar
1 vote
0 answers
33 views

Could you please return tags pertaining to the question when the api's "answers on user" endpoint is called?

When I call "answers on users", I see that I can select a filter named "tags". https://api.stackexchange.com/docs/answers-on-users#page=1&pagesize=5&order=desc&sort=votes&ids=303685&...
Water Cooler v2's user avatar
1 vote
0 answers
84 views

Stack Exchange Javascript SDK implicit OAuth2 bugs in `SE.authenticate`

I've tried to set up an implicit authorization workflow with JavaScript SDK version 2.0: <script type='text/javascript' src='https://api.stackexchange.com/js/2.0/all.js'></script> I was ...
Anton Tarasenko'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
0 answers
64 views

Get Token button in "Try it" doesn't give me a key in IE11

When I visit for example the timeline docs to try that api I need to get a token first by clicking 'Get Token'. In IE11 (win 7/x64) this is broken. A window does pop-up but there is never a key ...
rene's user avatar
  • 2,762
1 vote
1 answer
47 views

There is a typo in the authentication documentation

There is a typo on this documentation page. It says "The explcit OAuth 2.0 flow" but it should say "The explicit OAuth 2.0 flow".
user avatar
1 vote
1 answer
78 views

Please supply working example URLs for each route

It would take a lot of the guess work out of understanding the API if each route's page provided a small handful of working URLs. This would also serve to provide authoritative examples of the ...
Sky Sanders's user avatar
  • 12.1k
1 vote
1 answer
44 views

help page format issue: missing parameter

/users/{id}/tags is missing id parameter fixing this will remove one more special case from my parser.
Sky Sanders's user avatar
  • 12.1k
0 votes
1 answer
66 views

Are the "body", "comments" and "answers" parameters supported in the API version 2.x?

Earlier with version 1.x, the parameters: body, comments and answers etc. were available. But these don't seem to be supported with API version 2.x. Are these parameters not supported in new API? Are ...
Sanjiv's user avatar
  • 325
0 votes
2 answers
113 views

Ajax get questions by tags ERROR

i'm trying getting questions by tags. this is my simple code and i'm running this from my http://localhost: <script type="text/javascript"> $(function(){ $.ajax({ url:'http://api....
Filippo oretti's user avatar

1
3 4 5
6
7