From 2194e7e82864c08276d7a333d83851d514d28c1f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 16 Jun 2015 18:12:33 +0200 Subject: More thrift interface changes --- src/main/thrift/bwlp.thrift | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/main/thrift/bwlp.thrift') diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index 58f9afb..a987b47 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -168,16 +168,17 @@ struct ImageVersionDetails { 7: bool isRestricted, 8: bool isValid, 9: bool isProcessed, + 10: list software, } struct ImageDetailsRead { 1: UUID imageBaseId, 2: UUID currentVersionId, + 17: UUID latestVersionId, 3: list versions, 4: string imageName, 5: string description, 6: list tags, - 7: list software, 8: i32 osId, 9: string virtId, 10: UnixTimestamp createTime, @@ -187,7 +188,7 @@ struct ImageDetailsRead { 14: ShareMode shareMode, 15: bool isTemplate, 16: ImagePermissions defaultPermissions, - 17: optional ImagePermissions userPermissions, + 18: optional ImagePermissions userPermissions, } struct LectureWrite { @@ -245,6 +246,8 @@ struct TransferInformation { 3: i32 sslPort, } +// Used to tell status of an upload. The blockStatus is one byte per 16MB block, +// 0 = complete, 1 = missing, 2 = uploading, 3 = queued for copying, 4 = copying struct UploadStatus { 1: binary blockStatus, } @@ -271,6 +274,9 @@ exception TInvalidTokenException { exception TNotFoundException { } +exception TInternalServerError { +} + exception TImageDataException { 1: ImageDataError number, 2: string message -- cgit v1.2.3-55-g7522