adobe / adobe/legacy-stock-api-docs

search_parameters[limit] greater than 21 returns an incorrect number of images

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
13
Forks
21
PR merge metrics
No merged PRs in 30d

Description

# Issue report

## URL where issue occurs
https://stock.adobe.io/Rest/Media/1/Search/Files?search_parameters%5Bwords%5D=Flowers&search_parameters%5Bfilters%5D%5Bcontent_type:illustration%5D=1&search_parameters%5Bfilters%5D%5Bcontent_type:photo%5D=1&search_parameters%5Blimit%5D=27&search_parameters%5Boffset%5D=0&search_parameters%5Border%5D=popularity&search_parameters%5Bthumbnail_size%5D=1000

## Type of issue
- [ ] Broken or missing link
- [ ] Language error (typos or confusing sentences, etc.)
- [x] Technical error (mistake in HTTP response/request/URL parameters, etc.)
- [ ] Not enough or missing detail
- [ ] Other

## Brief description of issue
A query to api with *search_parameters[limit]* greater than *21* returns an incorrect number of images.
*search_parameters[limit]=21* returns 25 rows
*search_parameters[limit]=27* returns 31 rows

Contributor guide

Open the contributing guide

Research direction

Reproduce the API request in the issue with search_parameters[limit] set to 21 and 27, then compare the returned row counts. Review the documentation for search_parameters[limit] and search_parameters[offset] to determine the expected behavior; done means the discrepancy and correct behavior are reflected in the API documentation.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.