Total items count in storage api request

The storage query API returns up to 10 values by default, this can be increased to a maximum of 20.

https://developer.atlassian.com/platform/forge/runtime-reference/storage-api-query-complex/#query-limit

The storage api returns the maximum items and cursor to fetch the remaining items. But, i want to know the total items count like the previous rest api commands,

rest/api/latest/search?jql=project%3D"projectName"

The result will be,

{"expand":"schema,names","startAt":0,"maxResults":50,"total":135,"issues":[...]}

Similarly i want to get the total items count on storage api request. How to get that?

1 Like

Hello @rajagopal,

You are correct about the maximum limit of 20 for the Storage query API. Regarding your question, there is currently no Storage API to get the total result set count.

Cheers,
Ian

1 Like