mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-926: Success / Error handling in REST API.
This commit is contained in:
@@ -202,6 +202,8 @@ public class APIError {
|
||||
this.translatableMessage = translatable.getTranslatableMessage();
|
||||
}
|
||||
|
||||
// TODO: Handle patch exceptions, need a bunch of JSON saying which things failed
|
||||
|
||||
// Use generic translation string if message is not translated
|
||||
else
|
||||
this.translatableMessage = new TranslatableMessage(UNTRANSLATED_MESSAGE_KEY,
|
||||
|
@@ -564,7 +564,9 @@ public abstract class DirectoryResource<InternalType extends Identifiable, Exter
|
||||
|
||||
});
|
||||
|
||||
// TODO: JSON response with failures or success
|
||||
// TODO: JSON response indicating which things were changed
|
||||
// NOTE: IDs are assigned at creation time so a user of the API
|
||||
// needs this response if they want to be able to actually use them
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user