Legacy Poppulo platform REST API
Name | Description |
---|---|
HTTP Method | GET |
URL | https://api.newsweaver.com/v2/{account code}/article/{article identifier}/sections |
Query Parameters | N/A |
Request representation | N/A |
Response representation | Article Section List |
Success Response Code | 200 Ok |
403 - Forbidden
if API user doesn't have READ
access to ARTICLES
and SECTIONS
404 - Not Found
if the article doesn't existExample: GET https://api.newsweaver.com/v2/sample-account/article/123/sections
<article_sections total="2" uri="api.newsweaver.com/v2/example-account/article/123/sections">
<itemsPerPage>1000</itemsPerPage>
<startIndex>0</startIndex>
<totalResults>2</totalResults>
<article_section uri="api.newsweaver.com/v2/example-account/article/123/section/456">
<link href="api.newsweaver.com/v2/example-account/section/456" rel="http://api-info.newsweaver.com/v2/rels/article_section.section" title="Section (456)"/>
<rank>0</rank>
</article_section>
<article_section uri="api.newsweaver.com/v2/example-account/article/123/section/456">
<link href="api.newsweaver.com/v2/example-account/section/456" rel="http://api-info.newsweaver.com/v2/rels/article_section.section" title="Section (456)"/>
<rank>1</rank>
</article_section>
</article_sections>