Questions tagged [api]
Questions about the Stack Exchange API *only*. If your question concerns any other API, do not use this tag. For bugs, please (also) use the version tag, EG [api-v2.2], that the bug applies to.
79 questions with no upvoted or accepted answers
12
votes
0
answers
158
views
Are there plans to involve Area51 in SE API version 3?
Several applications come to mind, proposal publicity, question analysis, making resources files, but I can't find any SE API calls that can do this.
11
votes
0
answers
175
views
Provide a way to reset - not invalidate - API tokens
I'm running a service with ~300 write-authenticated access tokens. It's terrifying.
As part of running such a service, I'd like to be able to cycle API tokens - so that if, heaven forbid, one made an ...
10
votes
0
answers
712
views
SOAPI-REST: Complete Stack Overflow API specification in machine readable format
SOAPI-REST Services
At four hour intervals, SOAPI-WATCH parses the complete Stack Overflow API documentation and generates a complete object graph representing the API including all routes, ...
9
votes
0
answers
93
views
Access to my Upvoted Questions
I would like to see just my upvoted questions (Don't care about other users as such).
There are some related posts:
List of Votes by Authenticated users
Can I see my past upvoted questions in ...
8
votes
0
answers
72
views
We’re collecting feedback on how we can improve the Stack Exchange API
The Stack Exchange API allows users to programmatically query and connect to the Stack Exchange Network of sites.
The API is currently in version 2.3. We’re collecting feedback from users of the API, ...
7
votes
0
answers
119
views
API Parameters: Consolidated Observations
This wiki question is meant to be a central location for observations and suggestions in the interest of shaping the API meta data.
Perhaps items can be removed when accepted and resolved as ...
6
votes
0
answers
230
views
stackapi.cpp - a C++20 library for the Stack Exchange API
Code snippet
#include "stackapi/StackAPI.hpp"
#include "stackapi/data/structs/comments/Comment.hpp"
#include <iostream>
int main() {
stackapi::StackAPI api (
{
...
6
votes
0
answers
165
views
Enable access to post images in the API, for "Stack Overflow for Teams"
The Stack Exchange API supports access to Stack Overflow for Teams; see the Teams API documentation.
But, since Teams content is private, post images aren't uploaded to imgur.com, but instead hosted ...
6
votes
0
answers
221
views
Ruby SE API: A Ruby wrapper for the Stack Exchange API
Screenshot / Code Snippet
An excerpt from the README:
First, initialize your client. You can omit the API key, but it's
strongly recommended that you use one because it increases your
request ...
6
votes
0
answers
77
views
Use HTTPS urls for site logos returned by the API
Currently, the API returns resources like this:
"high_resolution_icon_url": "http://cdn.sstatic.net/stackoverflow/img/[email protected]",
"favicon_url": "http://cdn.sstatic.net/stackoverflow/img/...
6
votes
0
answers
79
views
How to get unread reputation changes via the API?
I want to write a desktop widget that checks the Stack Exchange API every several seconds and tells me if there are any new reputation changes. I can't figure out what API method I can use for that.
...
6
votes
0
answers
434
views
Resurfacing bug: "could not parse proxy url" error message
According to this question, the "could not parse proxy url" bug was solved more than 2 years ago.
However, when using the client-side OAuth flow, the aforementioned error message appears when ...
6
votes
0
answers
109
views
Version 1.0 of the API seems to be here!
It looks like v1.0 of the API is here now!
I waited a few minutes for an official announcement, but none came - so here it is!
Thanks a million to the team for putting this together!
5
votes
0
answers
127
views
What does the /users endpoint look for when sorting on modified date?
What does the /users endpoint look for when sorting on modified date?
For the /users endpoint in the Stack Exchange API v2.3, what does the modified filter in sort field look for?
It is unclear from ...
5
votes
0
answers
56
views
Please provide a way to get Post Edits, filtered by user
I recently discovered from this question that the API does not support filtering revisions by user. I am interested in looking at a user's edit history programmatically (with their permission) and at ...
5
votes
0
answers
141
views
Filter doesn't consistently return comment bodies
I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields:
answer:
answer_id
body_markdown
comments
...
5
votes
0
answers
257
views
Apigee API Console for the Stack Exchange API
Screenshot / Code Snippet
About
Apigee API Consoles make it easier to learn, explore and test APIs by letting you browse all methods, send and view request/response pairs and share what you are ...
5
votes
0
answers
156
views
Selective API oriented transcript fragment of Jeffs Code Camp Video Interview.
This is a very selective API oriented transcript fragment of Jeffs Code Camp Video Interview:
Purpose
Please note that this transcript fragment is mainly a supporting post to decrease the length of ...
5
votes
0
answers
541
views
Platforms Supported by the API and Response Compression
What platforms are supported for use with the Stack Exchange API?
In short, anything that can make a GET request to the API servers and supports JSON/JSONP & GZIP. (JavaScript, Python, PHP, Java, ...
4
votes
0
answers
69
views
Get total question views via API
I can currently get the total number of questions for a tag by using the total filter. This works well, but I'd like to get a total views count for the questions in that tag. I could iterate over each ...
4
votes
0
answers
164
views
Can we specify more than one OAuth Domain?
I would like to use the API from a browser extension. With WebExtensions, I should be able to support Firefox and Chrome with the same code.
Chrome provides an identity API for OAuth2, and so does ...
4
votes
0
answers
58
views
API response doesn't indicate the nature of a rejected question POST
I have a question, which I post to Stack Overflow. The addition of the answer gets rejected and I know that it is due to the fact that I used the tag coredata rather than core-data.
When I do this on ...
4
votes
0
answers
62
views
Please add a "self answer" flag to the answer results/object
Is there an easy way to tell if an answer is from the question poster?
I'm working on Blaze, and I'm grabbing answers from the /answers method. I'd like to indicate if the answer is from the question ...
4
votes
0
answers
106
views
How to quickly retag a question from the API?
I'm playing with the write API, and I'd like to simply retag a question. This is the code I have so far:
$editURL = 'https://api.stackexchange.com/2.2/questions/' . $question->{"question_id"} . '/...
4
votes
0
answers
613
views
What should I put in redirect_uri for implicit OAuth 2.0
From the document I can't figure out what value should I put in redirect_uri if I want to implement iPhone app. I try https://stackexchange.com/oauth/login_success but it not work and show this error
...
4
votes
0
answers
99
views
API v1.1 users call returns association_id for which the Stack Exchange web site has no profile
For a particular user, the users API v1.1 call returns an association_id that gives a "Page Not Found" error where the Stack Exchange profile should be, though their Stack Exchange profile can be ...
4
votes
0
answers
76
views
Add a special page where developers can reset throttle timeouts
As George Edison noted, it would be useful to have a special page where developers can reset the throttle timeout when we accidentally trigger it.
This happened to me this morning — I got banned for ...
4
votes
0
answers
289
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 ...
4
votes
0
answers
254
views
PyOverflow: Account statistics for Stack Overflow for Ubuntu!
I was bored, and I wanted to play with the API, so I came up with this little script:
It's coded in Python and has only a single image dependency.
Here is a screenshot:
Here's the source code (it's ...
3
votes
0
answers
177
views
Is there a way to upload an image to i.sstatic.net using Python?
I am developing an image generation bot for chat (for example, chat.stackexchange.com).
I can generate the image correctly, but when it comes to posting the image, I have no idea how to upload the ...
3
votes
0
answers
110
views
Fortnightly Topic Challenge Automation on Puzzling.SE
Used for (meta.)puzzling.stackexchange - Creates & edits the corresponding meta posts with information from the main and meta site. E.g. creating a post for the new challenge every 2 weeks and ...
3
votes
0
answers
89
views
Open source the Stack Exchange app and API
It has come to my attention that neither the app nor the API have received much if any attention in the last two years. The latest API is also largely undocumented.
My humble request is to either A) ...
3
votes
0
answers
111
views
Only Stack Overflow has documentation, but the API erroneously lists documentation privileges for all sites
Privileges related to Stack Overflow Documentation are displaying in every other site's API data.
Using Meta Stack Exchange, for example, /2.2/privileges?site=meta returns the following documentation ...
3
votes
0
answers
54
views
API for the mobile feed, as seen in the Android app?
I'm creating an app for Windows 10, and I would like to provide a similar experience to the official Android and iOS apps (while keeping my own identity, of course).
One feature seen in the official ...
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
...
3
votes
0
answers
86
views
Fetch the Personalized Prediction Data through the API?
Is it possible to get a user's personalized prediction data in an automated way?
I'm building a graphical visualization of this data, you can check the project here: http://jlhonora.github.io/...
3
votes
0
answers
37
views
/associated should include user's display name and the api_site_parameter
/associated should include api_site_parameter
The /associated routes return the site_name and site_url but not the api_site_parameter.
It would be useful if it did because api_site_parameter is ...
3
votes
0
answers
86
views
Include creator in tag_synonym
When I looked at recent tag synonyms there is a Creator row, but I can't query this data with the API.
I'd like to see this data added, and a list of all approves would be nice too.
3
votes
0
answers
81
views
SE API V1.1 documentation, date errata
The Stack Exchange API, version 1.1, documentation is ever so slightly confusing wherever Unix timestamps are mentioned (perhaps any ranges, I haven't dug too deeply)
For instance:
todate – Unix ...
3
votes
0
answers
86
views
All updates (answers, comments etc) using stack exchange API
Is there anyway to get information about any change using the stack exchange API's? i.e. if someone leaves a comment or votes on an answer/question?
checking for answer changes is easy cause its a top ...
3
votes
0
answers
64
views
Please add "total votes on questions" and "total votes on answers" into /user/{id} API
Is there any chance that the following methods:
Total votes on questions (N.B. NOT total score but total number of votes)
Total votes on answers
Could be added to the API?
There are no threats to ...
2
votes
0
answers
20
views
Improve error message when attempting to edit a post while not having enough reputation
When attempting to edit a post while not having enough reputation, like happened here: API to submit a Suggested Edit, the API returns the following:
{
"error_id": 407,
"...
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 ...
2
votes
0
answers
56
views
high_resolution_icon_url points to a non-existing image for Area 51 Discuss
In 2013 this bug was reported: Not all sites are returning Hi Res icons
Since then a lot has improved. Most urls found in high_resolution_icon_url on the site type as returned by the /sites endpoint ...
2
votes
0
answers
55
views
Is there an API call that can get me a user's access_token?
I'm trying to create a connector between Microsoft's Power Platform and the Stack API. Since the server ↔ server auth flow is happening outside of code I control, I can't grab the access_token from ...
2
votes
0
answers
138
views
When does API quota reset?
I had a program consuming Stack Overflow API quota (10,000 per day) last night across midnight. This morning I checked, and my quota has not been set back to 10,000. Is this normal? If yes, when does ...
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 ...
2
votes
0
answers
35
views
.wrapper not sorted correctly in filter edit popup
When editing the filter, e.g. on this API documentation page, all types are sorted alphabetically except for .wrapper which is always shown below answer, instead of above it (or at the end):
...
2
votes
0
answers
116
views
JavaScript API Library for StackExchange API?
I'm developing an application that integrates with the Stack Exchange Network for posting questions and importing whole discussions. Therefore I'm looking for a JavaScript library for the Stack ...
2
votes
0
answers
86
views
Provide a way to get display name via access token
Please include a new (network) method with the ability to gather display name and profile image directly via access token.
Right now to retrieve this information you have to first authenticate a ...