Get Article

Name Description
HTTP Method GET
URL https://api.newsweaver.com/v2/{account code}/article/{article id}
Query Parameters No
Request representation N/A
Response representation Article
Success Response Code 200 Ok

Errors

  • 403 - Forbidden if API user doesn't have READ access to ARTICLES
  • Common errors (user/account authentication errors, API usage limit errors)

Example: GET https://api.newsweaver.com/v2/sample-account/article/123

<article uri="https://api.newsweaver.com/v2/example-account/article/123">
    <link href="https://api.newsweaver.com/v2/example-account/article/123" rel="edit" title="Edit: Article (123)"/>
    <link href="https://api.newsweaver.com/v2/example-account/issue/456" rel="http://api-info.newsweaver.com/v2/rels/article.issue" title="Issue (456)"/>
    <link href="https://api.newsweaver.com/v2/example-account/article/123/topics" rel="http://api-info.newsweaver.com/v2/rels/article.topics" title="Article (123) Topics"/>
    <link href="https://api.newsweaver.com/v2/example-account/article/123/sections" rel="http://api-info.newsweaver.com/v2/rels/article.sections" title="Article (123) Sections"/>
    <link href="https://api.newsweaver.com/v2/example-account/article/123/synopsis_image" rel="http://api-info.newsweaver.com/v2/rels/article.synopsis_image" title="Article (123) Synopsis Image"/>
    <link href="https://api.newsweaver.com/v2/example-account/article/123/body_image" rel="http://api-info.newsweaver.com/v2/rels/article.body_image" title="Article (123) Body Image"/>
    <url>www.newsweaver.com</url>
    <body>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla mattis malesuada
        nisl. Vivamus fringilla porta orci a suscipit. Aliquam erat volutpat. Etiam vel
        eleifend arcu. Quisque id nisi libero. Duis posuere magna vel risus gravida
        tristique. Pellentesque habitant morbi tristique senectus et netus et malesuada
        fames ac turpis egestas.&lt;br /&gt;&lt;br /&gt;Nunc quis
        viverra diam. Nulla vel lectus vitae arcu convallis vehicula. Nullam non gravida
         felis, et ornare metus. Integer faucibus lectus vel nisl varius adipiscing.
        Fusce elementum vulputate lacus at pharetra. Nam sed imperdiet justo, et
        malesuada turpis. Praesent sollicitudin vehicula rutrum. Pellentesque posuere,
        augue non imperdiet vehicula, massa enim semper dui, at consectetur ligula orci
        eu enim. Phasellus rhoncus gravida nulla auctor posuere. Duis vehicula faucibus
        mollis. Duis consectetur sem diam, quis aliquet dui porta at. Integer at nulla
        in purus mattis porttitor. Sed ut augue velit. Ut ac iaculis est.&lt;br
        /&gt;&lt;br /&gt;Etiam in sollicitudin enim. Praesent consectetur
        erat velit, feugiat adipiscing nunc pulvinar sed. Sed porttitor, quam a sagittis
         commodo, orci dui tincidunt justo, scelerisque fringilla nulla massa sed
        libero. Cras iaculis nibh nec suscipit tincidunt. Cras ut sollicitudin tortor.
        Ut pellentesque, lorem ac lobortis volutpat, erat elit porttitor nisi, sed
        faucibus enim lacus ac est. Sed at turpis id magna commodo consequat.&lt;br
        /&gt;&lt;br /&gt;Cras eu metus lorem. Vivamus felis enim, tincidunt
        in fringilla quis, aliquet blandit nisl. Integer massa leo, placerat ac laoreet
        id, consequat quis ipsum. Nullam ante eros, vehicula ac interdum molestie,
        auctor sit amet urna. Pellentesque sit amet elit nec nisl condimentum consequat
        et eget orci. Cras purus orci, dictum a justo quis, mollis rutrum eros. Donec
        ultricies odio sit amet malesuada dictum. Nam hendrerit purus et massa bibendum,
         in sagittis lacus venenatis. Duis bibendum, nibh at sollicitudin tempor, lacus
        justo auctor elit, nec ornare nunc enim sit amet diam.&lt;br
    </body>
    <title>Example Article</title>
    <author>Joe Bloggs</author>
    <subtitle>Showing off what an article can do!</subtitle>
    <synopsis>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla mattis malesuada
        nisl. Vivamus fringilla porta orci a suscipit. Aliquam erat volutpat. Etiam vel
        eleifend arcu. Quisque id nisi libero. Duis posuere magna vel risus gravida
        tristique. Pellentesque habitant morbi tristique senectus et netus et malesuada
        fames ac turpis egestas.&lt;br /&gt;&lt;br /&gt;Nunc quis
        viverra diam. Nulla vel lectus vitae arcu convallis vehicula. Nullam non gravida
         felis, et ornare metus. Integer faucibus lectus vel nisl varius adipiscing.
        Fusce elementum vulputate lacus at pharetra. Nam sed imperdiet justo, et
        malesuada turpis. Praesent sollicitudin vehicula rutrum. Pellentesque posuere,
        augue non imperdiet vehicula, massa enim semper dui, at consectetur ligula orci
        eu enim. Phasellus rhoncus gravida nulla auctor posuere. Duis vehicula faucibus
        mollis. Duis consectetur sem diam, quis aliquet dui porta at. Integer at nulla
        in purus mattis porttitor. Sed ut augue velit. Ut ac iaculis est.
    </synopsis>
    <display_date>2013-06-12T23:00:00Z</display_date>
    <status>DRAFT</status>
</article>

results matching ""

    No results matching ""