Program Data by rest API | Community
Skip to main content
Tejas_Deshmukh_
Level 2
April 9, 2019
Question

Program Data by rest API

  • April 9, 2019
  • 1 reply
  • 1857 views

When we try to get program data by rest api, we can do it by different ways as below
Query

  1. By Id
  2. By Name
  3. Browse
  4. By Date Range
  5. By Tag Type

In this, when I hit rest api to get program details by Id ie. GET /rest/asset/v1/program/{id}.json
I get all fields including startDate,endDate,tags

but when I hit rest api to get program details by browse ie. GET /rest/asset/v1/programs.json

I didnt get all fields . I only get --> id, name, createdAt, updatedAt, url, type, channel, folder, status, workspace
in which startDate,endDate,tags are not present for same program Ids

As we need all programs with our system, and hitting api on id basis will be too much time consuming,
is there any way we can get all program data in browse itself with all fields

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
April 9, 2019

AFAIK you can't change what you see via Browse.

Maintaining an up-to-date, offline mirror of your Program hierarchy is complex and call-intensive.