Skip to content

Commit 0ced542

Browse files
authored
Merge pull request #456 from nmelehan/fix-image-upload-upload-url-text
fix: POST /images/upload description
2 parents c1712b8 + 83bfa0b commit 0ced542

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3549,8 +3549,9 @@ paths:
35493549
- Image data must be uploaded within 24 hours of creation or the
35503550
upload will be cancelled and the image deleted.
35513551

3552-
- Image uploads should be made as an HTTP PUT request to the returned `upload_url`, with a
3553-
`Content-type: application/octet-stream` header included in the request. For example:
3552+
- Image uploads should be made as an HTTP PUT request to the URL returned in the `upload_to`
3553+
response parameter, with a `Content-type: application/octet-stream` header included in the
3554+
request. For example:
35543555

35553556
curl -v \
35563557
-H "Content-Type: application/octet-stream" \

0 commit comments

Comments
 (0)