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
GET /8bc638ddff76a9c01bd6a454de03bd30 HTTP/1.1 | |
Host: stream.datasift.com | |
Authorization: <username>:<api_key> | |
Connection: Keep-Alive |
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 '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' \ |
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 'https://api.datasift.com/v1/push/create' \ | |
-d 'name=connectormongodb' \ | |
-d 'hash=42d388f8b1db997faaf7dab487f11290' \ | |
-d 'output_type=mongodb' \ | |
-d 'output_params.host=mongodb.example.com' \ | |
-d 'output_params.port=27017' \ | |
-d 'output_params.db_name=datasiftmongodb' \ | |
-d 'output_params.collection_name=my_first_test' \ | |
-d 'output_params.auth.username=dsreceiver' \ | |
-d 'output_params.auth.password=dsrpassword' \ |
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 'https://api.datasift.com/v1/push/update' \ | |
-d 'id=f4d4caee9acfd27faf88843d8d6191b1' \ | |
-d 'name=myupdatedpushsubscription' \ | |
-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' \ |
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 GET http://api.datasift.com/v1/preview/get \ | |
-d 'id=e25d533cf287ec44fe66e8362f61961f' \ | |
-H 'Authorization: datasift-user:your-datasift-api-key' |
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": "d468655cfe5f93741ddcd30bb309a8c7", | |
"output_type": "dynamodb", | |
"name": "mypushsubscription", | |
"created_at": 1365430066, | |
"user_id": 12635, | |
"hash": "0dddb9bb2f6e8f3f2de405f6c1a2b21e", | |
"hash_type": "stream", | |
"output_params": { | |
"region": "dynamodb.eu-west-1.amazonaws.com", |
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": "d468655cfe5f93741ddcd30bb309a8c7", | |
"output_type": "dynamodb", | |
"name": "myupdatedpushsubscription", | |
"created_at": 1365430066, | |
"user_id": 12635, | |
"hash": "edd0b9fb266e8f3f2de40bf6c1a2bf3e", | |
"hash_type": "stream", | |
"output_params": { | |
"table": "datasift-dynamodb", |
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
{ | |
"count": 2, | |
"subscriptions": [ | |
{ | |
"id": "d668655cfe5f93741ddcd30bb309a8c7", | |
"output_type": "dynamodb", | |
"name": "mypushsubscription1", | |
"created_at": 1365430066, | |
"user_id": 12635, | |
"hash": "42d388f8b1db997faaf7dab487f11290", |
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": "d468655cfe5f93741ddcd30bb309a8c7", | |
"output_type": "dynamodb", | |
"name": "mypushsubscription", | |
"created_at": 1365430066, | |
"user_id": 12635, | |
"hash": "42d388f8b1db997faaf7dab487f11290", | |
"hash_type": "stream", | |
"output_params": { | |
"table": "datasift-dynamodb", |
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": "d468655cfe5f93741ddcd30bb309a8c7", | |
"output_type": "dynamodb", | |
"name": "mypushsubscription", | |
"created_at": 1365430066, | |
"user_id": 12635, | |
"hash": "42d388f8b1db997faaf7dab487f11290", | |
"hash_type": "stream", | |
"output_params": { | |
"table": "datasift-dynamodb", |
NewerOlder