Articles

Retrieve an article

Retrieve the details of an article.

get/articles/{article_id}

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/articles/{article_id}
  • Auth: HTTP bearer

Path parameters

article_idstring uuid required
Example:90653be8-2283-4cec-ab1d-77cef28202a1

Response

Article retrieved successfully

idstring uuid required
namestring required
brief_google_doc_urlstring nullable required
draft_google_doc_urlstring nullable required
live_urlstring nullable required
campaign_idstring uuid required
product_idstring uuid required
profile_idstring uuid required
expected_completion_datestring nullable
expected_completion_date_titlestring nullable required
last_live_article_check_idstring uuid nullable required

Example response

{
  "name": "Stabilis amplus auctor advenio velum umerus cuius.",
  "writer": {
    "first_name": "Alfreda",
    "last_name": "Tremblay"
  },
  "support_agent": {
    "first_name": "Alfreda",
    "last_name": "Tremblay"
  },
  "status": {
    "name": "Waiting for content brief",
    "prefix": "waiting-for-content-brief",
    "color": "red"
  },
  "files": [
    {
      "type": "ATTACHMENT"
    }
  ],
  "brief_file": {
    "type": "ATTACHMENT"
  },
  "live_article_check": {
    "status": "failed",
    "live_url": "https://example.com/articles/story",
    "content_source": "http",
    "audience_messages": {
      "publisher": {
        "summary": "The live article includes a publisher team name.",
        "next_step": "Remove that mention from the live article, then submit the URL again."
      },
      "admin": {
        "summary": "The submitted live article mentions the publisher team name.",
        "next_step": "Open the submitted URL, confirm the matched text, and request an update."
      }
    },
    "issues": [
      {
        "issue_type": "publisher_team_name_mention",
        "severity": "critical",
        "title": "Publisher team name mentioned",
        "description": "The live article mentions the publisher team name.",
        "location": "Article body",
        "suggestion": "Remove the publisher team name from reader-visible article content.",
        "original_text": "Ascend Agency",
        "char_position": 120
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.