-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
375 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
Box.V2.Test/Fixtures/BoxFiles/CreateFileSharedLink200.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"type": "file", | ||
"id": "5000948880", | ||
"sequence_id": "3", | ||
"etag": "3", | ||
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc", | ||
"name": "tigers.jpeg", | ||
"description": "a picture of tigers", | ||
"size": 629644, | ||
"path_collection": { | ||
"total_count": 2, | ||
"entries": [ | ||
{ | ||
"type": "folder", | ||
"id": "0", | ||
"sequence_id": null, | ||
"etag": null, | ||
"name": "All Files" | ||
}, | ||
{ | ||
"type": "folder", | ||
"id": "11446498", | ||
"sequence_id": "1", | ||
"etag": "1", | ||
"name": "Pictures" | ||
} | ||
] | ||
}, | ||
"created_at": "2012-12-12T10:55:30-08:00", | ||
"modified_at": "2012-12-12T11:04:26-08:00", | ||
"created_by": { | ||
"type": "user", | ||
"id": "17738362", | ||
"name": "sean rose", | ||
"login": "sean@box.com" | ||
}, | ||
"modified_by": { | ||
"type": "user", | ||
"id": "17738362", | ||
"name": "sean rose", | ||
"login": "sean@box.com" | ||
}, | ||
"owned_by": { | ||
"type": "user", | ||
"id": "17738362", | ||
"name": "sean rose", | ||
"login": "sean@box.com" | ||
}, | ||
"shared_link": { | ||
"url": "https://www.box.com/s/rh935iit6ewrmw0unyul", | ||
"download_url": "https://www.box.com/shared/static/rh935iit6ewrmw0unyul.jpeg", | ||
"vanity_url": null, | ||
"vanity_name": "my-custom-vanity-name", | ||
"is_password_enabled": false, | ||
"unshared_at": null, | ||
"download_count": 0, | ||
"preview_count": 0, | ||
"access": "open", | ||
"permissions": { | ||
"can_download": true, | ||
"can_preview": true, | ||
"can_edit": true | ||
} | ||
}, | ||
"parent": { | ||
"type": "folder", | ||
"id": "11446498", | ||
"sequence_id": "1", | ||
"etag": "1", | ||
"name": "Pictures" | ||
}, | ||
"item_status": "active" | ||
} |
84 changes: 84 additions & 0 deletions
84
Box.V2.Test/Fixtures/BoxFolders/CreateFolderSharedLink200.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"type": "folder", | ||
"id": "11446498", | ||
"sequence_id": "1", | ||
"etag": "1", | ||
"name": "Pictures", | ||
"created_at": "2012-12-12T10:53:43-08:00", | ||
"modified_at": "2012-12-12T11:15:04-08:00", | ||
"description": "Some pictures I took", | ||
"size": 629644, | ||
"path_collection": { | ||
"total_count": 1, | ||
"entries": [ | ||
{ | ||
"type": "folder", | ||
"id": "0", | ||
"sequence_id": null, | ||
"etag": null, | ||
"name": "All Files" | ||
} | ||
] | ||
}, | ||
"created_by": { | ||
"type": "user", | ||
"id": "17738362", | ||
"name": "sean rose", | ||
"login": "sean@box.com" | ||
}, | ||
"modified_by": { | ||
"type": "user", | ||
"id": "17738362", | ||
"name": "sean rose", | ||
"login": "sean@box.com" | ||
}, | ||
"owned_by": { | ||
"type": "user", | ||
"id": "17738362", | ||
"name": "sean rose", | ||
"login": "sean@box.com" | ||
}, | ||
"shared_link": { | ||
"url": "https://www.box.com/s/vspke7y05sb214wjokpk", | ||
"download_url": "https://www.box.com/shared/static/vspke7y05sb214wjokpk", | ||
"vanity_url": null, | ||
"vanity_name": "my-custom-vanity-name", | ||
"is_password_enabled": false, | ||
"unshared_at": null, | ||
"download_count": 0, | ||
"preview_count": 0, | ||
"access": "open", | ||
"permissions": { | ||
"can_download": true, | ||
"can_preview": true, | ||
"can_edit" : false | ||
} | ||
}, | ||
"folder_upload_email": { | ||
"access": "open", | ||
"email": "upload.Picture.k13sdz1@u.box.com" | ||
}, | ||
"parent": { | ||
"type": "folder", | ||
"id": "0", | ||
"sequence_id": null, | ||
"etag": null, | ||
"name": "All Files" | ||
}, | ||
"item_status": "active", | ||
"item_collection": { | ||
"total_count": 1, | ||
"entries": [ | ||
{ | ||
"type": "file", | ||
"id": "5000948880", | ||
"sequence_id": "3", | ||
"etag": "3", | ||
"sha1": "134b65991ed521fcfe4724b7d814ab8ded5185dc", | ||
"name": "tigers.jpeg" | ||
} | ||
], | ||
"offset": 0, | ||
"limit": 100 | ||
} | ||
} |
Oops, something went wrong.