| The endpoint accepts a JSON containing the updates for the variants. 1. If an incorrect JSON is sent (like `[]`), it gives the following error:
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of org.jboss.aerogear.unifiedpush.api.AndroidVariant out of START_ARRAY token at [Source: (io.undertow.servlet.spec.ServletInputStreamImpl); line: 1, column: 1]
2. the docs says that the return codes should be 400 Bad request, 404 Not found or 204 No Content. However if a request with a content/type other than `application/json` is done, a 415 is returned 3. If the content type is correct but the body is empty, a 500 Internal Server error is returned. |