forked from openSUSE/open-build-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
source_project_name_project_history.yaml
87 lines (86 loc) · 2.69 KB
/
source_project_name_project_history.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
get:
summary: Get project commit history.
description: Get project commit history.
security:
- basic_authentication: []
parameters:
- $ref: '../components/parameters/project_name.yaml'
- in: query
name: deleted
schema:
type: string
description: Set to `1` to allow to retrieve the revision history of a deleted project.
example: 1
- in: query
name: limit
schema:
type: integer
description: Limit the number of retrieved revision history elements to the specified number.
example: 20
- in: query
name: meta
schema:
type: string
description: Set to `1` to retrieve the revision history of the meta file (`_meta`) of the project.
example: 1
- in: query
name: startbefore
schema:
type: integer
description: Start the list of revision history elements before the given revision number.
example: 124
- in: query
name: rev
schema:
type: string
description: Return the revision entry for a specific revision number.
responses:
'200':
description: |
OK. The request has succeeded.
XML Schema used for body validation: [revisionlist.rng](../schema/revisionlist.rng)
content:
application/xml; charset=utf-8:
schema:
$ref: '../components/schemas/revision_list.yaml'
examples:
Two Revisions:
value:
- rev: 1
vrev: ''
srcmd5: d41d8cd98f00b204e9800998ecf8427e
version: ''
time: 1678364228
user: Admin
comment: project was deleted
- rev: 2
vrev: ''
srcmd5: d41d8cd98f00b204e9800998ecf8427e
version: ''
time: 1678364246
user: Admin
comment: project was undeleted
rev Parameter Specified (rev = 1):
value:
- rev: 1
vrev: ''
srcmd5: d41d8cd98f00b204e9800998ecf8427e
version: ''
time: 1678364228
user: Admin
comment: project was deleted
'401':
$ref: '../components/responses/unauthorized.yaml'
'404':
description: Not Found.
content:
application/xml; charset=utf-8:
schema:
$ref: '../components/schemas/api_response.yaml'
examples:
Unknown Project:
value:
code: unknown_project
summary: "Project not found: home:some_project"
tags:
- Sources - Projects