All Questions
316 questions
2
votes
1
answer
140
views
Documentation describing fields for api stack exchange
When I looked through the StackExchange documentation, I didn't find any documentation describing the fields. I have to study the request and response for a long time in order to understand why this ...
2
votes
0
answers
56
views
Improve design of the Documentation's 404 page
The 404 page of the documentation has a rather awkward design; for example, a different header than other pages, and no footer. Can it be updated?
1
vote
0
answers
99
views
PLACEHOLDER - A post to register my app posting
PLACEHOLDER - Just a post to register my app.
2
votes
0
answers
99
views
Uncaught channelUrl must be under the current domain
I'm developing a Stack Chrome extension that will make use of the API. I'm following the instructions on the API docs here.
My OAuth and host websites are set to stackexchange.com in my Stack Apps ...
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 ...
4
votes
0
answers
278
views
Crew for Exchange 2.0 (Full iOS native client)
My all-new app Crew 2.0 is NOW AVAILABLE 🥳
Crew 2.0 was rebuilt entirely from the ground up, and today's update is a crazy one.
A completely revamped user interface, powerful markdown rendering, new ...
2
votes
1
answer
94
views
Clarify read-only vs. write operations for Teams in documentation
The API page about Stack Overflow for Teams says (emphasis mine):
Starting with the release of Stack Overflow For Teams, the Stack Exchange API exposes read-only access to data stored in private ...
2
votes
1
answer
57
views
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, incl. differences between them?
Where do I look for a new-to-the-network technical-overview introduction to what a script/app/etc. basically is, including differences between them?
Basically, I'm looking for onboarding documentation ...
3
votes
1
answer
141
views
StackExchange API, OAuth for other sites than Stack Overflow
I'm implementing the OAuth system through StackExchange API, here is the guide.
I've already integrated the OAuth system with stack overflow with the following parameters:
Token URL: https://...
3
votes
0
answers
40
views
Browsing method documentation consumes 4 quota units per page
Is it my imagination (scratch that, it's definitely not), or does simply browsing method doc pages (without using the "Run" function) consume quota?
From Bash using httpie and jq (on a ...
2
votes
0
answers
81
views
Update Teams API documentation to reflect dependency on tier
The documentation says (emphasis mine):
Starting with the release of Stack Overflow For Teams, the Stack Exchange API exposes read-only access to data stored in private Teams.
This is slightly ...
3
votes
1
answer
2k
views
400 - Bad Request - Invalid URL errors with HTML response
Since a few weeks, I'm getting 400 - Bad Request errors now and then, on pretty standard API calls like fetching post details. This is the response I get:
<DOCTYPE HTML PUBLIC "-//W3C//DTD ...
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&...
2
votes
1
answer
45
views
Discrepancy in results size
I just started using the Stack Overflow API. I want to collect all questions related to a specific keyword.
My code iterates over all result pages by increasing the &page=N parameter while '...
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 ...
2
votes
1
answer
84
views
Bugs in API 2.2 "/search/advanced" with a "q" parameter
How can we handle these problems?
Result for sort=relevance&order=desc is similar to
sort=relevance&order=desc.
Very poor caching system: After some queries, you may receive the same
results ...
2
votes
1
answer
136
views
How to get all tags' descriptions from the Stack Exchange API directly?
I know I can get one tag description by request such as "https://api.stackexchange.com/2.2/tags/tag_name/wikis?site=dba".
But if I use it more than hundreds of times, I will get a ...
2
votes
1
answer
154
views
How do I add a comment to a post through the Stack Exchange API?
I want to add an comment to a specific post so, how do I get its ID and how do I authorize it. I want it to done through the Stack Exchange API interface.
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?
2
votes
2
answers
82
views
How to update tags without modifying question body? [duplicate]
I made a call to update the question tags using API - https://api.stackexchange.com/docs/edit-question however the body formatting changes when I edit the tags with the same body received (with HTML ...
3
votes
1
answer
67
views
Wrong results for fetch timeline from offset
To get the timeline for a question I am sending this request:
https://api.stackexchange.com/2.2/questions/63299112/timeline?site=stackoverflow&fromdate=1597649222
I am getting empty results:
{&...
2
votes
0
answers
39
views
Add Area 51 Discussions to site list and account list
While Area 51 Discussions is accessible via the API (proof), it is neither in the list of sites nor in the list of associated accounts. I'm not sure how much work this would be to add? I understand ...
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 ...
3
votes
0
answers
106
views
A simple app to add tags to questions given a search criterium
In the wake of the *-vba situation on Stack Overflow, one tag remains, that should be retagged to two others. See this MSO post for more details.
To resolve this situation, this is a mini-app, that ...
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 ...
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=...
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 ...
3
votes
1
answer
246
views
Unable to post a comment using the interactive API documentation
I'm trying to to integrate the Stack Exchange API in my application. I'm trying the authentication but when I got the token and used it it gave a write_access issue. That issue was resolved when I ...
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
3
votes
1
answer
279
views
PLACEHOLDER - How to get write_access to comment/answer on Stack Exchange
I'm trying to integrate the Stack Exchange API into my web app so I can fetch all posts as well as I can post answer or comments on them. I have successfully got access_token for no_expiry and ...
18
votes
0
answers
438
views
NAABot - Bot which finds and flags problematic answers on Stack Overflow
Description
The aim of this project is to write a simple bot which will monitor all new answers posted on Stack Overflow and flag the ones which are not answers in accordance to the guidelines ...
2
votes
1
answer
75
views
Can I get the question id in the inbox route?
My intended behavior of my app is to navigate the user the the question page when an inbox item gets clicked.
For example, when the API return a link like this
https://stackapps.com/questions/8515/...
2
votes
0
answers
15
views
Is the way to search answers by who I voted for? [duplicate]
I found few similar questions: first, second. But answers is too old (2014 year). It's actual now — no way to get this info by using API?
2
votes
0
answers
47
views
Wrong error message when attempting to edit a locked answer
When attempting to edit a locked answer like this one via the /answers/{id}/edit API method, I get an error message:
Account is not allowed to suggest edits
I have the privilege to edit the post, ...
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 ...
5
votes
1
answer
281
views
Cannot authenticate with OAuth2
I was testing an app and suddenly I can't login any more.
Neither my app or the Stack App configuration hasn't changed, so I'm thinking this might be a bug on the API side.
The OAuth error seems a ...
3
votes
1
answer
82
views
503 errors on batch get questions endpoint
I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
2
votes
1
answer
93
views
Please provide an API "flair"-data call (`/associated` route is inadequate)
So today I decided to continue refining my JavaScript skills (different post over on Code Review SE if you'd like to review the results) and utilized the Stack Exchange API (v2.2) to write a "user ...
2
votes
1
answer
84
views
What happened to the links to a Stack App mentioned in the documentation about write access?
The documentation about write access states:
The application responsible for creating content via the API may be indicated with a link to an app's Stack Apps post. The exact manner of display is ...
6
votes
1
answer
135
views
Does a closed and/or deleted Stack Apps post still provide access to the API?
Registering your application as a Stack Apps app is necessary in order to obtain a higher request quota, authentication and write access to the API.
What happens if the question is closed because of ...
-1
votes
1
answer
1k
views
Why and how to make use of API key and credentials Stack Overflow API? [duplicate]
I am in need of using the Stack Overflow API for my website. I've gone through the documentation and I got the API key and client credentials. But my question is, I am able to send my question through ...
2
votes
1
answer
59
views
Timeline activities appear to be missing (because creation_date has wrong and useless values)
When I'm looking at my Stack Overflow timeline according to the API, It's missing a lot of events.
According to the API, the last thing I did was posting this answer, five days ago, and you can see ...
2
votes
0
answers
57
views
List /network-activity methods under Network Methods in the documentation
The API methods /users/{id}/network-activity and /me/network-activity, both return a summary of a user's activity across the Stack Exchange network and do not take a site parameter.
They are ...
3
votes
0
answers
69
views
API 404's when I try to fetch related tags for the `bin` tag
If you query the API for tags related to [bin]: https://api.stackexchange.com/2.2/tags/bin/related?site=stackoverflow
this simply returns:
Invalid JSON returned and a 404.
(live demo)
But it ...
7
votes
2
answers
548
views
After successfully retrieving 180 pages, the API gracelessly, semi-silently, fails
I'm trying to synchronize tags using the Stack Exchange API and this works for about 180 pages, but around 180 pages it always ends with an exception that seems to indicate that there is no HTTP ...
4
votes
0
answers
49
views
/revisions/{ids} returns wrong body
Since a couple of days, the /revisions/{ids} method returns a wrong value for the body field. An example is this Ask Different post. When viewing the (only) revision on the website, you see that the ...
2
votes
1
answer
66
views
Suggested edit not returned by API
This suggested edit: https://dba.stackexchange.com/suggested-edits/20375 is not returned by the /suggested-edits/{ids} API call:
https://api.stackexchange.com/2.2/suggested-edits/20375?site=dba ...
2
votes
1
answer
55
views
Are the revisions returned by /posts/{ids}/revisions guaranteed to be returned in descending order?
The /posts/{ids}/revisions method returns all revisions to a post, but it doesn't have the sort and order parameters most methods have. From some quick tests, e.g. this one, I think it always returns ...
3
votes
0
answers
62
views
Tags are not returned when querying /users/{ids}/answers
I'm querying the API for answers-by-user, and I want the tags belonging to the parent questions. I seem to be seeing intermittent results: sometimes the tags attribute of the response includes the ...
2
votes
0
answers
44
views
Linked questions API call fails for frequently asked questions on Stack Overflow
The Linked Questions API fails for some of the Frequently Asked Questions on Stack Overflow, maybe because of the sheer amount of linked questions they have.
As an example, take What is a ...