---
title: "uploads an image"
id: "uploads-an-image"
project: "Sample Project Publication2"
url: "https://hedronlabs.clickhelp.co/articles/sample-project-publication2/uploads-an-image"
updated: 2026-08-21T05:56:12Z
---

# uploads an image

## /articles/project-sample-project/uploads-an-image/a/tag/pet/operation/uploadFileuploads an image 
##### Authorizations:
*petstore\_auth*
##### path Parameters

| petIdrequired | integer &lt;int64&gt;<br> ID of pet to update |
| --- | --- |

##### Request Body schema: multipart/form-data

| additionalMetadata | string<br> Additional data to pass to server |
| --- | --- |
| file | string &lt;binary&gt;<br> file to upload |

### Responses
###  Response samples 
* 200

Content typeapplication/json
`{"code": 0,"type": "string","message": "string"}`
 © My Company 123. All rights reserved. 
 [Send feedback](mailto:support@hedronlabs.com) on this topic to My Company 123.