res = client.sequences.data.retrieve_last_row(id=1, before=1000)
res = client.sequences.data.retrieve_last_row(id=1, before=1000){
"id": 1112,
"externalId": "DL/DRILL412/20190103/T3",
"columns": [
{
"externalId": "Depth"
},
{
"externalId": "DepthSource"
},
{
"externalId": "PowerSetting"
}
],
"rows": [
{
"rowNumber": 1,
"values": [
23331.3,
"s2",
61
]
}
]
}Required capabilities:
sequencesAcl:READ
Retrieves the last row in one or more sequences. Note that the last row in a sequence is the one with the highest row number, which is not necessarily the one that was ingested most recently.
res = client.sequences.data.retrieve_last_row(id=1, before=1000)
res = client.sequences.data.retrieve_last_row(id=1, before=1000){
"id": 1112,
"externalId": "DL/DRILL412/20190103/T3",
"columns": [
{
"externalId": "Depth"
},
{
"externalId": "DepthSource"
},
{
"externalId": "PowerSetting"
}
],
"rows": [
{
"rowNumber": 1,
"values": [
23331.3,
"s2",
61
]
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
Description of data requested.
A request for the last row.
A server-generated ID for the object.
1 <= x <= 9007199254740991Columns to include. Specified as a list of the externalId of each column to include.
If this filter isn't set, all available columns will be returned.
1 - 400 elementsGet rows up to, but not including, this row number.
x >= 1Response with the sequence data found.
Data from a sequence.
A server-generated ID for the object.
1 <= x <= 9007199254740991Column information in the order given by data.
Show child attributes
List of row information.
Show child attributes
The external ID provided by the client. Must be unique for the resource type.
255"my.known.id"
Was this page helpful?