@@ -110,8 +110,9 @@ public interface AsyncProjectService {
110
110
* the throw section below.
111
111
*
112
112
* @param request the actual {@link ProjectDeletionRequest}
113
- * @return a {@link Mono<ProjectDeletionResponse>} object publishing an {@link ProjectDeletionResponse} on success.
114
- * Exceptions are provided as {@link Mono#error(Throwable)}
113
+ * @return a {@link Mono<ProjectDeletionResponse>} object publishing an
114
+ * {@link ProjectDeletionResponse} on success. Exceptions are provided as
115
+ * {@link Mono#error(Throwable)}
115
116
* @throws UnknownRequestException if an unknown request has been used in the service call
116
117
* @throws RequestFailedException if the request was not successfully executed
117
118
* @throws AccessDeniedException if the user has insufficient rights
@@ -171,6 +172,22 @@ Mono<ProjectCreationResponse> create(ProjectCreationRequest request)
171
172
Flux <ByteBuffer > roCrateSummary (String projectId )
172
173
throws RequestFailedException , AccessDeniedException ;
173
174
175
+ /**
176
+ * Return a reactive stream of {@link ExperimentDescription} for a given project.
177
+ * <p>
178
+ * <b>Exceptions</b>
179
+ * <p>
180
+ * Exceptions are wrapped as {@link Mono#error(Throwable)} and are one of the types described in
181
+ * the throw section below.
182
+ * @param projectId the identifier of the project to get the experiments for
183
+ * @return a {@link Flux} of {@link ExperimentDescription}. Exceptions are provided as
184
+ * {@link Mono#error(Throwable)}.
185
+ * @throws RequestFailedException in case the request cannot be processed
186
+ * @throws AccessDeniedException in case of insufficient rights
187
+ * @since 1.10.0
188
+ */
189
+ Flux <ExperimentDescription > getExperiments (String projectId );
190
+
174
191
/**
175
192
* Requests {@link SamplePreview} for a given experiment with pagination support.
176
193
* <p>
@@ -827,6 +844,7 @@ record SampleRegistrationInformation(
827
844
String experimentId ,
828
845
String projectId
829
846
) implements ValidationRequestBody {
847
+
830
848
}
831
849
832
850
/**
@@ -866,7 +884,6 @@ record SampleUpdateInformation(
866
884
}
867
885
868
886
869
-
870
887
record MeasurementRegistrationInformationNGS (
871
888
Collection <String > sampleCodes ,
872
889
String organisationId , String instrumentCURI , String facility ,
@@ -875,6 +892,7 @@ record MeasurementRegistrationInformationNGS(
875
892
String indexI7 , String indexI5 ,
876
893
String comment
877
894
) implements ValidationRequestBody {
895
+
878
896
}
879
897
880
898
record MeasurementUpdateInformationNGS (
@@ -887,6 +905,7 @@ record MeasurementUpdateInformationNGS(
887
905
String sequencingRunProtocol , String samplePoolGroup ,
888
906
String indexI7 , String indexI5 ,
889
907
String comment ) implements ValidationRequestBody {
908
+
890
909
}
891
910
892
911
record MeasurementRegistrationInformationPxP (
@@ -972,7 +991,9 @@ public ProjectUpdateRequest(String projectId, ProjectUpdateRequestBody requestBo
972
991
973
992
}
974
993
975
- record ProjectDeletionRequest (String projectId , String requestId , ProjectDeletionRequestBody body ) {
994
+ record ProjectDeletionRequest (String projectId , String requestId ,
995
+ ProjectDeletionRequestBody body ) {
996
+
976
997
public ProjectDeletionRequest {
977
998
if (projectId == null ) {
978
999
throw new IllegalArgumentException ("Project ID cannot be null" );
0 commit comments