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
{ | |
"count": 0, | |
"page": 1, | |
"pages": 0, | |
"per_page": 20, | |
"log_entries": [] | |
} |
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
HTTP/1.1 400 Bad Request | |
Server: nginx/0.8.55 | |
Date: Fri, 05 Jul 2013 09:59:20 GMT | |
Content-Type: application/json | |
Connection: keep-alive | |
X-API-Version: 1 | |
P3P: CP="CAO PSA" | |
X-Served-By: <server_name> | |
{"error": "The data requested is no longer available"} |
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
curl -X POST 'https://api.datasift.com/v1/pull' \ | |
-d 'id=d468655cfe5f93741ddcd30bb309a8c7' \ | |
-d 'cursor=de8f75fd8b0359f457b6a39bd58c43ee' \ | |
-H 'Authorization: datasift-user:your-datasift-api-key' |
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
X-DataSift-Cursor-Current: de8f75fd8b0359f457b6a39bd58c43ee | |
X-DataSift-Cursor-Next: 321b50e20cc9a15453b774e229d2b59a |
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
HTTP/1.1 204 No Content | |
Server: nginx/0.8.55 | |
Date: Fri, 05 Jul 2013 09:59:20 GMT | |
Content-Type: application/json | |
Connection: keep-alive | |
X-API-Version: 1 | |
P3P: CP="CAO PSA" | |
X-DataSift-Cursor-Current: 3b29a57fa62474d2c3cd4ca55510c4fe | |
X-Served-By: <server_name> |
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
HTTP/1.1 200 OK | |
Server: nginx/0.8.55 | |
Date: Fri, 05 Jul 2013 09:56:34 GMT | |
Content-Type: application/json | |
Transfer-Encoding: chunked | |
Connection: keep-alive | |
X-API-Version: 1 | |
P3P: CP="CAO PSA" | |
X-DataSift-Cursor-Current: de8f75fd8b0359f457b6a39bd58c43ee | |
X-DataSift-Cursor-Next: 321b50e20cc9a15453b774e229d2b59a |
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
curl -X POST 'https://api.datasift.com/v1/pull' \ | |
-d 'id=d468655cfe5f93741ddcd30bb309a8c7' \ | |
-d 'size=1' \ | |
-d 'cursor=de8f75fd8b0359f457b6a39bd58c43ee' \ | |
-H 'Authorization: datasift-user:your-datasift-api-key' |
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
GET /8bc638ddff76a9c01bd6a454de03bd30 HTTP/1.1 | |
Host: stream.datasift.com | |
Authorization: <username>:<api_key> | |
Connection: Keep-Alive |
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
curl -X POST 'https://api.datasift.com/v1/push/create' \ | |
-d 'name=connectorpull' \ | |
-d 'hash=42d388f8b1db997faaf7dab487f11290' \ | |
-d 'output_type=pull' \ | |
-d 'output_params.format=json_new_line' \ | |
-H 'Authorization: datasift-user:your-datasift-api-key' |
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
curl -X POST 'https://api.datasift.com/v1/push/create' \ | |
-d 'name=connectors3' \ | |
-d 'hash=SourceStreamHash' \ | |
-d 'output_type=s3' \ | |
-d 'output_params.bucket=datasift-s3' \ | |
-d 'output_params.directory=interactions' \ | |
-d 'output_params.acl=private' \ | |
-d 'output_params.auth.access_key=YourAmazonAWSAccessKey' \ | |
-d 'output_params.auth.secret_key=YourAmazonAWSSecretKey' \ | |
-d 'output_params.delivery_frequency=0' \ |
NewerOlder