All Questions
236 questions
8
votes
0
answers
165
views
Incomplete information in API documentation
I am struggling a little bit with the Stack Exchange API since there seems to be no formal specification for the individual endpoints of the API.
Example:
Endpoint: https://api.stackexchange.com/2.2/...
10
votes
0
answers
280
views
Tell us that POST is required to write
While troubleshooting /posts/{id}/comments/add in order to answer Why am I getting a 404 when trying to post a comment?, it was noticed that the API path in question only responded to POST requests. ...
3
votes
0
answers
40
views
"users" link lands on the answer page
On the /users/moderators documentation site, the following link is wrong:
This method returns a list of users.
The users link mistakenly points to the answers object instead of to the users object....
3
votes
1
answer
93
views
Why is "body" missing from certain inbox items?
I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method.
When item_type is set to "careers_invitations", the body attribute appears to be ...
3
votes
0
answers
56
views
Authorization dialog shows wrong API version
If you go on this doc page and click on Get Token, you'll see this:
Minor bug, but still, I thought it would be nice to fix this inconsistency :)
1
vote
0
answers
50
views
Please add gallery thumbnails to this site's search results
I would like to link to a list of all my stuff, but I'd like it to display with thumbnails and excerpts (like it does on tag searches).
Is this possible? It seems like a reasonable use case, but for ...
2
votes
0
answers
31
views
New line missing between 'notice' and 'related_site' member types
At the bottom of http://api.stackexchange.com/docs?tab=type#docs under the Member Types section, notice and related_site are on the same line. A <br> is missing between the items.
4
votes
1
answer
185
views
“Try It” URL has wrong URI
On API doc pages, the “link” link at the top-right of the “Try It” sections presents a URL with the wrong domain name:
For example, on docs/similar, the URL displayed will be:
https://api....
2
votes
1
answer
482
views
Are "api-key" and "app-key" the same thing?
When tagging my last couple of questions about registering for a key, I noticed there are two similar-looking tags:
api-key - 35 uses and a tag wiki
app-key - 10 uses (Update: retagged), no ...
3
votes
1
answer
83
views
Given that stackapps has no "meta" is it OK to ask "discussion questions" with no "one right answer" here?
Sometimes I want to ask questions about using the API that don't necessarily have "one right answer" or might be subjective.
I've looked in the chat room but it's not very active.
I've looked for a ...
2
votes
1
answer
156
views
Can you identify a user from the access_token?
I have the access_token after authentication from the user. At this point I don't know with which sites this user has registered. Is it possible to get user information like the display name or ...
4
votes
0
answers
55
views
'answer' type has "unchanged in unsafe filters" listed for the wrong field
http://api.stackexchange.com/docs/types/answer says the can_flag field is unchanged in unsafe filters. It's probably meant for the field above it: body_markdown.
2
votes
0
answers
23
views
'search_excerpt' type issues
On the search_excerpt page:
community_owned_date should be marked as may be absent
locked_date should be marked as may be absent
search/excerpts should be listed in the Methods That Return This Type ...
3
votes
0
answers
46
views
Types missing from the "Member Types" section
The following types are not listed on http://api.stackexchange.com/docs?tab=category#docs under the Member Types section:
network_post
closed_details
original_question
Note that it's a nonexhaustive ...
4
votes
0
answers
122
views
Parameter `tagged` in `search/advanced` seems to use `AND` instead of `OR`
It seems that search/advanced has the same problem as in "The tagged parameter does not work with multiple tags" question.
When I select c#; .net I only get results tagged both c# and .net:
http://...
7
votes
1
answer
683
views
Application Key and AccessToken are not working for Stack Exchange API? [duplicate]
I have followed the documentation and used explicit OAuth 2.0 flow for access_token generation.
And I have gone through all 4 steps defined under explicit OAuth 2.0 flow with scope=no_expiry. Then I ...
2
votes
1
answer
82
views
Notice field on questions may be absent?
The notice type, that is a field of a question, appears to be optional, yet it is not marked as "may be absent"?
For example, when I request questions with a filter that has the notice field checked, ...
3
votes
4
answers
176
views
How do I get the ten reputation required to post an image for my app?
Funny that in order to enter and include a screenshot, you need ten reputation points. Go figure.
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 ...
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 ...
4
votes
1
answer
141
views
How can I get a user's Meta site details in the API call?
This query returns the details of the Main sites only:
/associated-users#ids=2855348
How can I get the Meta site details also in the same query?
Do I need to add any ...
6
votes
0
answers
86
views
Badge numbers are wildly erroneous for meta accounts returned by the /associated query
There is a serious problem with badge counts on meta sites as returned by
the /users/{ids}/associated route.
Consider this user (chosen for high volume of meta activity).
On Meta Stack Overflow, ...
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 ...
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.
...
4
votes
0
answers
106
views
Edit opportunity: Help remove image spam
ImageShack has replaced many old images, on Stack Exchange sites, with spam like:
Help us purge Stack Apps of this foul scourge! Here's how:
Pick a post that needs editing: You can use SEDE ...
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 ...
7
votes
1
answer
356
views
App without API and legal issues
Forgive me I did not find the "meta" for the Stack Apps, I believe it is here that I must ask.
I developed an extension for browsers, but I'm not using the Stack Exchange API. Can I post it on Stack ...
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
3
votes
1
answer
67
views
Do the questions tagged "placeholder" need it explicitly in the title?
I have create a placeholder question, but just noticed that all the other ones have "(placeholder)", "[PLACEHOLDER]" or some variant in the title.
Do I need to include it in the title if it's tagged?
3
votes
1
answer
40
views
Why does dropdown comes in "Rev" when we edit published app?
I have published an app and editing it. One new "Rev" tab is created and it is giving me a dropdown as shown here. Why it is being created here? It is not created in any other Stack Exchange websites ...
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?
2
votes
1
answer
61
views
Can I post a suggestion for a stack app? [duplicate]
I have an idea for a stack app. However, I can't program it. Can I post an app suggestion?
4
votes
1
answer
117
views
What's the difference between the Stack Exchange API and the Stack Overflow API?
I heard about the Stack Overflow API. Is there a Stack Overflow API available. Or is it the same as the Stack Exchange API?
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 ...
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 ...
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 ...
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 ...
4
votes
0
answers
45
views
Remove API 1.x menu from the sidebar
Now that version 1.x of the API is on its way out the door permanently, can we go ahead and drop the associated menu from the sidebar?
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 ...