Class: TeamBattlesSdk::Generated::Orgs::Discover::DiscoverRequestBuilder::DiscoverRequestBuilderGetQueryParameters
- Inherits:
-
Object
- Object
- TeamBattlesSdk::Generated::Orgs::Discover::DiscoverRequestBuilder::DiscoverRequestBuilderGetQueryParameters
- Defined in:
- lib/teambattles_sdk/generated/orgs/discover/discover_request_builder.rb
Overview
Returns a neutral, ranked discovery list of active, public, non-disabled organizations. Each result is a small summary (id, slug, name, tag, avatarUrl, visibility); ‘count` is the size of the returned page, not a total. Results are sorted featured organizations first, then by most wins, then newest. `limit` is 1-100 (default 50); ranking is computed over at most the first 1000 candidate organizations and there is no cursor pagination, so the response is a single ranked page. `search` filters by case-insensitive name substring and is only applied when it is at least 2 characters (shorter values are ignored). Unlike an in-app feed, results do not exclude organizations the API key owner belongs to and do not include membership or join-request flags. Requires orgs.profile:read.
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#search ⇒ Object
Optional organization name search.
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit.
73 74 75 |
# File 'lib/teambattles_sdk/generated/orgs/discover/discover_request_builder.rb', line 73 def limit @limit end |
#search ⇒ Object
Optional organization name search.
76 77 78 |
# File 'lib/teambattles_sdk/generated/orgs/discover/discover_request_builder.rb', line 76 def search @search end |