Created
March 13, 2011 06:42
-
-
Save sync/867931 to your computer and use it in GitHub Desktop.
Tour nested tracks
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
{ | |
"tour": { | |
"title": "New tour uploading test", | |
"description": "Test Description", | |
"tags": "Test ", | |
"transport_type": "0", | |
"published": "true", | |
"tracks_attributes": [{ | |
"position": "1", | |
"title": "Stop 1", | |
"geotag": "true", | |
"length": "19.529937", | |
"lat": "46.558860", | |
"lng": "6.328125", | |
"upload_base64": "Y2FmZgACAgAgICA==", | |
"upload_filename": "321690607.caf", | |
"description": "Description here", | |
"track_pics_attributes": [{ | |
"upload_base64": "/9j/4AAQSkZJRgABAQAAAQABAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMof/Z", | |
"upload_filename": "321690709.jpg" | |
}] | |
}, | |
{ | |
"position": "2", | |
"title": "Stop 2", | |
"geotag": "true", | |
"length": "0.000000", | |
"lat": "46.558860", | |
"lng": "6.328125", | |
"description": "Description here", | |
"track_pics_attributes": [{ | |
"upload_base64": "/9j/4AAQSkZJRgABAQAAAQABAAD/btof/Z", | |
"upload_filename": "321690766.jpg" | |
}] | |
}], | |
"upload_base64": "/9j/4AAQSkZJRgABAQAAS6LdTb/AAbtof/Z", | |
"upload_filename": "321690780.jpg" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment