[wp-trac] [WordPress Trac] #41459: Introduce a REST API endpoint for networks

WordPress Trac noreply at wordpress.org
Mon Aug 21 11:31:15 UTC 2017


#41459: Introduce a REST API endpoint for networks
--------------------------------+-----------------------------
 Reporter:  flixos90            |       Owner:
     Type:  task (blessed)      |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  ms-roadmap          |     Focuses:  multisite
--------------------------------+-----------------------------

Comment (by spacedmonkey):

 If #37181 is put in core, we can also make this endpoint an interface for
 network options, using the meta api.

 If we use the meta api, we can also use the register_meta function to
 display some fields in the network endpoint. A quick review shows the
 following fields as possibly useful in the network endpoint.

 - siteurl
 - admin_email
 - site_name

 A number of other fields that might be useful are

 - user_count
 - blog_count

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41459#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list