---
id: upload-drop
title: "Upload and Drop File"
description: "Upload a file and drop it at a specified location."
sidebar_label: "Upload and Drop File"
hide_title: true
hide_table_of_contents: true
api: eJzVV1mP2zYQ/isDBghaQZbdJH3x28ZxkEVOrJ2mRbIoxuJYYkyRCkntxl34vxdDSraym7Rp3/Kkg3N8cw9vRMDKi/l74axtJl2rLUpxmQtJvnSqDcoaMRdv439A2CpNgEaCdLYFFQADIPiWSrVVJEHbEpmnELmwLbn4cS7FXCTRT5xtRS4c+dYaT17Mb8SD2SN+fKnxKStKPCSPGluS4LuyJO+3ndb7Qhxy8Wg2u8v/1uBGEwTbC4nIGVVpTSATmAPbVquEd/rRM9uN8GVNDfJb2Lck5sJuPlIZRC5axwYFlUA35D1WNCL0wSlTiduue0IBlSYJ5Jx10PMV4nDIRVBBM+uSj172Eg+HQzTql7tGrWsCR5868iE+lSMPnScH2IWaTFAn7/8wdj78up2e3BU56Iwk54O1EsLJ+hw2Hbtg23nyHGS23zr1F4EKP5D1v/5z6rbOcqqf6uCHSuID13kM12Mr96xkBLvpdFAtujDdWtdMJAb8L8g/j0hM12zI3cH8O5TWOqkMBgK7jf0j9ov9v/P+8S1eDoAf8aNzuL/Dzs0rpuXm1MM4bCpQ47/mbfYBBjEXG2XQ7ZP7ev8pR1LMg+vokIuGQm25nbbWR69gqMVcTLFVU+7g06RuKlOfTUXE/f12kr2wJeq+yEQuOqfFXNQhtPPplJu4rq0P84ez2UwcLllQ2TkV9lHSY0JH7qxj1e8vD/mNWFi7UzT+s7Y7MscfIwkrjnDy4Zjr5NFWPSd2qWKYZSQRuTDY8Omr5fPXf66Wq9X561d33H72RROEzitT8XQi7/k7yYphHFtw1MzWs88iQI5FJPpeLUkkBLY76hh54BvGferI7U+2RdbvVReJoUXveTx6QIjSoEWHDQVyqTiV2dqovy/SV7SzcPbmXOSCEyOpeFjMitkdxZE09td3tLlYL+IQfkeblS13FGBDXknycLFcrVli36+ulOQujXoSVEPAnxZ8cISNMlUOygRyWAZ1RVBarX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info_path: docs/api/neko-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Upload and Drop File"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/room/upload/drop"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Upload a file and drop it at a specified location.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={undefined}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"x":{"type":"number","description":"X coordinate of drop."},"y":{"type":"number","description":"Y coordinate of drop."},"files":{"type":"array","description":"Files to be uploaded.","items":{"type":"string","format":"binary"}}}}}},"required":true}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"File uploaded and dropped successfully."},"400":{"description":"Unable to upload file.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"401":{"description":"The request requires user authentication.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"403":{"description":"The server understood the request, but refuses to authorize it.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}},"500":{"description":"Unable to process uploaded file.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"Detailed error message."}},"title":"ErrorMessage"}}}}}}
>
  
</StatusCodes>


      