Skip to main content
Answer

Learn Cognite API

  • February 27, 2023
  • 5 replies
  • 102 views

Forum|alt.badge.img+3

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

Forum|alt.badge.img+3

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.

 


  • Seasoned Practitioner
  • Answer
  • 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


Forum|alt.badge.img+3

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.


  • Seasoned Practitioner
  • March 3, 2023

Hi @Karthik Kaliyaperumal,

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

Enjoy your weekend!

Carin


Forum|alt.badge.img+3

code 

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

How to solve this issue?