You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we are on a multisite install it would be good to expose additional properties for the site endpoint that can be fetched from the blogs table via get_blog_details().
Multisite allows you to have not only multiple sites, but multiple networks of sites. However, the traditional name for a network is site, and the traditional name for a site is blog. Yay.
Since we are dubbing this REST endpoint as site it might be confusing to use the traditional site_id and blog_id names when we are in a multisite install.
I think we should consider renaming the site_id property to network_id and blog_id to id (since this endpoint is already in the site scope).
Additionally, I think we should rename the blog_upload_space property to upload_space_quota.
New properties
When we are on a multisite install it would be good to expose additional properties for the
siteendpoint that can be fetched from theblogstable viaget_blog_details().idnetwork_iddomainpathregisteredlast_updatedattributes(public, archived, spam, deleted, mature) - possibly private?upload_space_quota- privatepost_count- privateuser_count- privateProperty name changes
Multisite allows you to have not only multiple sites, but multiple networks of sites. However, the traditional name for a network is
site, and the traditional name for a site isblog. Yay.Since we are dubbing this REST endpoint as
siteit might be confusing to use the traditionalsite_idandblog_idnames when we are in a multisite install.I think we should consider renaming the
site_idproperty tonetwork_idandblog_idtoid(since this endpoint is already in thesitescope).Additionally, I think we should rename the
blog_upload_spaceproperty toupload_space_quota.