Skip to main content
Practitioner ⭐️
Feb 27, 2023 10:28 AM UTC
Solved

Learn Cognite API

Learn Cognite API in java script SDK.

Expert ⭐️⭐️⭐️⭐️
Feb 28, 2023 10:52 AM UTC

Hi @Karthik Kaliyaperumal ,

Thank you posting this question. I will create a Support ticket then our team can follow up and assist you.

Best regards,
Carin

5 replies

Practitioner ⭐️
Feb 27, 2023 10:37 AM UTC

I have assets Id, I want to get all children of that assets id.

https://docs.cognite.com/api/v1/#tag/Assets/operation/getAssets

I try this code, but got error.

 

Expert ⭐️⭐️⭐️⭐️
Feb 28, 2023 10:52 AM UTC

Hi @Karthik Kaliyaperumal ,

Thank you posting this question. I will create a Support ticket then our team can follow up and assist you.

Best regards,
Carin

Practitioner ⭐️
Mar 1, 2023 1:26 PM UTC

1. This will load the data on the first page.?name=mceclip1.png

2. Under the query is used to get the data from the next page (2nd page)

?name=mceclip2.png

3. But we can't jump from page 1 to page 5.

?name=mceclip4.png Also, we need to get back records like the data from the second page to the first page.

Expert ⭐️⭐️⭐️⭐️
Mar 3, 2023 5:32 AM UTC

Hi @Karthik Kaliyaperumal,

I believe we have answered your question above via the support ticket as well. 

Enjoy your weekend!

Carin

Practitioner ⭐️
Mar 8, 2023 5:49 AM UTC

code 

I hit assets API then get assets data its fine but get assets data before hitting unauthorized call.

How to solve this issue?