API Image
Create or Replace an API Image
Create or Replace an API Image. The replacement image is not applied to the API until asynchronous validation completes successfully.
put/v3/apis/{apiId}/images/{imageType}
Request body
Example request
{
"data": "data:image/png,YW5faW1hZ2VfZmlsZQ=="
}Response
ApiImageResponse
Example response
{
"status": "valid",
"api_id": "123e4567-e89b-12d3-a456-426614174000",
"image_type": "icon",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}