Hello there,
I'm having difficulty in using the API to 'flesh out' the schedule information.
In other words, I can get a schedule for a channel perfectly well, but can't then use that information to get hold of the content.
In the array of 'entries' returned from the schedule query,I see a top-level 'broadcast' object and a top-level 'item' object. The 'item' object is empty.
There is a 'broadcast.aliases' property, which in turn has 'namespace' and 'value' properties. I thought I'd be able to use these values in a content query to get hold of (e.g.) programme name, since the api documents that "Content can be fetched either by unique ID or by adding filter parameters to the endpoint". However, I notice that the API explorer doesn't allow a search without an id parameter, if you remove the default the field is automatically repopulated, so it appears to insist on that.
Anyway, I get the following results:
For the following url, I get a 406 Not Acceptable error:
For the following url I get a 500:
which returns an error code of error_id: "da8f9727-4800-47f7-ab10-3919d9d9b994".
I am able to get content calling the search endpoint as per the examples section of the website:
which returns a specific 'id' for a programme which I can then use in the content endpoint like this:
I'm sure I must have the endpoints wrong or am barking up a very wrong tree.
Please can you help?
Many thanks
Greg