REST API paging

Hi all,

I'm trying to make paging work through curl as per the documentation and I'm failing.

The query is:

https://{youtrack}/api/issues?fields=id,idReadable,summary,description&$skip=0&$top=50

I get all Issues returned and the message "$skip is not recognized as in internal or external command, operable program or batch file. $top is not recognized as an internal or external command, operable program or batch file."

What am I doing wrong?

0
1 comment
Official comment

Hello,

If you need to use the skip and top parameters, use them without $. For example:

https://NAME.myjetbrains.com/youtrack/api/issues?fields=id,idReadable,summary,description&skip=0&top=50

I hope it will be helpful. Should you have any further questions, feel free to contact us.

Please sign in to leave a comment.