Skip to main content

Hi all,

I’m trying to get a list of Assets with applying filter on the results and send a params and together.

I’m getting an error - 

{

"description": "Validation failed",

"errors": r

{

"field": "per_page",

"message": "Unexpected/invalid field in request",

"code": "invalid_field"

}

]

}

How can I achieve this?

for example see the following api request that won’t works-

https://jfrog.freshservice.com/api/v2/assets?per_page=100&filter="updated_at:>'2024-09-18'"

Funny enough I can get it to work with the Per_Page=100 and no date filter, however, I can’t get it to work if I remove the per_page value.  If you try it removing the per_page call does it work? 

By default it should work you would just only get 30 returns.


@Aviel Iluz  after a running a bunch of commands and finally getting everything to work without the per_page modifier I reached out to Freshservice.  They have stated that the Per_page command is not supported by the assets api’s.

The date call i did get to finally work was:
{{BaseURL}}assets?filter="created_at:>%272024-01-01%27"

Apparently you have to use the html coding at least through postman, i’m not sure what you are using.