Skip to main content
Practitioner ⭐️
February 27, 2023
Solved

Learn Cognite API

  • February 27, 2023
  • 5 replies
  • 132 views

Learn Cognite API in java script SDK.

Best answer by Carin Meems

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 ⭐️
February 27, 2023

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 ⭐️⭐️⭐️⭐️
February 28, 2023

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 ⭐️
March 1, 2023

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 ⭐️⭐️⭐️⭐️
March 3, 2023

Hi @Karthik Kaliyaperumal,

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

Enjoy your weekend!

Carin

Practitioner ⭐️
March 8, 2023

code 

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

How to solve this issue?