I am trying to copy a file from OneDrive to SharePoint library using copy drive item end point.
POST https://graph.microsoft.com/v1.0/users/62d38c16-b093-4cc9-b5a7-912979fc9c63/drive/items/0174RCT22BEJPQ4MRJTFBYIYLIJVYGHCPR/copy
Body
{
"parentReference": {
"driveId": "b!JPqCibL_70eaegi4UwWuuda37AfZdKtGpIVkNiwZzO9V98bMIqGeSK0IUWeH73Q0",
"id": "01CUVLY756Y2GOVW7725BZO354PWSELRRZ"
},
"name": "abcd.mp4"
}
The file is getting copied without any issue. But the response is empty and I want to add some metadata to the file created in destaintion. GUide me in finding the file that got created.
Dipen ShahPosted Apr 27, 2021, 7:30 PM
https://docs.microsoft.com/en-us/graph/long-running-actions-overview?tabs=http
Sagar PardeshiPosted Apr 19, 2021, 5:14 AM