-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from andreia/add_tests
Add tests
- Loading branch information
Showing
24 changed files
with
304 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\GetAnalyzeStatus; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can retrieve analyze status from the api', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$jobId = 'fn708637-9f78-4023-32la-1285r04627ac'; | ||
|
||
$response = $dolbyApi->send(new GetAnalyzeStatus($jobId)); | ||
|
||
$mockClient->assertSent(GetAnalyzeStatus::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof GetAnalyzeStatus | ||
&& $response->body() == "{\"path\":\"/media/analyze\",\"status\":\"Success\",\"progress\":100,\"api_version\":\"b1.4\",\"result\":{}}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\GetDiagnoseStatus; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can retrieve diagnose status from the api', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$jobId = 'fn708637-9f78-4023-32la-1285r04627ac'; | ||
|
||
$response = $dolbyApi->send(new GetDiagnoseStatus($jobId)); | ||
|
||
$mockClient->assertSent(GetDiagnoseStatus::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof GetDiagnoseStatus | ||
&& $response->body() == "{\"path\":\"/media/diagnose\",\"status\":\"Success\",\"progress\":100,\"api_version\":\"b1.0\",\"result\":{\"media_info\":{\"container\":{\"kind\":\"mp4\",\"duration\":10.45,\"bitrate\":822169,\"size\":1073958},\"audio\":{\"codec\":\"aac\",\"channels\":2,\"sample_rate\":44100,\"duration\":10.45,\"bitrate\":96000},\"video\":{\"codec\":\"h264\",\"frame_rate\":30,\"height\":360,\"width\":640,\"duration\":10.45,\"bitrate\":711452}},\"audio\":{\"quality_score\":{\"average\":3.7,\"distribution\":[{\"lower_bound\":0,\"upper_bound\":1,\"duration\":0,\"percentage\":0},{\"lower_bound\":1,\"upper_bound\":2,\"duration\":0,\"percentage\":0},{\"lower_bound\":2,\"upper_bound\":3,\"duration\":2.5,\"percentage\":26.3},{\"lower_bound\":3,\"upper_bound\":4,\"duration\":3,\"percentage\":31.6},{\"lower_bound\":4,\"upper_bound\":5,\"duration\":4,\"percentage\":42.1},{\"lower_bound\":5,\"upper_bound\":6,\"duration\":0,\"percentage\":0},{\"lower_bound\":6,\"upper_bound\":7,\"duration\":0,\"percentage\":0},{\"lower_bound\":7,\"upper_bound\":8,\"duration\":0,\"percentage\":0},{\"lower_bound\":8,\"upper_bound\":9,\"duration\":0,\"percentage\":0},{\"lower_bound\":9,\"upper_bound\":10,\"duration\":0,\"percentage\":0}],\"worst_segment\":{\"start\":3.5,\"end\":8.5,\"score\":3.3}},\"noise_score\":{\"average\":0.9,\"distribution\":[{\"lower_bound\":0,\"upper_bound\":1,\"duration\":7,\"percentage\":73.7},{\"lower_bound\":1,\"upper_bound\":2,\"duration\":0.5,\"percentage\":5.3},{\"lower_bound\":2,\"upper_bound\":3,\"duration\":0.5,\"percentage\":5.3},{\"lower_bound\":3,\"upper_bound\":4,\"duration\":1,\"percentage\":10.5},{\"lower_bound\":4,\"upper_bound\":5,\"duration\":0.5,\"percentage\":5.3},{\"lower_bound\":5,\"upper_bound\":6,\"duration\":0,\"percentage\":0},{\"lower_bound\":6,\"upper_bound\":7,\"duration\":0,\"percentage\":0},{\"lower_bound\":7,\"upper_bound\":8,\"duration\":0,\"percentage\":0},{\"lower_bound\":8,\"upper_bound\":9,\"duration\":0,\"percentage\":0},{\"lower_bound\":9,\"upper_bound\":10,\"duration\":0,\"percentage\":0}]},\"clipping\":{\"events\":0},\"loudness\":{\"measured\":-14.91,\"range\":2.26,\"gating_mode\":\"speech\",\"sample_peak\":-0.82,\"true_peak\":-0.81},\"music\":{\"percentage\":0},\"silence\":{\"percentage\":0,\"at_beginning\":0,\"at_end\":0,\"num_sections\":0,\"silent_channels\":[]},\"speech\":{\"percentage\":100,\"events\":{\"plosive\":6,\"sibilance\":0}}}}}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\GetDownloadUrl; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can retrieve download url from the api', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$url = 'dlb://example_out'; | ||
|
||
$response = $dolbyApi->send(new GetDownloadUrl($url)); | ||
|
||
$mockClient->assertSent(GetDownloadUrl::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof GetDownloadUrl | ||
&& $response->body() == "{\"url\":\"https://media-api-proxfyprug.s3-accelerate.amazonaws.com/1129d723-42e6-40c6-a35d-07986d1be4af/example_out?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIA2N2ZL3VQJGFYC2XN%2F20230228%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230228T180833Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2...uciW1Zjouk%3D&X-Amz-Signature=2cd8a66224c1b44096782d8ac90a3614e79d65d0fb2&X-Amz-SignedHeaders=host&x-id=GetObject\"}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\GetEnhanceStatus; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can retrieve enhance status from the api', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$jobId = 'fn708637-9f78-4023-32la-1285r04627ac'; | ||
|
||
$response = $dolbyApi->send(new GetEnhanceStatus($jobId)); | ||
|
||
$mockClient->assertSent(GetEnhanceStatus::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof GetEnhanceStatus | ||
&& $response->body() == "{\"path\":\"/media/enhance\",\"status\":\"Success\",\"progress\":100,\"api_version\":\"v1.1.2\",\"result\":{}}\""; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\GetUploadUrl; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can retrieve upload url from the api', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$url = 'dlb://input/file.wav'; | ||
|
||
$response = $dolbyApi->send(new GetUploadUrl($url)); | ||
|
||
$mockClient->assertSent(GetUploadUrl::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof GetUploadUrl | ||
&& $response->body() == "{\"url\":\"https:\\/\\/media-api-proxfyprug.s3-accelerate.amazonaws.com\\/1129d723-42e6-40c6-a35d-07986d1be4af\\/input\\/file.wav?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIA2N2ZL3VQGKHMR3VL%2F20230228%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20230228T184217Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjENgE1Y7Ha79hu...CNX%2BH%2BV8%3D&X-Amz-Signature=d866b39b680172ae5a0e084c2d08c54008d18970&X-Amz-SignedHeaders=host&x-id=PutObject\"}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\StartAnalyzeMusic; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can post to analyze music', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$input = 'https://dolbyio.s3-us-west-1.amazonaws.com/public/shelby/tunnel.original.mp4'; | ||
$output = 'dlb://analyze_music_out'; | ||
$onComplete = ["url" => "https://docs.dolby.io/"]; | ||
|
||
$response = $dolbyApi->send(new StartAnalyzeMusic($input, $output, $onComplete)); | ||
|
||
$mockClient->assertSent(StartAnalyzeMusic::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof StartAnalyzeMusic | ||
&& $response->body() == "{\"job_id\":\"fn708637-9f78-4023-32la-1285r04627ac\"}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\StartAnalyzeSpeech; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can post to analyze speech', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$input = 'https://dolbyio.s3-us-west-1.amazonaws.com/public/shelby/tunnel.original.mp4'; | ||
$output = 'dlb://analyze_speech_out'; | ||
$onComplete = ["url" => "https://docs.dolby.io/"]; | ||
|
||
$response = $dolbyApi->send(new StartAnalyzeSpeech($input, $output, $onComplete)); | ||
|
||
$mockClient->assertSent(StartAnalyzeSpeech::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof StartAnalyzeSpeech | ||
&& $response->body() == "{\"job_id\":\"sn708637-9t78-4023-32la-1285r04652ac\"}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\StartAnalyze; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can post to analyze media', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$input = 'https://dolbyio.s3-us-west-1.amazonaws.com/public/shelby/tunnel.original.mp4'; | ||
$output = 'dlb://analyze_out'; | ||
$loudness = ["profile" => "service_amazon"]; | ||
$content = ['type' => '']; | ||
|
||
$response = $dolbyApi->send(new StartAnalyze($input, $output, $loudness, $content)); | ||
|
||
$mockClient->assertSent(StartAnalyze::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof StartAnalyze | ||
&& $response->body() == "{\"job_id\":\"fn708637-9f78-4023-32la-1285r04627ac\"}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\StartDiagnose; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can post to diagnose media', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$input = 'https://dolbyio.s3-us-west-1.amazonaws.com/public/shelby/tunnel.original.mp4'; | ||
$content = ['type' => 'mobile_phone']; | ||
|
||
$response = $dolbyApi->send(new StartDiagnose($input, $content)); | ||
|
||
$mockClient->assertSent(StartDiagnose::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof StartDiagnose | ||
&& $response->body() == "{\"job_id\":\"sn708637-9t78-4023-32la-1285r04652ac\"}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use DolbyApi\DolbyApi; | ||
use DolbyApi\Requests\MediaApi\StartEnhance; | ||
use DolbyApi\Responses\DolbyResponse; | ||
use Saloon\Contracts\Request; | ||
use Saloon\Contracts\Response; | ||
|
||
test('can post to enhance media', function () { | ||
$mockClient = mockClient(); | ||
$dolbyApi = new DolbyApi('my-api-token'); | ||
$dolbyApi->withMockClient($mockClient); | ||
|
||
$input = 'https://dolbyio.s3-us-west-1.amazonaws.com/public/shelby/tunnel.original.mp4'; | ||
$output = 'dlb://example_out'; | ||
|
||
$response = $dolbyApi->send(new StartEnhance($input, $output)); | ||
|
||
$mockClient->assertSent(StartEnhance::class); | ||
|
||
$mockClient->assertSent(function (Request $request, Response $response) { | ||
return $request instanceof StartEnhance | ||
&& $response->body() == "{\"job_id\":\"5879da3d-ad3c-4798-h2f8-21eb61573d2e\"}"; | ||
}); | ||
|
||
expect($response)->toBeInstanceOf(DolbyResponse::class); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"98","Connection":"keep-alive","Server":"CloudFront","Date":"Sat, 04 Mar 2023 22:01:43 GMT","Apigw-Requestid":"{\"0\": \"BNzjHhs-vHcESEA=\",\"1\":\"BNzjEjIFIAMEYnQ=\"}","x-cache":"Miss from cloudfront","Via":"1.1 071a100b70811081a393c7b4228a4288.cloudfront.net (CloudFront)","X-Amz-Cf-Pop":"GRU3-P2","X-Amz-Cf-Id":"LAmYbsQaWmZZcz7NkP5_fSDerBLUScPYQG0EQx6BwvzLTEHdZ_JTQ==","Vary":"Origin"},"data":"{\"path\":\"/media/analyze\",\"status\":\"Success\",\"progress\":100,\"api_version\":\"b1.4\",\"result\":{}}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"49","Connection":"keep-alive","Server":"CloudFront","Date":"Sat, 04 Mar 2023 21:59:20 GMT","Apigw-Requestid":"{\"0\": \"BNzjHhs-vHcESEA=\",\"1\":\"BNzjEjIFIAMEYnQ=\"}","x-cache":"Miss from cloudfront","Via":"1.1 071a100b70811081a393c7b4228a4288.cloudfront.net (CloudFront)","X-Amz-Cf-Pop":"GRU3-P2","X-Amz-Cf-Id":"LAmYbsQaWmZZcz7NkP5_fSDerBLUScPYQG0EQx6BwvzLTEHdZ_JTQ==","Vary":"Origin"},"data":"{\"job_id\":\"fn708637-9f78-4023-32la-1285r04627ac\"}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"98","Connection":"keep-alive","Server":"CloudFront","Date":"Sat, 04 Mar 2023 22:01:43 GMT","Apigw-Requestid":"{\"0\": \"BNzjHhs-vHcESEA=\",\"1\":\"BNzjEjIFIAMEYnQ=\"}","x-cache":"Miss from cloudfront","Via":"1.1 071a100b70811081a393c7b4228a4288.cloudfront.net (CloudFront)","X-Amz-Cf-Pop":"GRU3-P2","X-Amz-Cf-Id":"LAmYbsQaWmZZcz7NkP5_fSDerBLUScPYQG0EQx6BwvzLTEHdZ_JTQ==","Vary":"Origin"},"data":"{\"job_id\":\"fn708637-9f78-4023-32la-1285r04627ac\"}"} | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"98","Connection":"keep-alive","Server":"CloudFront","Date":"Sat, 04 Mar 2023 22:01:43 GMT","Apigw-Requestid":"{\"0\": \"BNzjHhs-vHcESEA=\",\"1\":\"BNzjEjIFIAMEYnQ=\"}","x-cache":"Miss from cloudfront","Via":"1.1 071a100b70811081a393c7b4228a4288.cloudfront.net (CloudFront)","X-Amz-Cf-Pop":"GRU3-P2","X-Amz-Cf-Id":"LAmYbsQaWmZZcz7NkP5_fSDerBLUScPYQG0EQx6BwvzLTEHdZ_JTQ==","Vary":"Origin"},"data":"{\"path\":\"/media/analyze/music\",\"status\":\"Success\",\"progress\":100,\"api_version\":\"b1.0\",\"result\":{}}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"49","Connection":"keep-alive","Server":"CloudFront","Date":"Sat, 04 Mar 2023 21:59:20 GMT","Apigw-Requestid":"{\"0\": \"BNzjHhs-vHcESEA=\",\"1\":\"BNzjEjIFIAMEYnQ=\"}","x-cache":"Miss from cloudfront","Via":"1.1 071a100b70811081a393c7b4228a4288.cloudfront.net (CloudFront)","X-Amz-Cf-Pop":"GRU3-P2","X-Amz-Cf-Id":"LAmYbsQaWmZZcz7NkP5_fSDerBLUScPYQG0EQx6BwvzLTEHdZ_JTQ==","Vary":"Origin"},"data":"{\"job_id\":\"fn708637-9f78-4023-32la-1285r04627ac\"}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"49","Connection":"keep-alive","Server":"CloudFront","Date":"Fri, 03 Mar 2023 17:48:17 GMT","Apigw-Requestid":"{\"0\": \"BNzjHhs-vHcESEA=\",\"1\":\"BNzjEjIFIAMEYnQ=\"}","x-cache":"Miss from cloudfront","Via":"1.1 071a100b70811081a393c7b4228a4288.cloudfront.net (CloudFront)","X-Amz-Cf-Pop":"GRU3-P2","X-Amz-Cf-Id":"LAmYbsQaWmZZcz7NkP5_fSDerBLUScPYQG0EQx6BwvzLTEHdZ_JTQ==","Vary":"Origin"},"data":"{\"job_id\":\"fn708637-9f78-4023-32la-1285r04627ac\"}"} | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"49","Connection":"keep-alive","Server":"CloudFront","Date":"Fri, 03 Mar 2023 17:48:17 GMT","Apigw-Requestid":"{\"0\": \"BNzjHhs-vHcESEA=\",\"1\":\"BNzjEjIFIAMEYnQ=\"}","x-cache":"Miss from cloudfront","Via":"1.1 071a100b70811081a393c7b4228a4288.cloudfront.net (CloudFront)","X-Amz-Cf-Pop":"GRU3-P2","X-Amz-Cf-Id":"LAmYbsQaWmZZcz7NkP5_fSDerBLUScPYQG0EQx6BwvzLTEHdZ_JTQ==","Vary":"Origin"},"data":"{\"path\":\"/media/analyze/speech\",\"status\":\"Success\",\"progress\":100,\"api_version\":\"b1.0\",\"result\":{}}"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"statusCode":200,"headers":{"Content-Type":"application\/json","Content-Length":"49","Connection":"keep-alive","Server":"CloudFront","Date":"Sat, 04 Mar 2023 21:59:20 GMT","Apigw-Requestid":"{\"0\": \"BNzjHhs-vHcESEA=\",\"1\":\"BNzjEjIFIAMEYnQ=\"}","x-cache":"Miss from cloudfront","Via":"1.1 071a100b70811081a393c7b4228a4288.cloudfront.net (CloudFront)","X-Amz-Cf-Pop":"GRU3-P2","X-Amz-Cf-Id":"LAmYbsQaWmZZcz7NkP5_fSDerBLUScPYQG0EQx6BwvzLTEHdZ_JTQ==","Vary":"Origin"},"data":"{\"job_id\":\"sn708637-9t78-4023-32la-1285r04652ac\"}"} |
Oops, something went wrong.