-
-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathAsset.yaml
More file actions
53 lines (53 loc) · 980 Bytes
/
Asset.yaml
File metadata and controls
53 lines (53 loc) · 980 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
title: Asset
type: object
properties:
id:
type: string
example: 1w2ndkgo
title:
type: string
example: Olive clog boots
type:
type: string
nullable: true
example: product
caption:
type: string
example: Olive clog boots
kind:
type: string
example: image
external:
type: boolean
example: false
position:
type: integer
example: 1
primary:
type: boolean
example: true
url:
type: string
example: http:\/\/cdn.test\/storage\/products\/2020\/01\/SBBsDXmM8pg.jpg
sub_kind:
type: string
example: jpeg
extension:
type: string
example: 'jpg'
original_filename:
type: string
example: 'B15Z31__58612_std.jpg'
size:
type: string
example: 88408
width:
type: string
example: 601
height:
type: string
example: 1000
transforms:
$ref: '../responses/AssetTransformCollection.yaml'
tags:
$ref: '../../tags/responses/TagCollection.yaml'