Skip to main content

All Questions

Filter by
Sorted by
Tagged with
6 votes
1 answer
148 views

Field "comment_count" is not always returned by API

I am making a request with a custom filter that includes the "comment_count" field of the question type. My custom filter is !RtdMEtslKF6Z()NqpDUFZ58R6twu-.4V48gn0furqA*7_BL1. However, when I'm ...
8 votes
1 answer
139 views

Why is comment_count=1 (incorrectly) when this particular filter is used?

We're seeing that, when a particular filter we've created is used, the API will return "comment_count": 1 for questions with no comments. For a search for questions with no answers, ordered by ...
3 votes
1 answer
67 views

Can I retrieve question comment count as part of a search query?

I'm looking for a comment_count property in the results of /search/advanced to get a count of comments under a question. Is there an undocumented q for /search/advanced that gives a comment_count ...
4 votes
0 answers
67 views

Magic Links Enhancer

This userscript adds a way to quickly link to posts, help pages, privileges and links across the Stack Exchange sites. It uses @M'vy's idea of having a basic format of [SITE:type:id], and works the ...
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 ...
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).
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.
32 votes
1 answer
11k views

Looking for a beginner's tutorial to using the API

I see the Stack Exchange API but I'm unable to understand it. I don't think there is any fundamental tutorial showing how to use Stack Overflow fully in the API documentation. I want some fundamental ...
11 votes
2 answers
354 views

Make your own custom "magic links" for comments!

There are loads of feature requests on Meta for adding specific 'magic links' to comments. (links that expand, eg. [edit] -> [edit](/posts/id/edit)). So I made a userscript that allows you to create ...
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 ...
6 votes
0 answers
144 views

SE Comment Preview - An attempt to add real-time previewing for comments

Screenshot About This script creates a new live preview directly beneath any comment you compose or edit. When writing a comment with a lot of formatting, especially one containing some ...
5 votes
1 answer
92 views

Enumerated types documentation in 1.1 API

I'm starting to implement requesting question and user activity in my framework, but the new 1.1 API documentation doesn't seem to indicate what the possible return values are for the fields any more. ...
3 votes
1 answer
60 views

link in post_id in /me/notifications/unread is wrong

I have run /me/notifications/unread. The response contains post_id and there is a link to it. This link is wrong. The post is on Stack Apps but the link directs to Stack Overflow: I have ...
12 votes
0 answers
284 views

Auto-Add A Comment When Closing

About Automatically adds a comment when closing a question, with the text taken directly from the close reason you chose, so that the OP can see why their question may be being downvoted, and improve ...
3 votes
1 answer
38 views

Clickable link in "Try It" section of some doc pages

In the "Try It" section of some doc pages, the link is not present. It is present in the below image Its not present in the below image
2 votes
1 answer
55 views

Where is "items" & "badge_counts" documentation?

Where is the items & badge_counts documentation? This is returned as JSON. I am using the /me/associated query function.
5 votes
1 answer
78 views

Please make the site search on the API alphabetical

When I search, I want the sites to be alphabetical: Please can they be?
4 votes
1 answer
178 views

Request for self destructing comments

What would I like? I would like comments that can self destruct after a set amount of time. Why? I often add a comment that doesn't need to stay around, like saying thanks to a user, or telling them I ...
5 votes
0 answers
119 views

Answerer Name comment highlighter [duplicate]

Update: This has been added to my Optional Features userscript - please go there for the latest version. After reading this, I really liked the idea, so I made a Userscript to highlight answerer's ...
6 votes
0 answers
141 views

QuickComment2: Automatic keyboard-only comment snippets

This is a vastly improved version of QuickComment: comment shortcuts to cut down on tedium. See that post for more information. See the Github repo for instructions on how to install and use ...
5 votes
1 answer
75 views

Which reputation events are private?

I've been reading the API documentation on retrieving a user's reputation history (docs/types/reputation-history) and Stack Overflow's description of how reputation is calculated. But, I can't find ...
0 votes
1 answer
129 views

API v2.1 supports write access, but is anyone using it?

Over the weekend, I attended an NHS "Hackday" where we tried to solve a problem one of the junior doctors brought. We hacked together a stack exchange alternative for medical doctors to ask questions. ...
3 votes
1 answer
49 views

How do display names relate to at-mentions?

Display names seem to be able to use full-on Unicode, but this is not so for at-mentions (Comment-replies). At the very least, spaces are stripped when doing an at-mention for Test User; this would ...
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 ...
0 votes
0 answers
80 views

