メインコンテンツまでスキップ

Stop the microphone test's recording

POST 

/api/peripherals/microphones/test/stop

Ends the test named by token on the selected board at once; a token that is not the current test's (a late Stop for an earlier test) stops nothing and returns null. It ends the recording even when arecord has stopped producing audio; what was recorded becomes the result, read through GET as usual. A test stopped before 0.1 s was recorded ends with stopped_early. Returns the test, or null when there is none for the selected board. It never stops another application.

Request​

Responses​

The test, or null.