Projekt-Anfragen: Tel: 07022/9319004 info@CodeDocu.de Software Entwicklung in C# WPF Asp.Net Core Vba Excel Word SQL-Server EF Linq, UWP Net
#


Folgende Rückgaben bekommt man bei API Explorer für OneDrive auf GET anfragen mit Path werten

Methode:Get
Path=
me

GET me
{
"id": "01234567891354",
"name": "Raimund Popp",
"first_name": "Raimund",
"last_name": "Popp",
"gender": null,
"locale": "de_DE"
}




Path=me


GET me
{
"id": "01234567891354",
"name": "Raimund Popp",
"first_name": "Raimund",
"last_name": "Popp",
"gender": null,
"locale": "de_DE"
}

GET me/skydrive
count 5 sind 5 Elemente im Ordner

GET me/skydrive
{
"id": "folder.01234567891354",
"from": {
"name": null,
"id": null
},
"name": "SkyDrive",
"description": "",
"parent_id": null,
"size": 330487,
"upload_location": "https://apis.live.net/v5.0/folder.01234567891354/files/",
"comments_count": 0,
"comments_enabled": false,
"is_embeddable": false,
"count": 5,
"link": "https://onedrive.live.com?cid=01234567891354",
"type": "folder",
"shared_with": {
"access": "Just me"
},
"created_time": null,
"updated_time": "2015-02-22T14:00:32+0000",
"client_updated_time": "2015-02-20T08:22:45+0000"
}

GET me/skydrive/files
Auflistung aller der Dateien und Ordner in einem Folder