"error_id":500,"error_message":"this error has been logged","error_name":"internal_error"

I developed an application, user can give vote down or up to question or comments but when I send the request to the API of the stackexchenge the response it is not true and this back to me error ...
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 ...
11 votes
0 answers
144 views

The field body_markdown is not returned for comments [duplicate]

Using the method questions-by-ids to get the comments on a particular question, I do not get body_markdown returned despite it being selected in the filter. Here is the test query to reproduce the ...
1 vote
0 answers
214 views

Bypass character limits in comments

Screenshot About Complaints on meta were raised about the threshold of 15 chars for comments, and even though many people agree that it shouldn't be there, this request was status-declined. Using ...
4 votes
0 answers
121 views

Comment Separator Fix

This fix is now included in the Stack Overflow Unofficial Patch (SOUP) v1.20.0 About We have this nicely formatted toolbar with all of the moderation tools we need below questions: So, why is it ...
7 votes
1 answer
231 views

QuickComment: comment shortcuts to cut down on tedium

QuickComment quick SE comments for quick SE people Description Tired of typing the same thing over and over again? Now, with QuickComment, you can type ";;linkonly" (for example) and have it expand ...
7 votes
1 answer
127 views

What happened to the JSON documentation for the API?

Back in version 1.1 of the API, we used to be able to do: http://api.stackoverflow.com/1.1/questions?help ...which would return information about the method in JSON format. However, attempting to ...
3 votes
4 answers
283 views

Is it really worth to (implicitly) discourage documentation of API/library usage nowadays already?

Update: Kevin provided an answer, which, while adding something of value to the three related questions together (by naming the originating concern eventually), actually does not apply to the ...
7 votes
0 answers
100 views

Comment Saver - Unposted comments are saved between page loads

Simply stores unposted comments (using HTML5 localStorage) between page loads, so that if you leave the page you don't lose your comment. Currently a bit hacky, but it works. User Script: https://...
2 votes
3 answers
76 views

What is the "inname" parameter to the /tags 2.0 API?

I'm just playing with the new 2.0 API and in /tags there is a field inname that I can't find any description or documentation for. What does it do? Is it like the old filter parameter on the old API? ...
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 ...
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.
2 votes
1 answer
89 views

Include range [1, 100] on pagesize

I see that "range" is being used to indicate valid range on most numeric parameters, e.g. 32-bit integer, range [0, 2,147,483,647] 32-bit integer, range [1, 2,147,483,647] The smaller valid range ...
2 votes
1 answer
117 views

Indicate in documentation whether "numbers" can be non-integral

"number" is an very ambiguous term. Integral or non-integral? For developers in more dynamically-typed languages like JavaScript, this is not an issue; but when using more statically-typed languages ...
0 votes
1 answer
98 views

/questions/tagged/{tags} - tags param clarification

This API method has been removed as of Jul 16 '10. The original question is preserved below for posterity. It is not clear what a "list" of {tags} looks like. Does this parameter follow the ...
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 ...
5 votes
1 answer
78 views

API documentation pages match some site names incorrectly

The bug is not in the API itself, but in the pages documenting its methods. To reproduce, follow the link http://api.stackexchange.com/docs/info#filter=default&site=math and observe that the page ...
2 votes
0 answers
64 views

Version used by StackExchange API if version is not specified in api calls

I have used some StackExchange API calls in my chrome extension - StackEye. With the release of API 2.0, I want to update the api calls so I wanted to know New things available in 2.0+ which were ...
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 ...
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 ...
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 ...
4 votes
1 answer
82 views

"Try it" facility suffers a double-encoding bug

As you can clearly see from the above, the ampersand in the site name in the "Try It" section of the API method documentation has been double-encoded. This affects any site with an ampersand in the ...
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?
3 votes
0 answers
52 views

Incorrect link parameter on the "Complex Queries" documentation page

The "Complex Queries" documentation page has this link: Of these three posts on Server Fault, the one with the most recent activity where "the one with the most recent activity" links to https://...
4 votes
0 answers
41 views

Link to applied_count leads to a 404

To Reproduce Run an API query on tag-synonyms, you will get a result that includes something like this: Issue(s) Click on the applied_count link and you get redirected to this page which is a 404. It ...
18 votes
1 answer
278 views

Accessing Authenticated User's Close/Delete History

I'm working on the PHP chatroom's cv-pls backlog UI. Many users and myself would like the ability to track which questions we have already handled though close/delete votes. To be able to do that I ...