Content Endpoints

We are working with several schools to automate certain section-based news items to show up in their parents' mobile app feed.

We are able to get is some general news categories, but what need is what teachers are posting weekly into their Academic updates.

It seems like this endpoint SHOULD do it…

POST /v1/contentmanagement/news/list

… and the docs suggest the "Category Request model"; however, we're unable to get any responses with any of the types suggested…

"The type of category or section. Allowed values: Page content, Class, Activity, Advisory, Team, Dorm, Community"

Since the endpoints don't return everything, and then allow filtering, I feel like we're "fishing" with API requests, trying to hit something.

Some guidance would help very much, can we show me a couple of example POST bodies that would return the news (and annoucements) for a specific class?

Thank you,

R

Answers

  • Ruben Perez
    edited August 9

    @Stephen Boyle any help would be appreciated.

    I was able to get News out of this endpoint:

    GET /v1/content/news/items?category_type=Community&categories=90332430

    This works, but I don't understand the ContentMgmt endpoints. I would assume that these are similar but more advanced filtering capability:

    For example, should this give the same response?

    POST /v1/contentmanagement/news/list
    {
    "categories": [ {

    "category_id": 90332430,
    "category_name": "Community"
    } ],
    "show_secured": true
    }