* SAAS-1161 - refactor backend so episodes are loaded separately from podcast data to speed up loading and improve API readability
* Decouple imported and station podcast behaviour on the frontend
This commit is contained in:
parent
c4be9aebb2
commit
def8e7280b
9 changed files with 312 additions and 256 deletions
|
@ -40,6 +40,7 @@ class Rest_PodcastEpisodesController extends Zend_Rest_Controller
|
|||
|
||||
$this->getResponse()
|
||||
->setHttpResponseCode(201)
|
||||
->setHeader('X-TOTAL-COUNT', $totalPodcastEpisodesCount)
|
||||
->appendBody(json_encode($this->_service->getPodcastEpisodes($id, $offset, $limit, $sortColumn, $sortDir)));
|
||||
|
||||
} catch (PodcastNotFoundException $e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue