Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

How to list all the instruments #117

@liuhongbo

Description

@liuhongbo

Code being executed:

rh.instruments('', (err, response, body) => {
            
            if (err){
                console.error(err);
            }
            else{
                
                if (body.next){
                   //which means has more pages , but how to retrieve the next page? it needs to pass a parameter cursor into the url 
                }
            }
        })

the instruments only get the first page of the instruments with the body.next has the url for next page, but seems there is no way to call the instruments method with the cursor parameter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions