ArcGIS API for JavaScript: Hosted/GDB_STATUS (FeatureServer)
Built using the ArcGIS API for JavaScript