Follows API =========== .. contents:: :depth: 2 The follows API supports listing the sections an author is following, follow and unfollow sections as well as listing authors that are following to sections. .. _list-sections-followed: List sections followed by author -------------------------------- Fetches the information of sections followed by a author. .. code:: GET /api/1.3/follows//section Parameters ********** No parameters needed for this action. Response ******** The response is an array of the sections followed by the author. .. code:: json [ { "id": 100, "title": "My section", "url": "my-section", "full_url": "my-section", "status": 1, "meta_title": null, "page_settings": { "hide_from_entry_editor": false, "allow_community_posts": false, "open_in_new_tab": false }, "about_html": "", "tags": ["foo", "bar"], "url_header_image": "", "site_id": 9, "created_ts": 1507918417, "order": 3, "parent_id": 0, "type": 2, "extras": {}, "header_image_id": null } ] Follow a section ---------------- Makes an author to follow a section. .. code:: PUT /api/1.3/follows//section/ Parameters and Response *********************** The same specification from :ref:`list-sections-followed` applies here. Unfollow a section ------------------ Makes an author to unfollow a section. .. code:: DELETE /api/1.3/follows//section/ Parameters and Response *********************** The same specification from :ref:`list-sections-followed` applies here. Get section followers --------------------- Fetches the information of authors that are following a section. .. code:: GET /api/1.3/follows/sections/ Parameters ********** No parameters needed for this action. Response ******** The same specification from :ref:`list-authors` applies here.