Get Publication
Name | Description |
---|---|
HTTP Method | GET |
URL | https://api.newsweaver.com/v2/{account code}/publication/{publication code} |
Query Parameters | No |
Request representation | N/A |
Response representation | Publication |
Success Response Code | 200 Ok |
Errors
403 - Forbidden
if API user doesn't haveREAD
access toPUBLICATIONS
403 - Forbidden
if API user doesn't have access to this publication403 - Forbidden
if publication is not active- Common errors (user/account authentication errors, API usage limit errors)
Example: GET https://api.newsweaver.com/v2/sample-account/publication/newsletter
<publication code="newsletter" uri="https://api.newsweaver.com/v2/example-account/publication/newsletter">
<link
href="https://api.newsweaver.com/v2/example-account/publication/63795/issues"
rel="http://api-info.newsweaver.com/v2/rels/publication.issues"
title="Publication (63795) Issues"/>
<link
href="https://api.newsweaver.com/v2/example-account/publication/63795/sections"
rel="http://api-info.newsweaver.com/v2/rels/publication.sections"
title="Publication (63795) Sections"/>
<name>Newsletter</name>
<description>This is a Newsletter.</description>
</publication>