Skip to main content
Seasoned ⭐️
October 17, 2022
Implemented

List functionality for JS-SDK FeatureAPI

Related products:REST API
  • October 17, 2022
  • 5 replies
  • 121 views

We have a need to list all the features of a specific FeatureType through the geospatial FeatueAPI. There seems to be no list() method or equivalent endpoint to achieve this, excepting using the searchStream method with no filter.

Would it be possible to provide such a thing?

    5 replies

    Saagar  Takhi
    Practitioner ⭐️⭐️⭐️
    Practitioner ⭐️⭐️⭐️
    October 19, 2022

    Hello @Henrik Svoren ,
    Hope you’re doing well.

    Thank you so much for reaching out.
    We really appreciate your highly valuable feedback of incorporating a list method in our JS-SDK.
    This has been a highly requested feature.

    We are going to implement this and get back to you with a timeline in this thread shortly.

    Thanks,
    Saagar Takhi,
    Senior Software Engineer.

    Anita Hæhre
    Expert ⭐️⭐️⭐️⭐️
    Head of Community
    October 21, 2022
    NewGathering Interest
    Anita Hæhre
    Anita Hæhre
    Expert ⭐️⭐️⭐️⭐️
    Head of Community
    October 27, 2022
    Gathering InterestPlanned for development
    Anita Hæhre
    Saagar  Takhi
    Practitioner ⭐️⭐️⭐️
    Practitioner ⭐️⭐️⭐️
    November 2, 2022

    Hello @Henrik Svoren .

    The list() endpoint is published in sdk version 7.11.0.

    If you need all the features without worrying about cursor,

    you can use list().autoPagingToArray({limit : Infinity }).

     

    Please do let us know if you face any issues with using above.
    Thank you so much for your query.

    Thanks,

    Saagar Takhi

    Anita Hæhre
    Expert ⭐️⭐️⭐️⭐️
    Head of Community
    November 2, 2022
    Planned for developmentImplemented
    Anita Hæhre