Skip to main content

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.

Filter by
Sorted by
Tagged with
2 votes
2 answers
720 views

I want to create a sort of private Q&A site to allow university students of the same courses to communicate. Is it possible by using the Stack Exchange API?
2 votes
1 answer
84 views

While learning how to work with the StackApps APIs, I created quite a few (more than 10) access_token with no_expiry scope. Finally I have got my applicaiton working but I am worried that all those ...
1 vote
1 answer
113 views

My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:         /2.2/users/2855348/associated?types=meta_site;...
2 votes
0 answers
50 views

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): Obviously,...
2 votes
1 answer
212 views

I see we can fetch tags via the API, which works fine but, sadly, there doesn't seem to be a way to get the count of all possible tags. Currently the Stack Overflow Tags page shows 36 tags per page ...
12 votes
2 answers
6k views

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 ...
3 votes
1 answer
128 views

I want to query Stack Exchange by title including optional keywords (one of). How can I query by OR operator? For example: /search/advanced?page=1&tagged=java&q=title:http OR class&...
3 votes
1 answer
113 views

This is in regards to my userscript Bulk flag comments. I am sure I have not at all updated the userscript since the first release of June 24, and I am sure I was able to register for an access token ...
5 votes
1 answer
387 views

We are developing an indexer that will be used to store and serve up questions/answers related to our products. The indexer uses a key (and soon an access_token) to retrieve the data from Stack ...
1 vote
1 answer
235 views

We have a company-specific Stack Overflow site for folks to ask questions with the company. It has a *.stackoverflow.com domain/URL. Would I be able to use the Stack Exchange API to access the ...
4 votes
1 answer
150 views

For a particular userscript feature, I need to get a list of all Stack Exchange employees. The list would be updated every day (per SE website). What is the most efficient way to do so? I looked at ...
2 votes
1 answer
143 views

The documentation for the edit question method (/questions/{id}/edit) is somewhat vague. Are all of the parameters required? For example, if the only field I want to change in the question is tags, ...
4 votes
0 answers
124 views

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
1 answer
73 views

I've been looking at the API docs and more specifically at the filters available for the /answers/{ids}, /posts/{ids} and /questions/{ids} routes but can't find anything other than upvoted and ...
1 vote
2 answers
89 views

While most items are self-explanatory, some aren't, and I was wondering if there was a glossary explaining all the properties in each of the response types?
7 votes
1 answer
238 views

Can we have the people reached statistic added to the /users/{ids} method? The response could simply be: "people_reached": 1000 I'm asking because it would be cool to get a network-wide number.
1 vote
1 answer
118 views

In user's profile page, there's a last seen xx mins ago info: How can I get this information in user object or other object field?
1 vote
1 answer
77 views

At the overview page of the Stack Exchange network, one can see a list of all sites of the network with some statistics for each site (number of questions, answers etc.). Most of these statistics can ...
1 vote
1 answer
79 views

I saw the question object has a is_answered field. I mentioned that there're the following cases: The is_answered field is true, and the question has an accepted answer. The is_answered field is true,...
10 votes
1 answer
4k views

I'm starting to write a native Android client for Stack Overflow, and wondering what exactly is a valid OAuth domain name? Is it the package name of my app? Or do I have to point it to a server ...
2 votes
0 answers
73 views

I can just go through documentation but it'd be a time saver if I could find some sort of tutorial or intro or anything. Does anybody happen to have any resources, notes, or code examples they could ...
user avatar
0 votes
1 answer
208 views

I am using the /questions/unanswered API to try and get all unanswered questions, sorted by upvotes, and with the tags specified. How can I pass multiple tags to the /unanswered route(s) using OR-...
2 votes
1 answer
115 views

