Skip to content

Commit

Permalink
Retrieve product versionsAPI including unpublished (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Giordano authored and Giovanni Toraldo committed Jul 12, 2018
1 parent 22b200e commit 052c3d6
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ Call<Void> partialUpdate( @Path( "id" ) int id, @Body Map<String, Object> input,
Call<List<ProductVersionDTO>> getAll( @Query( "product" ) Integer product,
@QueryMap Map<String, String> pageRequest );

@GET( "productVersion" )
Call<List<ProductVersionDTO>> getAll(
@Query( "product" ) Integer product,
@Query( "withUnpublished" ) boolean includeUnpublished,
@QueryMap Map<String, String> pageRequest
);

@GET( "productVersion" )
Call<List<ProductVersionDTO>> getAll( @Query( "product" ) Integer product, @Query( "reseller" ) String reseller,
@QueryMap Map<String, String> pageRequest );
Expand Down

0 comments on commit 052c3d6

Please sign in to comment.