From 7e6ae485d3e797d6c793e3a9aa6c11f6373216aa Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 26 Apr 2016 15:36:44 +0200 Subject: Rework master.getPublicImages to use ImageSummaryRead, add master.getImageDetails --- src/main/thrift/bwlp.thrift | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/main/thrift') diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index 1389008..4985da0 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -598,9 +598,17 @@ service MasterServer { throws (1:TAuthorizationException failure, 2:TInvocationException error), // Get list of publicly available images - list getPublicImages(1:Token sessionId, 2:i32 page) + list getPublicImages(1:Token sessionId, 2:i32 page) throws (1:TAuthorizationException failure, 2:TInvocationException error), + // Query detailed information about an image + ImageDetailsRead getImageDetails(1: Token sessionId, 2: UUID imageBaseId) + throws (1:TAuthorizationException authError, 2:TNotFoundException notFound, 3:TInvocationException serverError), + + // Get user by id + UserInfo getUser(1: Token userToken, 2: UUID userId) + throws (1:TAuthorizationException authError, 2:TNotFoundException notFound, 3:TInvocationException serverError), + // Logout void invalidateSession(1: Token sessionId) throws (1:TInvalidTokenException ex), -- cgit v1.2.3-55-g7522