diff options
author | Simon Rettberg | 2015-06-16 18:12:33 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-06-16 18:12:33 +0200 |
commit | 2194e7e82864c08276d7a333d83851d514d28c1f (patch) | |
tree | 8040842908319c0bd6379584cc8b6df24dd4229f /src/main/thrift/bwlp.thrift | |
parent | Move TBinaryProtocolSafe from sat-server/master-server to shared lib (diff) | |
download | master-sync-shared-2194e7e82864c08276d7a333d83851d514d28c1f.tar.gz master-sync-shared-2194e7e82864c08276d7a333d83851d514d28c1f.tar.xz master-sync-shared-2194e7e82864c08276d7a333d83851d514d28c1f.zip |
More thrift interface changes
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r-- | src/main/thrift/bwlp.thrift | 10 |
1 files changed, 8 insertions, 2 deletions
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<string> software, } struct ImageDetailsRead { 1: UUID imageBaseId, 2: UUID currentVersionId, + 17: UUID latestVersionId, 3: list<ImageVersionDetails> versions, 4: string imageName, 5: string description, 6: list<string> tags, - 7: list<string> 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 |