Getting started
Concepts
- Model concepts
- API concepts
- API versions
- Entitlements
- Filters
- Request parameters
- Usage quota
- Error codes
Services
Parameters
- after
- aggregate
- aggregateIncrementFrom
- cursor
- dateFormat
- descending
- entity
- envelope
- fields
- format
- from
- groupBy
- groupById
- groupByIdAndTime
- groupByTo
- includeMetaData
- inline
- inlineLatest
- inlineTimeseries
- limit
- modulus
- nextUrl
- part
- pivot
- rankBy
- requestTimeout
- returnPreSignedUrl
- showMessage
- showStreamCursor
- to
- trace
- verifyLinks
- wait
Deprecated parameters
Datasets
- ECR: timeseries and observations
- ECR: usage patterns
- fiindices: retrieving index data
- Parsing: asset classes
- Parsing: best practices
Samples
cursor
Returns one specific stream message.
Applies to: stream
Value: the cursor of a message, or cursor,index to start at a record within a message.
https://consumer.qa.data.spglobal.com/namespace/stream?cursor=12125764
https://consumer.qa.data.spglobal.com/namespace/Entity/stream?cursor=12125764,200&limit=200
The response is the message with that cursor. limit, fields, the filters of the stream and the filters on the fields of an entity apply. A message that does not match the filters is returned as an EMPTY message with that cursor.
cursor cannot be combined with after. The error is BAD_REQUEST. On the stream of one entity, a message that belongs to another entity is reported with the error NOT_FOUND. For batched datasets, the cursor is the committed position.
Use cursor to retrieve a message again, for example one that you want to look at after an error, or that a showMessage or showStreamCursor value points to.