Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Update README to explain `top` in pagination response

Open
#374 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
openapi
Domain
api, documentation

Research direction

Start with the linked swagger.yaml section around line 1758 and locate the README pagination documentation. Confirm where the top property is explained, including server-imposed limits and the default when no page size is requested. Done means the README clearly documents this behavior and its possible applicability to the Foundation API.

Written by the indexing model from the issue text.

Description

https://github.com/buildingSMART/BCF-API/blob/19ac4f410728994bb67fb1552c974b4ec36d6f90/swagger.yaml#L1758

The top property describes how many items are at most returned per request / per page. If a server responds with a lower top value than what the client originally asked for, then that means the server has imposed a lower limit than what was requested.

If no page size is requested, the server will still populate the top property with it's default limit.

Maybe this part should be included in the Foundation API?

Dominant language
No language data
Stars
239
Forks
67
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from buildingSMART/BCF-API

All issues in buildingSMART/BCF-API

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.