Listing news articles

This method will provide you with a complete list of all news articles for a particular support centre.

URL

/api/v2/support_centres/news_articles

Access

This method can be accessed by account tokens and user tokens where the associated user has access to manage the support centre content.

Supported Parameters

  • support_centre - ID or permalink of a support centre. (required)

Example JSON

{
    "pagination": {
        "page": 1,
        "offset": 0,
        "per_page": 30,
        "pages": 1,
        "total_records": 1
    },
    "records": [
        {
            "id": 1,
            "title": "Use Automatic Deployments with Codebase",
            "permalink": "use-automatic-deployments-with-codebase",
            "author": {
                "id": 2,
                "username": "danq",
                "first_name": "Dan",
                "last_name": "Quinney",
                "job_title": null,
                "avatar_url": "https://secure.gravatar.com/avatar/144bf62bac97854d81eb4e1eb02e748d?rating=PG&size={{size}}&d=mm"
            },
            "content": "...",
            "published": true
        }
    ]
}

Proudly powered by Katapult. Running on 100% renewable energy.