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
{ | |
"status": "failure", | |
"message": "There was a problem starting your stream" | |
} |
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
{ | |
"status": "failure", | |
"message": "There was a problem starting your connection. Please reconnect." | |
} |
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
{ | |
"status": "failure", | |
"message": "You are consuming data too slowly and have been disconnected" | |
} |
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
{ | |
"status": "warning", | |
"message": "You are consuming data too slowly. If you do not consume data faster you will be disconnected." | |
} |
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
{ | |
"status": "failure", | |
"message": "This streaming API service node is closing for maintenance, please reconnect immediately" | |
} |
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
{ | |
"status": "failure", | |
"message": "The streaming API is currently at full capacity" | |
} |
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=mypushsubscription' \ | |
-d 'hash=42d388f8b1db997faaf7dab487f11290' \ | |
-d 'output_type=dynamodb' \ | |
-d 'output_params.region=dynamodb.eu-west-1.amazonaws.com' \ | |
-d 'output_params.table=datasift-dynamodb' \ | |
-d 'output_params.auth.access_key=YourAmazonAWSAccessKey' \ | |
-d 'output_params.auth.secret_key=YourAmazonAWSSecretKey' \ | |
-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
curl -X POST 'https://api.datasift.com/v1/push/stop' \ | |
-d 'id=d468655cfe5f93741ddcd30bb309a8c7' \ | |
-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
curl -X POST 'https://api.datasift.com/push/update' \ | |
-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' \ | |
-d 'output_params.delivery_frequency=60' \ |