Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Add versionUrls to media API Doc #14

Merged
merged 3 commits into from
Mar 24, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 20 additions & 5 deletions detail-specification/500-assets/DET-504-MediaAPIObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,26 @@
'locale': 'en-gb',
'collection': 1,
'version': 3,
'versions': [
1,
2,
3
],
'versions': {
1: {
'version': 1,
'url': '/media/1/download/media.jpg?v=1',
'created': "2015-01-16T07:54:30+0100",
'changed': "2015-01-16T07:54:30+0100"
},
2: {
'version': 2,
'url': '/media/1/download/media.jpg?v=2',
'created': "2015-01-16T07:54:30+0100",
'changed': "2015-01-16T07:54:30+0100"
},
3: {
'version': 3,
'url': '/media/1/download/media.jpg?v=3',
'created': "2015-01-16T07:54:30+0100",
'changed': "2015-01-16T07:54:30+0100"
},
},
'title': 'Media Title',
'description: 'Media Description',
'size': 12412512,
Expand Down