-
Notifications
You must be signed in to change notification settings - Fork 8
Additional site properties for multisite #4
Comments
@rmccue @danielbachhuber Would we want to include this data too, or should there be a multisite-specific endpoint later to account for multiple networks? e.g. |
I'd think the latter. @jeremyfelt? |
Definitely. This gives us a chance to stay sane with naming.
I thing a network endpoint makes sense. Not only for multiple networks but to manage the network level settings in a single network setup. The site endpoint should provide its |
I'd have
I'd also only offer these endpoints on the primary site (and the network endpoints only on the primary network) personally. |
I'm not sure about this. It would be clear what it means, but I would assume that a field called
+1, this certainly makes sense. It might be useful however to be able to find out from any site where to find the primary site. |
New properties
When we are on a multisite install it would be good to expose additional properties for the
site
endpoint that can be fetched from theblogs
table viaget_blog_details()
.id
network_id
domain
path
registered
last_updated
attributes
(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
site
it might be confusing to use the traditionalsite_id
andblog_id
names when we are in a multisite install.I think we should consider renaming the
site_id
property tonetwork_id
andblog_id
toid
(since this endpoint is already in thesite
scope).Additionally, I think we should rename the
blog_upload_space
property toupload_space_quota
.The text was updated successfully, but these errors were encountered: