Questions tagged [sites]
For questions about the `site` parameter or the /sites route of the API. Or about dealing with multiple Stack Exchange sites in/with the API.
28 questions
22
votes
1
answer
876
views
Stackathlon 2.5: Leader board for users active on multiple sites
tl;dr New! See "More Athlons" below.
Screenshot
About
It's surprising how few people are active on multiple Stack Exchange sites. Well, maybe not so surprising. But it's a big world; you'd ...
12
votes
1
answer
362
views
How the /sites method is meant to be used
The /sites method is used to enumerate all sites in the network. If your [app] is meant to run against more than a single site (and many are) this method is how you should be discovering new sites in ...
6
votes
1
answer
161
views
StackExchange API /sites/ does not return all the sites
I am working on one application that produces timeline of user on every site of StackExchange.. We have some users on Sharepoint.stackexchange.com..
Since I want list of all the sites, I am trying to ...
6
votes
1
answer
76
views
Can we have a flag for sites with mature content?
To my horror today, I discovered that StackMobile was happily serving up content from the newest Stack Exchange site. (StackMobile has a cron job that runs daily, updating the list of sites using the ...
5
votes
1
answer
92
views
How can I access a user's ID on another site (eg. SU) if I have their ID from another site (eg. SO)?
If I have the ID of a user from any site, how can I get that's user's ID for a site I specify?
Eg. If someone's ID was 10349 on Super User, how could I get 10349's id on Stack Overflow?
I know I'd ...
3
votes
1
answer
72
views
How to get the user's pinned sites?
I have been trying to find the API for getting all the pinned/favorite sites of the user, but I can't.
3
votes
1
answer
92
views
How to get a list of sites that a user is a member of?
After spending many hours trying to post a question using /questions/add and repeatedly getting the error message "The account associated with the access_token does not have a user on the site", I ...
3
votes
1
answer
81
views
Getting display name of the site on which question is located
When using the /questions method to retrieve a particular question, I'd like to also get the display name of the site on which the question is located (e.g., User Experience). At present, the API does ...
3
votes
1
answer
197
views
Array of all Stack Exchange sites with Name, URL and Description
I'm building a WordPress widget and need this array do display a dropdown where the user will select the target site.
And with the selection value, the information will be built and displayed ...
3
votes
1
answer
40
views
Can 'api_site_parameter' be added to related_site?
It would be great if the related_site type contained api_site_parameter. I realize that you probably don't want to clutter up related_site with a lot of unnecessary fields, but I think it makes sense ...
3
votes
1
answer
115
views
Add Twitter accounts on the /sites route?
Would it be possible to add references to the site Twitter accounts in the /site listing?
If your wondering what I'm talking about:
blog.stackoverflow.com/2011/01/twitter-question-feeds-for-stack-...
3
votes
0
answers
40
views
Add the excerpt back to the question title on hover
Screenshot / Code Snippet
Quickly assess if a question is worth opening by hovering over the title. (This restores a feature that was removed for performance reasons by Stack Exchange.)
Click image ...
3
votes
0
answers
36
views
Buggy HTTP header behavior with the `site` parameter. Improper caching?
In sx.el we are using url-request-extra-headers to pass API requests to Stack Exchange.
When performing multiple queries in quick succession, we end up receiving the same JSON response even when the ...
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 ...
2
votes
1
answer
195
views
Main Stack Exchange network site API
The original Stack Exchange app has this cool feature where you can browse hot question from the entire network.
But at the current state I am not able to see a “Stack Exchange” site listed in the ...
2
votes
0
answers
149
views
Quick Quran verse links
Screenshot
About
At Islam Stack Exchange we often refer to Quran verses in answers. This script makes it easier to add those references by adding an input field directly before the question/answer ...
1
vote
1
answer
29
views
Get points from Multiple sites in one call
Is there any way to get total points and badges from various sites (e.g. stackoverflow, sharepoint, wordpress etc.) in one call?
1
vote
1
answer
43
views
How do I future-proof my app to work with every SE site?
I just wrote an app for Chrome extensions and received a request to make it cross-StackExchange compatible.
If there's eventually going to be more sites than just the few listed and I don't really ...
1
vote
2
answers
135
views
How to get the site name from document to pass to API?
Most APIs take a parameter site which must be set to the name of the site your queries are about.
For meta.travel or travel.
But of course sites have various names, for example gaming.stackexchange....
1
vote
1
answer
58
views
Stack Exchange API - What does "site_state" mean?
The /sites route can return site_state.
What does site state stand for and which values can it have?
The values I found:
normal
linked_meta
open_beta
1
vote
1
answer
50
views
How to get visits per day via the API?
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
104
views
Most of the url are missing the protocol
Maybe you were trying to fix the other "bug" I've pointed out, but now most of the url for the icons are missing the protocol!
{
"site_type": "main_site",
"name": "Stack Overflow",
"...
1
vote
1
answer
70
views
Get all sites of type "main_site"
Is there a way to get all sites of type main_site from the /site method?
If not, what's the best way to get that list? Should I get all sites with a huge pagesize and then filter it in my App?
1
vote
0
answers
112
views
Please differentiate between meta sites for beta versus normal sites, in the /sites method
Currently, in the /sites method, a site can have a site_state of: normal, open_beta, closed_beta, or linked_meta.
This makes it easy to tell if a main site is in beta or not. But it becomes a 2 or 3 ...
1
vote
0
answers
26
views
Why are Meta sites' "site_state" = "linked_meta"?
In 2.0 there are the site_type and site_state fields. On Meta sites these fields give the same information, site_type = meta_site and site_state = linked_meta
Instead it would be more useful if ...
1
vote
1
answer
38
views
API 2.0 is not returning Programmers in list of sites
Run https://api.stackexchange.com/2.0/sites.
programmers.stackexchange.com is not in the response.
1
vote
1
answer
74
views
Site_Type returns "main_site" for meta.stackoverflow.com
For Meta Stack Overflow, the 2.0/sites endpoint returns "main_site" rather than "meta_site". All other site_type for other stackexchange sites return correctly.
URL: https://api.stackexchange.com/2.0/...
1
vote
1
answer
49
views
Failed beta sites are showing up in the /sites method.
3D Graphics and Game of Go are both failed beta sites. I would not expect them to show up in the /sites list - but they do. Indeed, attempting to list questions on one of the sites fails:
http://...