@@ -403,6 +403,14 @@ <h2>Table of Contents</h2>
403403 < a href ="#metalstack.api.v2.ImageServiceGetResponse "> < span class ="badge "> M</ span > ImageServiceGetResponse</ a >
404404 </ li >
405405
406+ < li >
407+ < a href ="#metalstack.api.v2.ImageServiceLatestRequest "> < span class ="badge "> M</ span > ImageServiceLatestRequest</ a >
408+ </ li >
409+
410+ < li >
411+ < a href ="#metalstack.api.v2.ImageServiceLatestResponse "> < span class ="badge "> M</ span > ImageServiceLatestResponse</ a >
412+ </ li >
413+
406414 < li >
407415 < a href ="#metalstack.api.v2.ImageServiceListRequest "> < span class ="badge "> M</ span > ImageServiceListRequest</ a >
408416 </ li >
@@ -2911,6 +2919,55 @@ <h3 id="metalstack.api.v2.ImageServiceGetResponse">ImageServiceGetResponse</h3>
29112919
29122920
29132921
2922+ < h3 id ="metalstack.api.v2.ImageServiceLatestRequest "> ImageServiceLatestRequest</ h3 >
2923+ < p > ImageServiceLatestRequest is the request payload for a image latest request</ p >
2924+
2925+
2926+ < table class ="field-table ">
2927+ < thead >
2928+ < tr > < td > Field</ td > < td > Type</ td > < td > Label</ td > < td > Description</ td > </ tr >
2929+ </ thead >
2930+ < tbody >
2931+
2932+ < tr >
2933+ < td > os</ td >
2934+ < td > < a href ="#string "> string</ a > </ td >
2935+ < td > </ td >
2936+ < td > < p > OS for which the latest image should be fetched
2937+ should contain os and major.minor then latest patch version of this os is returned </ p > </ td >
2938+ </ tr >
2939+
2940+ </ tbody >
2941+ </ table >
2942+
2943+
2944+
2945+
2946+
2947+ < h3 id ="metalstack.api.v2.ImageServiceLatestResponse "> ImageServiceLatestResponse</ h3 >
2948+ < p > ImageServiceLatestResponse is the response payload for a image latest request</ p >
2949+
2950+
2951+ < table class ="field-table ">
2952+ < thead >
2953+ < tr > < td > Field</ td > < td > Type</ td > < td > Label</ td > < td > Description</ td > </ tr >
2954+ </ thead >
2955+ < tbody >
2956+
2957+ < tr >
2958+ < td > image</ td >
2959+ < td > < a href ="#metalstack.api.v2.Image "> Image</ a > </ td >
2960+ < td > </ td >
2961+ < td > < p > Image which is the latest for one os </ p > </ td >
2962+ </ tr >
2963+
2964+ </ tbody >
2965+ </ table >
2966+
2967+
2968+
2969+
2970+
29142971 < h3 id ="metalstack.api.v2.ImageServiceListRequest "> ImageServiceListRequest</ h3 >
29152972 < p > ImageServiceListRequest is the request payload for a image list request</ p >
29162973
@@ -3082,6 +3139,13 @@ <h3 id="metalstack.api.v2.ImageService">ImageService</h3>
30823139 < td > < p > List all images</ p > </ td >
30833140 </ tr >
30843141
3142+ < tr >
3143+ < td > Latest</ td >
3144+ < td > < a href ="#metalstack.api.v2.ImageServiceLatestRequest "> ImageServiceLatestRequest</ a > </ td >
3145+ < td > < a href ="#metalstack.api.v2.ImageServiceLatestResponse "> ImageServiceLatestResponse</ a > </ td >
3146+ < td > < p > Latest image for a specific os</ p > </ td >
3147+ </ tr >
3148+
30853149 </ tbody >
30863150 </ table >
30873151
0 commit comments