Skip to main content
Feature already exists in 2.4; does not need to be a feature-request
Source Link
Anerdw
  • 133
  • 5

AsVersion 2.3 of now, the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it pretty completely, but to recap, GET requests for SG questions currently look something like this:

"items": [
  {
    "score": 0,
    "creation_date": 1725590314,
    "post_type": "question",
    "post_id": 78955432,
    "share_link": "https://stackoverflow.com/q/78955432",
    "link": "https://stackoverflow.com/q/78955432"
  }
],

This is nearly identical to the regular report for questions, which makes it difficult to tell whether a post is an actual question or not.

It would be helpful if theHow can I access information about a post's Staging Ground status could be made clearer. I can think of a few ways for this to be implemented, ordered roughly in terms of disruptiveness:via the API?

  • Switch "share_link" and/or "link" to "https://stackoverflow.com/staging-ground/..." instead of "https://stackoverflow.com/q/..."
  • Change "post_type" to "staging-ground" instead of "question"
  • Add a "staging-ground" boolean field.

As of now, the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it pretty completely, but to recap, GET requests for SG questions currently look something like this:

"items": [
  {
    "score": 0,
    "creation_date": 1725590314,
    "post_type": "question",
    "post_id": 78955432,
    "share_link": "https://stackoverflow.com/q/78955432",
    "link": "https://stackoverflow.com/q/78955432"
  }
],

This is nearly identical to the regular report for questions, which makes it difficult to tell whether a post is an actual question or not.

It would be helpful if the post's Staging Ground status could be made clearer. I can think of a few ways for this to be implemented, ordered roughly in terms of disruptiveness:

  • Switch "share_link" and/or "link" to "https://stackoverflow.com/staging-ground/..." instead of "https://stackoverflow.com/q/..."
  • Change "post_type" to "staging-ground" instead of "question"
  • Add a "staging-ground" boolean field.

Version 2.3 of the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it pretty completely, but to recap, GET requests for SG questions currently look something like this:

"items": [
  {
    "score": 0,
    "creation_date": 1725590314,
    "post_type": "question",
    "post_id": 78955432,
    "share_link": "https://stackoverflow.com/q/78955432",
    "link": "https://stackoverflow.com/q/78955432"
  }
],

This is nearly identical to the regular report for questions, which makes it difficult to tell whether a post is an actual question or not.

How can I access information about a post's Staging Ground status via the API?

Source Link
Anerdw
  • 133
  • 5

Differentiate Staging Ground posts from regular questions

As of now, the SE API does not clearly distinguish between questions that are on Stack Overflow's Staging Ground and questions on its main site. This comment on a SmokeDetector GH issue details it pretty completely, but to recap, GET requests for SG questions currently look something like this:

"items": [
  {
    "score": 0,
    "creation_date": 1725590314,
    "post_type": "question",
    "post_id": 78955432,
    "share_link": "https://stackoverflow.com/q/78955432",
    "link": "https://stackoverflow.com/q/78955432"
  }
],

This is nearly identical to the regular report for questions, which makes it difficult to tell whether a post is an actual question or not.

It would be helpful if the post's Staging Ground status could be made clearer. I can think of a few ways for this to be implemented, ordered roughly in terms of disruptiveness:

  • Switch "share_link" and/or "link" to "https://stackoverflow.com/staging-ground/..." instead of "https://stackoverflow.com/q/..."
  • Change "post_type" to "staging-ground" instead of "question"
  • Add a "staging-ground" boolean field.