historics/update

Update the name of an existing Historics query.

An HTTP PUT request sent to:

https://api.datasift.com/v1.3/historics/update

A successful call to this endpoint returns: 204 No Content. No JSON-encoded data will be sent to you.

Parameters

Parameter Description
id
required

The id of a Historics query.

Example values: 2490313575797478a5c3

name
required

The new name of the stream.

Example values: FirstTest

Examples

  1. Validate a request before using these API parameters with the /push/create endpoint. This string includes the output parameters to make an HTTP request to the domain example.com:

curl -X PUT 'https://api.datasift.com/v1.3/historics/update' 
    -d 'id=6cc90a14f570c4acdd22' 
    -d 'name=newname' 
    -H 'Authorization: datasift-user:your-datasift-api-key'

Notes

  1. Be sure to read our introduction to the Historics API to get started with these endpoints.
  2. All calls to the API must be properly authenticated with a DataSift username and API key.
  3. All calls to the API must be versioned. The current version is v1.3.

Resource information

Rate limit cost: 5

Requires authentication: Yes

Response formats: JSON, JSONP