-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathVideoCollectionRequest.php
More file actions
35 lines (30 loc) · 946 Bytes
/
VideoCollectionRequest.php
File metadata and controls
35 lines (30 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
namespace JasonRoman\NbaApi\Request\Api\League\Video;
use JasonRoman\NbaApi\Request\Api\League\AbstractApiLeagueRequest;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Retrieve a collection of videos and their information/ids. Collection id appears to be tied to specific
* video categories, but there does not seem to be an endpoint that retrieves these categories. Should mark
* existing ones and see if they change over time.
*/
class VideoCollectionRequest extends AbstractApiLeagueRequest
{
const ENDPOINT = '/0/league/collection/{collectionId}';
/**
* @Assert\NotBlank()
* @Assert\Type("string")
* @Assert\Uuid(strict = false)
*
* @var string
*/
public $collectionId;
/**
* {@inheritdoc}
*/
public static function getExampleValues(): array
{
return [
'collectionId' => '47b76848-028b-4536-9c9c-37379d209639',
];
}
}