Skip to content

Commit a3d3060

Browse files
committed
[docs] update base, shield and stream api documentation
1 parent 9466d78 commit a3d3060

File tree

6 files changed

+530
-5
lines changed

6 files changed

+530
-5
lines changed

docs/base-api.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ $bunnyHttpClient->request(
539539
'BR',
540540
'JH',
541541
],
542+
'PlayerVersion' => 1,
542543
],
543544
)
544545
);
@@ -555,6 +556,9 @@ $bunnyHttpClient->request(
555556
- `SYD` = Sydney (Oceania)
556557
- `BR` = Sao Paulo (Brazil)
557558
- `JH` = Johannesburg (Africa)
559+
- The key `PlayerVersion` has the following possible values:
560+
- `1` = Default video player
561+
- `2` = Beta video player
558562

559563
#### [Get Video Library](https://docs.bunny.net/reference/videolibrarypublic_index2)
560564

@@ -632,6 +636,9 @@ $bunnyHttpClient->request(
632636
'RemoveMetadataFromFallbackVideos' => false,
633637
'DrmVersion' => 'Basic',
634638
'PlaybackSpeeds' => '0.25,0.5,0.75,1.0,1.25,1.5,1.75,2.0,2.5,3,3.5,4',
639+
'EnableTranscribingChaptersGeneration' => false,
640+
'EnableTranscribingMomentsGeneration' => false,
641+
'ScaleVideoUsingBothDimensions' => true,
635642
],
636643
)
637644
);
@@ -2349,6 +2356,48 @@ $bunnyHttpClient->request(
23492356

23502357
This endpoint is no longer in the OpenAPI specifications but can still be used indefinitely.
23512358

2359+
#### Get User Audit Log
2360+
2361+
```php
2362+
$bunnyHttpClient->request(
2363+
new \ToshY\BunnyNet\Model\Api\Base\User\GetUserAuditLog(
2364+
date: (new \DateTime('-1 day'))->format('m-d-y'),
2365+
query: [
2366+
'Product' => [
2367+
'BunnyShield',
2368+
],
2369+
'ResourceType' => [
2370+
'Access Lists',
2371+
],
2372+
'ResourceId' => [
2373+
'1',
2374+
],
2375+
'ActorId' => [
2376+
'53c6cf29-c7cc-4d82-8187-56938c5e0734',
2377+
],
2378+
'Order' => [
2379+
'<key>' => '<value>',
2380+
],
2381+
'ContinuationToken' => [
2382+
'MWRiMjM0MTItMzM4Yy00NmFiLWEwYzEtN2E2ZGE2N2FiYzc4LTE3NjE4NjA0ODE4ODM=',
2383+
],
2384+
'Limit' => [
2385+
10000
2386+
]
2387+
],
2388+
)
2389+
);
2390+
```
2391+
2392+
??? note
2393+
2394+
- The key `Limit` has a value range of 1-10000.
2395+
2396+
??? warning
2397+
2398+
- The key `Limit` is currently not functional.
2399+
- The key `Order` has unknown key-value usage.
2400+
23522401
#### Get User Details
23532402

23542403
```php

0 commit comments

Comments
 (0)