"description":"`True` if use is explicitly granted by author.",
"type":"boolean",
},
"licensing.license_id":{
"licensing.licenseId":{
"description":"The `License` ID for the image.",
"type":"integer",
},
...
...
@@ -649,7 +649,7 @@ ImageUpdateRequest = {
"application/json":{
"type":"object",
"properties":{
"alt_text":{
"altText":{
"description":"Alternate text for the image.",
"type":"string",
},
...
...
@@ -661,11 +661,11 @@ ImageUpdateRequest = {
"description":"The credits for the image.",
"type":"string",
},
"licensing.is_use_explicitly_granted_by_author":{
"licensing.isUseExplicitlyGrantedByAuthor":{
"description":"`True` if use is explicitly granted by author.",
"type":"boolean",
},
"licensing.license_id":{
"licensing.licenseId":{
"description":"The `License` ID for the image.",
"type":"integer",
},
...
...
@@ -679,13 +679,15 @@ ImageUpdateRequest = {
destroy=extend_schema(summary="Delete an existing image."),
list=extend_schema(summary="List all images."),
partial_update=extend_schema(
description="Only `alt_text`, `ppoi`, `licensing.credits`, `licensing.is_use_explicitly_granted_by_author` and `licensing.license_id` can be updated.",
"`licensing.isUseExplicitlyGrantedByAuthor` and `licensing.licenseId` can be updated.",
request=ImageUpdateRequest,
summary="Partially update an existing image.",
),
retrieve=extend_schema(summary="Retrieve a single image."),
update=extend_schema(
description="Only `alt_text`, `ppoi`, `licensing.credits`, `licensing.is_use_explicitly_granted_by_author` and `licensing.license_id` can be updated.",