Solved

Learn Cognite API

  • 27 February 2023
  • 5 replies
  • 81 views

Userlevel 2
Badge +3

Learn Cognite API in java script SDK.

icon

Best answer by Carin Meems 28 February 2023, 11:52

View original

5 replies

Userlevel 2
Badge +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.

 

Userlevel 3

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

Userlevel 2
Badge +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.

Userlevel 3

Hi @Karthik Kaliyaperumal,

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

Enjoy your weekend!

Carin

Userlevel 2
Badge +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? 

Reply