Search the Community

Showing results for tags 'part-colors'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Rebrickable
    • News
    • Suggestions
    • Help!
    • Bugs
    • API
    • Mobile App - Rebrickable LEGO Shopper
  • Inventories and Data
    • Set Inventories
    • MOC Discussions
    • Other Data
  • Other Stuff
    • LEGO News, Events, Community
    • Non LEGO
  • Projects

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Bricksafe URL


Location


Interests


Favourite Set(s)

Found 1 result

  1. Hello, I think the GET /api/v3/lego/parts/{part_num}/colors/ API-function should not have paging. There are only 133 colors over all and I guess there is no part which is available in all colors. Because the page-size itself cannot be set in the API and defaults to 100, this function should always return all colors the requested part is available in. This keeps away the overhead from the consumer to handle the rare case there are more than 100 colors available for a part (are there any?) and in worst case (133 colors for a part) puts 1/3 more to the answer (instead of maybe handling an addtional call for page 2, which normally is more costly on both side (client and server)) - maximum 33 * ~200 bytes = ~7kB more instead of a asecond call. Regards Dietmar