How do I get comments with a link?

Hi. I am trying to get list of comments with a link via API.

Passing http:// and https:// works, but not for URL with no protocol.
For example, if you comment test.com, the text will be hyperlinked.

image

So, how do I get them via API?
I am trying to do some auto-moderation which deletes comment based on certain rules.

Thank you.

Hi,

« Linkification » is done directly in the client, not on the server. You may want to add a regex in your auto moderation tool to detect these links

Is it possible to define how many latest comments I can get via the API?
I can only retrieve like 15 comments at once.

Yes using count: PeerTube

I see. I was looking at this instead and there is no count parameter. But it works anyway, so thanks.