GET me/skydrive/files
{

"data": [

{

"id": "folder.01234567891354.01234567891354!2658",

"from": {

"name": "Raimund Popp",

"id": "01234567891354"


},

"name": "Upload",

"description": "",

"parent_id": "folder.01234567891354",

"size": 0,

"upload_location": "https://apis.live.net/v5.0/folder.01234567891354.01234567891354!2658/files/",

"comments_count": 0,

"comments_enabled": false,

"is_embeddable": true,

"count":0,

"link": "https://onedrive.live.com/redir.aspx?cid=01234567891354&page=browse&resid=01234567891354!2658&parId=01234567891354!304",

"type": "album",

"shared_with": {

"access": "Just me"


},

"created_time": "2015-02-20T08:21:10+0000",

"updated_time": "2015-02-20T08:24:42+0000",

"client_updated_time": "2015-02-20T08:22:18+0000"


},
{

"id": "folder.01234567891354.01234567891354!2753",

"from": {

"name": "Raimund Popp",

"id": "01234567891354"


},

"name": "Demo",

"description": "",

"parent_id": "folder.01234567891354",

"size": 29935,

"upload_location": "https://apis.live.net/v5.0/folder.01234567891354.01234567891354!2753/files/",

"comments_count": 0,

"comments_enabled": false,

"is_embeddable": true,

"count": 2,

"link": "https://onedrive.live.com/redir.aspx?cid=01234567891354&page=browse&resid=01234567891354!2753&parId=01234567891354!304",

"type": "album",

"shared_with": {

"access": "Just me"


},

"created_time": "2015-02-20T12:55:01+0000",

"updated_time": "2015-02-20T12:56:58+0000",

"client_updated_time": "2015-02-20T12:54:52+0000"


},
{

"id": "folder.01234567891354.01234567891354!2757",

"from": {

"name": "Raimund Popp",

"id": "01234567891354"


},

"name": "Documents",

"description": "",

"parent_id": "folder.01234567891354",

"size": 0,

"upload_location": "https://apis.live.net/v5.0/folder.01234567891354.01234567891354!2757/files/",

"comments_count": 0,

"comments_enabled": false,

"is_embeddable": true,

"count": 0,

"link": "https://onedrive.live.com/redir.aspx?cid=01234567891354&page=browse&resid=01234567891354!2757&parId=01234567891354!304",

"type": "folder",

"shared_with": {

"access": "Just me"


},

"created_time": "2015-02-21T22:06:39+0000",

"updated_time": "2015-02-21T22:06:39+0000",

"client_updated_time": "2015-02-21T22:06:39+0000"


},
{

"id": "folder.01234567891354.01234567891354!2758",

"from": {

"name": "Raimund Popp",

"id": "01234567891354"


},

"name": "Bilder",

"description": "",

"parent_id": "folder.01234567891354",

"size": 67796,

"upload_location": "https://apis.live.net/v5.0/folder.01234567891354.01234567891354!2758/files/",

"comments_count": 0,

"comments_enabled": false,

"is_embeddable": true,

"count": 1,

"link": "https://onedrive.live.com/redir.aspx?cid=01234567891354&page=browse&resid=01234567891354!2758&parId=01234567891354!304",

"type": "album",

"shared_with": {

"access": "Just me"


},

"created_time": "2015-02-22T14:00:23+0000",

"updated_time": "2015-02-22T14:00:32+0000",

"client_updated_time": "2015-02-22T14:00:23+0000"


},
{

"id": "file.01234567891354.01234567891354!2756",

"from": {

"name": "Raimund Popp",

"id": "01234567891354"


},

"name": "image005.png",

"description": "",

"parent_id": "folder.01234567891354",

"size": 232756,

"comments_count": 0,

"comments_enabled": false,

"tags_count": 0,

"tags_enabled": true,

"is_embeddable": true,

"picture": "https://public.bl3301.livefilestore.com/y2mcXMyhFTWxEpb90QBXhR3PHQ_NgW9BDbNH693mpM5oKDC4EfZ4wQHNXn9XrbY6Cl85kERnbE9hNFxYnqauHuEWjKgau9z5LKhln63u1sl0l24tIfEeUccqTAdWeTx485hiAxg1ihZDy2PA_KRt0FUog/image005.png.jpg?psid=1",

"source": "https://public.bl3301.livefilestore.com/y2m91FMkZlHo16ZiDpnpF3Yv1Mb7ufkeZHXqYw40aUKusMe3451Mt31I3LEttoHYAS2p9eo1AkUG76wP9uMbpKay-E1w89phZUEvmqwPzF86r5Q4tC351zAEUSimYK343xdbDnUZnwusF8JWb6JRo2l3g/image005.png?psid=1",

"upload_location": "https://apis.live.net/v5.0/file.01234567891354.01234567891354!2756/content/",

"images": [

{

"height": 751,

"width": 800,

"source": "https://public.bl3301.livefilestore.com/y2moYWhjlsMv4jMRlhOufFlbcPWDw3IIMCZkjkj7ejfGSR5f_enITNWtW0uEtsDQzdmRcnhIfnDdD7II80V4eAJ9Kfxw_7irDmiFYeh2ZCwOrzihbanMqjza1WDj4hVPtMq/image005.png.jpg?psid=1&ck=3&ex=720",

"type": "normal"


},
{

"height": 165,

"width": 176,

"source": "https://public.bl3301.livefilestore.com/y2m88koVnz8yDc4TQ1h1_ltYPYGcboVj5ZJOZf32kctScnVMLbZQZnHh0YFQ1eTcnEMa7hMOPUx-8Xb1EmZ0tJIzWolTxnoTDI5pwaqig0_k8Z_xMagUOMjXoEi6myClxur/image005.png.jpg?psid=1&ck=3&ex=720",

"type": "album"


},
{

"height": 90,

"width": 96,

"source": "https://public.bl3301.livefilestore.com/y2mcXMyhFTWxEpb90QBXhR3PHQ_NgW9BDbNH693mpM5oKDC4EfZ4wQHNXn9XrbY6Cl85kERnbE9hNFxYnqauHuEWjKgau9z5LKhln63u1sl0l24tIfEeUccqTAdWeTx485hiAxg1ihZDy2PA_KRt0FUog/image005.png.jpg?psid=1",

"type": "thumbnail"


},
{

"height": 894,

"width": 952,

"source": "https://public.bl3301.livefilestore.com/y2m91FMkZlHo16ZiDpnpF3Yv1Mb7ufkeZHXqYw40aUKusMe3451Mt31I3LEttoHYAS2p9eo1AkUG76wP9uMbpKay-E1w89phZUEvmqwPzF86r5Q4tC351zAEUSimYK343xdbDnUZnwusF8JWb6JRo2l3g/image005.png?psid=1",

"type": "full"


}


],

"link": "https://onedrive.live.com/redir.aspx?cid=01234567891354&page=browse&resid=01234567891354!2756&parId=01234567891354!304",

"when_taken": null,

"height": 894,

"width": 952,

"type": "photo",

"location": null,

"camera_make": null,

"camera_model": null,

"focal_ratio": 0,

"focal_length": 0,

"exposure_numerator": 0,

"exposure_denominator": 0,

"shared_with": {

"access": "Just me"


},

"created_time": "2015-02-21T22:04:28+0000",

"updated_time": "2015-02-21T22:04:34+0000",

"client_updated_time": "2015-02-21T22:04:28+0000"


}


]


}

Weitere Path angeben
AFileobject can be returned as part of
/
FOLDER_ID/files,
/me/skydrive/files,
/me/skydrive/shared,
/me/skydrive/shared/files,
/USER_ID/skydrive/files.







File Object Struktur findet man unter

https://msdn.microsoft.com/de-de/library/dn631834.aspx
File object: The File object contains info about a user's files in Microsoft OneDrive.

Ordner
https://msdn.microsoft.com/de-de/library/dn631836.aspx
Folder object: The Folder object contains info about a user's folders in Microsoft OneDrive.
Mobile
»
OneDrive: was bedeuted cTag und eTag
»
Gelöst: Öffnen des Projekts für OneDrive OneDriveApiExplorer
»
2 Varianten beim Zugriff auf Daten mit Live OneDrive
»
Fehler beim Installieren des OneDrive SDK 5.6
»
Endlich ist es da. Das neue LiveSDK 5.6 allerdings noch mit ein paar kleinen Fehlern
»
Eine eigene App oder Programm bei Microsoft Live registrieren
»
Access_Token und Refresh_Token wie lange sind diese gültig.
»
Wie erhält man einen Authorizierungscode Auth_Code von Live
»
Warum muß man eigentlich sich immer wieder in OneDrive SDK einloggen, wenn man die API startet?
»
OneDrive Rückgaben Pfad Beispiele und Beispiel Antworten

.

Jobs, Projekte, Angebote für Freiberufler, Selbstständig an Info@CodeDocu.de