this is the data I receive when asking for a user data with the Stack Exchange API: { "items": [{ "badge_counts": { "bronze": 27, "silver": 12, "gold": 0 }, "...
1 vote
2 answers
119 views

I didn't find any client.Questions.Add method. So, how do I use the StacMan library to add a new question ? Any sample C# example?
3 votes
1 answer
136 views

I want to get all the questions under a tag which has at least one answer with 10 or more votes. I searched the Advanced Search documentation and searched Py-StackExchange's documentation, but I ...
4 votes
1 answer
449 views

I'm having trouble getting the SO API Filters to cooperate. I've gone over the documentation as well as similar questions like this and this. I'll use this call as an example since it successfully ...
2 votes
1 answer
197 views

I am looking for an easy way to access user reputation so that I can write a small react component and display my rep on my portfolio site. I want to make this package available on NPM and have ...
4 votes
1 answer
413 views

When I go to register my application, it asks me my OAUTH application URL. But I don't have an OAuth server and I just want to get the api-key without my server. How can I fill out the form required ...
3 votes
1 answer
65 views

It seems that the /users/{id}/timeline route is returning an incorrect total. For example, the following URL is reporting a total of 1607 items: http://api.stackapps.com/1.1/users/7789/timeline ......
2 votes
1 answer
81 views

How do I exclude records based on the presence of a certain field (like the equivalent of SQL's [fieldname] Is Null)? Example: Results for Closed questions include field closed_date=1234567890. ...
0 votes
1 answer
170 views

conclusion never mind. the fields are marked as optional in the spec. it was late. sue me. the q is left for reference What is coming out: { "tags": [ "cakephp", &...
2 votes
1 answer
95 views

Just want to confirm if I'm doing this right. The /questions guide doesn't mention this. Let's say I want to ask for multiple tags in one request, am I doing this right? https://api.stackexchange....
20 votes
3 answers
209 views

The Stack Exchange API has a couple of calls that return a list of flag_option objects. These objects contain a couple of properties that can be used to identify the flag you need. For example, when ...
4 votes
1 answer
198 views

So I'm able to use API calls like: https://api.stackexchange.com/2.2/questions?pagesize=30&order=desc&sort=activity&site=stackoverflow to display a list of questions. This is easy as it ...
4 votes
1 answer
87 views

I believe I can use the Stack Exchange API to get total questions that fit chosen tags. I have an example I wrote myself here:           data.stackexchange.com/stackoverflow/...
0 votes
1 answer
83 views

When using /questions (e.g. like this)), dates are represented by a number. I'd like to know how I can convert a number to a date. For example if I have 1293840000, what date does it represent?
2 votes
1 answer
306 views

Users with a certain reputation, can see deleted answers (deleted either by moderators or by their owners themselves). Does the API offer any means to access such deleted answers?
8 votes
2 answers
864 views

I'm trying to create a filter by following the documentation, but a few things are quite unclear: How do I create a filter that does not have a base filter? I'm creating a filter without a base so I ...
1 vote
1 answer
67 views

When querying to find associated accounts for a list of account ids, some ids in the results appear to be missing many of the associated sites. I have only observed this in multi-page responses. For ...
4 votes
0 answers
192 views

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 ...
2 votes
0 answers
240 views

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: could ...
2 votes
0 answers
128 views

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 ...
1 vote
1 answer
2k views

I think my question is not a duplicate of this one: How to login programmatically I have read the authentication document but, still, I am unable to get what's needed to login programmatically on ...
2 votes
1 answer
120 views

I need authentication for my app so I used the implicit flow way. The authentication works just fine but the access_token and expires variables return weirdly! For example: https://example.com/#...
1 vote
1 answer
145 views

Here is the query RESULT { "items": [ { "badge_counts": { "bronze": 2, "silver": 1, "gold": 0 }, ...
3 votes
1 answer
80 views

I'm creating a simple notification application to inform me about latest questions with defined tags. For example, my tags are python and django. I want to see the latest asked question with those. ...
1 vote
1 answer
80 views

I was wondering if I'm allowed to pass a filter to methods that use write access? Like for example /answers/{id}/accept. There is no "filter" parameter, and changing the filter doesn't seem to change ...
2 votes
1 answer
101 views

I was going through the stack exchange API and I want to extract information about, say, top 20 users of a particular stack exchange community. How do I use the API for that? I tried on this page ...
-4 votes
1 answer
60 views

Is there any way to search for tags... but for ex "aa bb" so I want back the tag "aa-cc" and tag "aa-ccbb". at the moment the inname searches for "aa bb" so only a tag called "aa bbcc" will be a ...
28 votes
0 answers
263 views

There should be delete buttons on stackapps.com/apps https://stackapps.com/apps/oauth/ so we can delete API-keys. Or at least de-activate them? I mean, cancelled projects, etc... A deletion button ...

1 2 3
4
5
10