Skip to content

Commit

Permalink
Update Media Controller ASL endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
angrave committed Nov 8, 2023
1 parent 9e62f96 commit 2a7b4c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ClassTranscribeServer/Controllers/MediaController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public async Task<IActionResult> PutJsonMetaData(JObject jsonMetaData, string id
}


// POST: api/ASLMedia
// POST: api/ASLVideo
[DisableRequestSizeLimit]
[HttpPost("ASLVideo")]
[Authorize]
Expand Down Expand Up @@ -203,6 +203,11 @@ public async Task<ActionResult<Media>> PostASLVideo(IFormFile aSLVideo, [FromFor
return Ok();
}

// DELETE: api/Media/ASLVideo/{mediaId}

[HttpDelete("ASLVideo/{mediaId}")]

[Authorize]
public async Task<ActionResult<Media>> DeleteASLVideo(string mediaId)
{

Expand Down

0 comments on commit 2a7b4c4

Please sign in to comment.