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 not return a site object with this information.
Brock Adams gave an explanation of various ways one can get around this limitation. They work, but I hope that the feature merits consideration for inclusion in a later version of the API.
Original form of the question, to which the answer refers
When using the /questions
method to get a particular question, is there a way to also get the display name of the site on which the question is located? The method appears to be able to return site type, but there is no site field nested under question. Am I missing something?
(Incidentally: for migrated questions, one can get the name and other information for the site from which the question came.)
I understand that I can get the site's display name using /sites
, but that means making another call just for this small piece of information.