New: build custom CDF applications with Cognite Flows. Documentation · What's new.
const rows = [
{ rowNumber: 0, values: [1, 2.2, 'three'] },
{ rowNumber: 1, values: [4, 5, 'six'] }
];
await client.sequences.insertRows([{ id: 123, rows, columns: ['one', 'two', 'three'] }]);{}Required capabilities:
sequencesAcl:WRITE
Inserts rows into a sequence. This overwrites data in rows and columns that exist.
const rows = [
{ rowNumber: 0, values: [1, 2.2, 'three'] },
{ rowNumber: 1, values: [4, 5, 'six'] }
];
await client.sequences.insertRows([{ id: 123, rows, columns: ['one', 'two', 'three'] }]);{}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
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.
Data posted.
1 - 1000 elementsData from a sequence.
Show child attributes
{
"externalId": "DL/DRILL412/20190103/T3",
"columns": ["Depth", "DepthSource", "PowerSetting"],
"rows": [
{
"rowNumber": 1,
"values": [23331.3, "s2", 61]
}
]
}Empty response.
The response is of type object.
Was this page helpful?