File tree 1 file changed +30
-61
lines changed
docs/api/apiv3/components/schemas
1 file changed +30
-61
lines changed Original file line number Diff line number Diff line change 1
1
# Schema: Versions_by_ProjectModel
2
2
---
3
- type : object
4
- example :
5
- _links :
6
- self :
7
- href : " /api/v3/projects/11/versions"
8
- total : 3
9
- count : 3
10
- _type : Collection
11
- _embedded :
12
- elements :
13
- - _links :
14
- self :
15
- href : " /api/v3/versions/11"
16
- definingProject :
17
- href : " /api/v3/projects/11"
18
- availableInProjects :
19
- href : " /api/v3/versions/11/projects"
20
- _type : Version
21
- id : 11
22
- name : v3.0 Alpha
23
- description :
24
- format : plain
25
- raw : This version has a description
26
- html : This version has a description
27
- startDate : ' 2014-11-20'
28
- endDate :
29
- status : Open
30
- - _links :
31
- self :
32
- href : " /api/v3/versions/12"
33
- definingProject :
34
- href : " /api/v3/projects/11"
35
- availableInProjects :
36
- href : " /api/v3/versions/12/projects"
37
- _type : Version
38
- id : 12
39
- name : v2.0
40
- description :
41
- format : plain
42
- raw : ' '
43
- html : ' '
44
- startDate :
45
- endDate :
46
- status : Closed
47
- - _links :
48
- self :
49
- href : " /api/v3/versions/10"
50
- definingProject :
51
- href : " /api/v3/projects/11"
52
- availableInProjects :
53
- href : " /api/v3/versions/10/projects"
54
- _type : Version
55
- id : 10
56
- name : v1.0
57
- description :
58
- format : plain
59
- raw : ' '
60
- html : ' '
61
- startDate :
62
- endDate :
63
- status : Open
3
+ allOf :
4
+ - " $ref " : " ./collection_model.yml"
5
+ - type : object
6
+ required :
7
+ - _links
8
+ - _embedded
9
+ properties :
10
+ _links :
11
+ type : object
12
+ required :
13
+ - self
14
+ properties :
15
+ self :
16
+ allOf :
17
+ - " $ref " : " ./link.yml"
18
+ - description : |-
19
+ The versions collection
20
+
21
+ **Resource**: VersionsCollection
22
+ readOnly: true
23
+ _embedded :
24
+ type : object
25
+ properties :
26
+ elements :
27
+ type : array
28
+ readOnly : true
29
+ items :
30
+ allOf :
31
+ - " $ref " : " ./version_model.yml"
32
+ - description : Collection of Versions
You can’t perform that action at this time.
0 commit comments