Models Patch Background - v3 Data API Documentation Error

(Powerballtech) #1

There is an error with the background JSON listed values for changing a background image.!/models/patch_v3_models_uid_options

For images, the JSON is listed as{"background":"uid"}, and when you pass that value, this is the response I received.

  "detail": {
    "background": [
      "Background must be either color, image, environment or transparent"

When I changed the background value to {"image":"uid"}, it successfully returned 204 status.

Recommend changing the documentation to reflect valid JSON values to be sent.