-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAutoBeer.Web.xml
95 lines (95 loc) · 4.73 KB
/
AutoBeer.Web.xml
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
88
89
90
91
92
93
94
95
<?xml version="1.0"?>
<doc>
<assembly>
<name>AutoBeer.Web</name>
</assembly>
<members>
<member name="T:AutoBeer.Api.BeerController">
<summary>
This API controller is responsible for serving and storing Beer
</summary>
</member>
<member name="M:AutoBeer.Api.BeerController.Get(System.String)">
<summary>
Get all the beer!
</summary>
<returns>An IEnumerable of Beer</returns>
<response code="200">All good</response>
<response code="403">Indicates that you did not use an API key in the header X-ApiKey or that the key did not match what was configured in your appsettings</response>
</member>
<member name="M:AutoBeer.Api.BeerController.Get(System.String,System.Int32)">
<summary>
Get one beer
</summary>
<param name="id">The id of the beer</param>
<returns>The desired beer</returns>
<response code="200">All good</response>
<response code="403">Indicates that you did not use an API key in the header X-ApiKey or that the key did not match what was configured in your appsettings</response>
</member>
<member name="M:AutoBeer.Api.BeerController.Post(System.String,AutoBeer.Data.Classes.Beer)">
<summary>
Add a new beer to the cellar
</summary>
<param name="beer">This method expects a Beer object in the POST body</param>
<remarks>Measurements is optional</remarks>
<response code="200">All good</response>
<response code="403">Indicates that you did not use an API key in the header X-ApiKey or that the key did not match what was configured in your appsettings</response>
</member>
<member name="M:AutoBeer.Api.BeerController.Put(System.String,System.Int32,AutoBeer.Data.Classes.Beer)">
<summary>
Update a given beer, e.g. lowering the number of bottles remaining
</summary>
<param name="id">The id of the beer to update</param>
<param name="beer">The Beer object to store instead of Id</param>
<remarks>Measurements is optional</remarks>
<response code="200">All good</response>
<response code="403">Indicates that you did not use an API key in the header X-ApiKey or that the key did not match what was configured in your appsettings</response>
</member>
<member name="M:AutoBeer.Api.BeerController.Delete(System.String,System.Int32)">
<summary>
Delete a beer from the cellar
</summary>
<param name="id">The id of the beer to delete</param>
<response code="200">All good</response>
<response code="403">Indicates that you did not use an API key in the header X-ApiKey or that the key did not match what was configured in your appsettings</response>
</member>
<member name="T:AutoBeer.Api.BeerMeasurementController">
<summary>
The BeerMeasurementController accepts new measurements for existing Beers
</summary>
</member>
<member name="M:AutoBeer.Api.BeerMeasurementController.#ctor(AutoBeer.Data.Services.IBreweryData,Microsoft.Extensions.Configuration.IConfiguration)">
<summary>
The constuctor uses the IoC pattern
</summary>
<param name="db">The database context</param>
<param name="configuration">The configuration context</param>
</member>
<member name="M:AutoBeer.Api.BeerMeasurementController.Get(System.String,System.Int32)">
<summary>
This methods is used to retrieve all available measurements
</summary>
<returns>IEnub</returns>
</member>
<member name="M:AutoBeer.Api.BeerMeasurementController.Post(System.String,System.Double,System.Double,System.Double,System.String,System.String,System.String)">
<summary>
This methods posts new measurements
</summary>
<param name="Timepoint"></param>
<param name="SG"></param>
<param name="Temp"></param>
<param name="Color"></param>
<param name="Beer"></param>
<param name="Comment"></param>
<param name="apikey"></param>
</member>
<member name="M:AutoBeer.Api.BeerMeasurementController.Delete(System.String,System.Int32,System.Int64)">
<summary>
This methods posts new measurements
</summary>
<param name="apikey"></param>
<param name="beerId"></param>
<param name="id"></param>
</member>
</members>
</doc>