This file contains hidden or 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
| #!/bin/bash | |
| sudo -v # ask for password only at the beginning | |
| brew update | |
| brew upgrade | |
| brew tap homebrew/versions | |
| brew tap phinze/homebrew-cask | |
| brew install brew-cask |
This file contains hidden or 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
| {"id":208,"status":"completed","start_time":"2013-07-29T15:32:42Z","end_time":"2013-07- 29T15:32:48Z","duration":5.7988598346710205,"url":"https://salsify-dandelion.s3.amazonaws.com/1/1/user_data_export/1/2013/07/29/15%3A32%3A48-958a205d/export.csv.gz?AWSAccessKeyId=AKIAIJIY2AHRBHZH5R2Q&Expires=1375115717&Signature=mpSj%2FpmMeC%2Bw9BCvLCpTQbuWuvY%3D","progress":100,"includes_changes_before":"2013-07-29T15:32:42Z"} |
This file contains hidden or 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
| $ curl -X POST -d '{ "last_incremental_id" : "208" }' https://app.salsify.com/api/export_runs?auth_token=<YOUR AUTH TOKEN> --header "Content-Type:application/json" |
This file contains hidden or 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
| curl 'https://app.salsify.com/api/imports/upload_mounts' -X POST --header "X-AUTH-TOKEN: <your auth token here>" |
This file contains hidden or 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
| { | |
| "url":"https://salsify-dandelion.s3.amazonaws.com/", | |
| "formData":{ | |
| "key":"1/103/user_data_import/1/2014/02/10/16:06:39-574fb075", | |
| "AWSAccessKeyId":"<AWS ACCESS KEY>", | |
| "acl":"private", | |
| "policy":"eyJleHBpcmF0aW9uIjoiMjAxNC0wMi0xMFQxNzowNjozOS4zNDVaIiwiY29uZGl0aW9ucyI6W1sic3RhcnRzLXdpdGgiLCIka2V5IiwiMS8xMDMvdXNlcl9kYXRhX2ltcG9ydC8xLzIwMTQvMDIvMTAvMTY6MDY6MzktNTc0ZmIwNzUiXSxbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwwLDUyNDI4ODAwMF0seyJidWNrZXQiOiJzYWxzaWZ5LWRhbmRlbGlvbiJ9LHsiYWNsIjoicHJpdmF0ZSJ9XX0=", | |
| "signature":"lbfwyuEMnuyglHIUjrY4OYnse9E=" | |
| } | |
| } |
This file contains hidden or 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
| { | |
| "import_source": { | |
| "file": "<FILENAME>", | |
| "type": "upload_import_source", | |
| "type_label": "Upload", | |
| "upload_path": "<KEY FROM FORM-DATA>" | |
| } | |
| } |
This file contains hidden or 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
| { | |
| "id":856, | |
| "status":"running", | |
| "start_time":"2013-10-17T17:56:21.585Z", | |
| "end_time":null, | |
| "duration":0.240623376, | |
| "failure_reason":null, | |
| "progress":0, | |
| "stage_data":[ | |
| { |
This file contains hidden or 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
| [ | |
| { "header": { } }, | |
| { "attributes": [] }, | |
| { "attribute_values": [] }, | |
| { "products": [] } | |
| ] |
This file contains hidden or 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
| { | |
| "id": "3635065", | |
| "SKU": "3635065", | |
| "Model": "KDL-40NX700", | |
| "name": "Sony 40 in. Bravia TV", | |
| "Description": "This is an amazing tv. You should buy it.", | |
| "Brand": "Sony", | |
| "Aspect Ratio": "16:9", | |
| "Feature": ["Child Lock", "Picture in Picture", "Sleep Timer"], | |
| "Release Date": "10-19-2010" |
This file contains hidden or 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
| [ | |
| { | |
| "attributes": [ | |
| { | |
| "salsify:id": "SKU", | |
| "salsify:role": "product_id" | |
| }, | |
| { | |
| "salsify:id": "Display Name", | |
| "salsify:role": "product_name" |
OlderNewer