@@ -24,42 +24,35 @@ export const endpoints = {
2424 } ,
2525
2626 pipelines : {
27- my : ( project : string ) : string =>
28- `/projects/${ project } /pipelines?hydrated=true` ,
29- get : ( pipelineId : TId ) : string =>
30- `/pipelines/${ pipelineId } ?unlisted=false&hydrated=true` ,
27+ my : ( project : string ) : string => `/projects/${ project } /pipelines` ,
28+ get : ( pipelineId : TId ) : string => `/pipelines/${ pipelineId } ` ,
3129 } ,
3230 Stacks : {
33- my : ( project : string ) : string =>
34- `/projects/${ project } /stacks?hydrated=true` ,
35- get : ( stackId : TId ) : string =>
36- `/stacks/${ stackId } ?unlisted=false&hydrated=true` ,
31+ my : ( project : string ) : string => `/projects/${ project } /stacks` ,
32+ get : ( stackId : TId ) : string => `/stacks/${ stackId } ` ,
3733 } ,
3834 StackComponents : {
3935 types : '/component-types' ,
4036 my : ( type : string , project : string ) : string =>
41- `/projects/${ project } /components?type=${ type } &hydrated=true` ,
42- get : ( stackComponentId : TId ) : string =>
43- `/components/${ stackComponentId } ?hydrated=true` ,
37+ `/projects/${ project } /components?type=${ type } ` ,
38+ get : ( stackComponentId : TId ) : string => `/components/${ stackComponentId } ` ,
4439 } ,
4540 runs : {
4641 pipeline : {
47- get : ( pipelineId : TId ) : string =>
48- `/runs?pipeline_id=${ pipelineId } &unlisted=false&hydrated=true` ,
42+ get : ( pipelineId : TId ) : string => `/runs?pipeline_id=${ pipelineId } ` ,
4943 } ,
5044 stack : {
51- get : ( stackId : TId ) : string =>
52- `/runs?stack_id=${ stackId } &unlisted=false&hydrated=true` ,
45+ get : ( stackId : TId ) : string => `/runs?stack_id=${ stackId } ` ,
5346 } ,
5447 stackComponent : {
5548 get : ( stackComponentId : TId ) : string =>
56- `/runs?component_id=${ stackComponentId } &unlisted=false&hydrated=true ` ,
49+ `/runs?component_id=${ stackComponentId } ` ,
5750 } ,
5851 graphById : {
5952 get : ( runId : TId ) : string => `/runs/${ runId } /graph` ,
6053 } ,
61- all : `/ runs?unlisted=false&hydrated=true `,
62- get : ( runId : TId ) : string => `/runs/${ runId } ?unlisted=false&hydrated=true ` ,
54+ all : ( project : string ) : string => `/projects/ ${ project } / runs`,
55+ get : ( runId : TId ) : string => `/runs/${ runId } ` ,
6356 } ,
6457 roles : {
6558 all : `/roles` ,
0 commit comments