Merge lp:~cjohnston/ubuntu-ci-services-itself/ts-doc-updates into lp:ubuntu-ci-services-itself

Proposed by Chris Johnston
Status: Merged
Approved by: Chris Johnston
Approved revision: 107
Merged at revision: 108
Proposed branch: lp:~cjohnston/ubuntu-ci-services-itself/ts-doc-updates
Merge into: lp:ubuntu-ci-services-itself
Diff against target: 102 lines (+43/-36)
1 file modified
docs/components/ticket-system.rst (+43/-36)
To merge this branch: bzr merge lp:~cjohnston/ubuntu-ci-services-itself/ts-doc-updates
Reviewer Review Type Date Requested Status
Ursula Junque (community) Approve
Review via email: mp+201705@code.launchpad.net

Commit message

Make some update/fixes to the TS docs

To post a comment you must log in.
Revision history for this message
Ursula Junque (ursinha) wrote :

Looks good to me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'docs/components/ticket-system.rst'
2--- docs/components/ticket-system.rst 2013-12-20 22:37:46 +0000
3+++ docs/components/ticket-system.rst 2014-01-15 02:30:38 +0000
4@@ -166,6 +166,11 @@
5
6 curl --dump-header - http://162.213.34.2:8000/api/v1/ticket/1/
7
8+get_next_ticket
9+~~~~~~~~~~~~~~~
10+
11+Show the current in progress, or the first pending ticket.
12+
13 get_ticket_status
14 ~~~~~~~~~~~~~~~~~
15
16@@ -192,8 +197,44 @@
17
18 curl --dump-header - -H "Content-Type: application/json" -X POST --data '{"source_package_upload": "/api/v1/spu/X/, "ticket": "/api/v1/ticket/X/, "assignee": "test@example.com"}' http://localhost:8000/api/v1/subticket/
19
20-Person
21-------
22+
23+Project
24+-------
25+
26+get_source_package
27+~~~~~~~~~~~~~~~~~~
28+
29+*return all binary packages*
30+
31+::
32+
33+ curl --dump-header - http://localhost:8000/api/v1/sourcepackage/
34+
35+add_source_package
36+~~~~~~~~~~~~~~~~~~
37+
38+::
39+
40+ curl --dump-header - -H "Content-Type: application/json" -X POST --data '{"name": "my-package"}' http://localhost:8000/api/v1/sourcepackage/
41+
42+get_binary_package
43+~~~~~~~~~~~~~~~~~~
44+
45+*return all binary packages*
46+
47+::
48+
49+ curl --dump-header - http://localhost:8000/api/v1/binarypackage/
50+
51+add_binary_package
52+~~~~~~~~~~~~~~~~~~
53+
54+::
55+
56+ curl --dump-header - -H "Content-Type: application/json" -X POST --data '{"name": "my-package", "sourcepackage": "/api/v1/sourcepackage/1/", "seeded": "False"}' http://localhost:8000/api/v1/binarypackage/
57+
58+Person - TODO
59+-------------
60
61 add_person
62 ~~~~~~~~~~
63@@ -248,40 +289,6 @@
64 curl --dump-header - http://localhost:8000/api/v1/person/?is_team=True
65 curl --dump-header - http://localhost:8000/api/v1/person/?is_team=False
66
67-Project
68--------
69-
70-get_source_package
71-~~~~~~~~~~~~~~~~~~
72-
73-*return all binary packages*
74-
75-::
76- curl --dump-header - http://localhost:8000/api/v1/sourcepackage/
77-
78-add_source_package
79-~~~~~~~~~~~~~~~~~~
80-
81-::
82-
83- curl --dump-header - -H "Content-Type: application/json" -X POST --data '{"name": "my-package"}' http://localhost:8000/api/v1/sourcepackage/
84-
85- get_binary_package
86-~~~~~~~~~~~~~~~~~~
87-
88-*return all binary packages*
89-
90-::
91-
92- curl --dump-header - http://localhost:8000/api/v1/binarypackage/
93-
94-add_binary_package
95-~~~~~~~~~~~~~~~~~~
96-
97-::
98-
99- curl --dump-header - -H "Content-Type: application/json" -X POST --data '{"name": "my-package", "sourcepackage": "/api/v1/sourcepackage/1/", "seeded": "False"}' http://localhost:8000/api/v1/binarypackage/
100-
101 Models
102 ******
103

Subscribers

People subscribed via source and target branches