Skip to main content
added 560 characters in body
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60

I noticed today, due to some exceptions, that sites that do not perform in beta can be closed and thus removed from /sites.

If you persist data, you will need to check your data every time you pull /sites.

8-\

I would suggest adding a site.state, closed, and keep the site in the list for a short period of time to allow an intelligent response to the event.


response to kevin

This is assuming that sites behaves perfectly. If, for any reason, sites does something like returning an empty array, or a malformed site, automated processes will erroneously delete or disassociate data.

Where as if an explicit indication that the site is removed were present appropriate and proactive action could be taken.

This is another case where a little bit of compromise in providing fault tolerance upstream would be of great benefit downstream and easily justify a few extra bytes in the /sites response.

see http://area51.stackexchange.com/proposals/614/electronic-gadgets

I noticed today, due to some exceptions, that sites that do not perform in beta can be closed and thus removed from /sites.

If you persist data, you will need to check your data every time you pull /sites.

8-\

I would suggest adding a site.state, closed, and keep the site in the list for a short period of time to allow an intelligent response to the event.

see http://area51.stackexchange.com/proposals/614/electronic-gadgets

I noticed today, due to some exceptions, that sites that do not perform in beta can be closed and thus removed from /sites.

If you persist data, you will need to check your data every time you pull /sites.

8-\

I would suggest adding a site.state, closed, and keep the site in the list for a short period of time to allow an intelligent response to the event.


response to kevin

This is assuming that sites behaves perfectly. If, for any reason, sites does something like returning an empty array, or a malformed site, automated processes will erroneously delete or disassociate data.

Where as if an explicit indication that the site is removed were present appropriate and proactive action could be taken.

This is another case where a little bit of compromise in providing fault tolerance upstream would be of great benefit downstream and easily justify a few extra bytes in the /sites response.

see http://area51.stackexchange.com/proposals/614/electronic-gadgets

edited title
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62

Heads up: Sites can fall out of beta and be removed Rather than remove site from /sites set status close, at least temporarily

edited tags
Link
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62
added 158 characters in body; edited tags
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading
Source Link
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60
Loading