Skip to content
Snippets Groups Projects
  • David M. Lee's avatar
    7f547872
    ARI: Implement /recordings/stored API's · 7f547872
    David M. Lee authored
    his patch implements the ARI API's for stored recordings. While the
    original task only specified deleting a recording, it was simple
    enough to implement the GET for all recordings, and for an individual
    recording.
    
    The recording playback operation was modified to use the same code for
    accessing the recording as the REST API, so that they will behave
    consistently.
    
    There were several problems with the api-docs that were also fixed,
    bringing the ARI spec in line with the implementation. There were some
    'wishful thinking' fields on the stored recording model (duration and
    timestamp) that were removed, because I ended up not implementing a
    metadata file to go along with the recording to store such information.
    
    The GET /recordings/live operation was removed, since it's not really
    that useful to get a list of all recordings that are currently going
    on in the system. (At least, if we did that, we'd probably want to
    also list all of the current playbacks. Which seems weird.)
    
    (closes issue ASTERISK-21582)
    Review: https://reviewboard.asterisk.org/r/2693/
    ........
    
    Merged revisions 397985 from http://svn.asterisk.org/svn/asterisk/branches/12
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
    7f547872
    History
    ARI: Implement /recordings/stored API's
    David M. Lee authored
    his patch implements the ARI API's for stored recordings. While the
    original task only specified deleting a recording, it was simple
    enough to implement the GET for all recordings, and for an individual
    recording.
    
    The recording playback operation was modified to use the same code for
    accessing the recording as the REST API, so that they will behave
    consistently.
    
    There were several problems with the api-docs that were also fixed,
    bringing the ARI spec in line with the implementation. There were some
    'wishful thinking' fields on the stored recording model (duration and
    timestamp) that were removed, because I ended up not implementing a
    metadata file to go along with the recording to store such information.
    
    The GET /recordings/live operation was removed, since it's not really
    that useful to get a list of all recordings that are currently going
    on in the system. (At least, if we did that, we'd probably want to
    also list all of the current playbacks. Which seems weird.)
    
    (closes issue ASTERISK-21582)
    Review: https://reviewboard.asterisk.org/r/2693/
    ........
    
    Merged revisions 397985 from http://svn.asterisk.org/svn/asterisk/branches/12
    
    
    git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397988 65c4cc65-6c06-0410-ace0-fbb531ad65f3