Document a bunch of endpoints #448

Manually merged
hloth merged 1 commit from Enucatl/open-grind:docs/api into main 2026-10-28 00:29:29 +01:00
Contributor

Did some research on my account and grindr-api-dev-tool, this pull request documents the following responses:

• GET /v1/consumables/inventory
• GET /v2/boost/sessions
• GET /v1/age-verification/options
• GET /v1/store-age-verification/requirement
• GET /v1/pics/limited/status
• GET /v4/pics/expiring/status
• GET /v4/videos/expiring/status
• GET /v3/me/subscriptions
• GET /v3/store/googleplay/products/store
• GET /v1/shop/googleplay/products/explore
• GET /v1/shop/googleplay/products/profile_drawer
• GET /v1/store/googleplay/products/profile_drawer
• GET /v1/store-and-profile
• GET /v2/store/googleplay/products/{oneStopShopCategory}
• GET /v1/shop/googleplay/products-with-details/{oneStopShopCategory}
• GET /v4/store/products/{productId}
• GET /v1/rightnow/googleplay/sku
• GET /v2/offers
• GET /v2/offers/eligible
• GET /v1/explore_heatmaps/all_locations
• GET /v1/decision-appeal
• GET /v3/me/legal-agreements
• GET /v3/legal-agreements
• GET /v5/legal-agreements/subscriber-sponsored-content
• GET /v5/legal-agreements/vip-matchmaker
• GET /v4/legal-agreements/top-picks
• GET /v5/legal-agreements/top-picks
• POST /v1/opt-status

Did some research on my account and grindr-api-dev-tool, this pull request documents the following responses: • GET /v1/consumables/inventory • GET /v2/boost/sessions • GET /v1/age-verification/options • GET /v1/store-age-verification/requirement • GET /v1/pics/limited/status • GET /v4/pics/expiring/status • GET /v4/videos/expiring/status • GET /v3/me/subscriptions • GET /v3/store/googleplay/products/store • GET /v1/shop/googleplay/products/explore • GET /v1/shop/googleplay/products/profile_drawer • GET /v1/store/googleplay/products/profile_drawer • GET /v1/store-and-profile • GET /v2/store/googleplay/products/{oneStopShopCategory} • GET /v1/shop/googleplay/products-with-details/{oneStopShopCategory} • GET /v4/store/products/{productId} • GET /v1/rightnow/googleplay/sku • GET /v2/offers • GET /v2/offers/eligible • GET /v1/explore_heatmaps/all_locations • GET /v1/decision-appeal • GET /v3/me/legal-agreements • GET /v3/legal-agreements • GET /v5/legal-agreements/subscriber-sponsored-content • GET /v5/legal-agreements/vip-matchmaker • GET /v4/legal-agreements/top-picks • GET /v5/legal-agreements/top-picks • POST /v1/opt-status
Clarify timestamp units as Unix milliseconds
Some checks failed
check / check (pull_request) Has been cancelled
0152d88d0c
Keep API docs focused on response contracts
Some checks failed
check / check (pull_request) Has been cancelled
2b5cd25119
Replace probe history with concise API descriptions while preserving
unknown response types and category limitations.

Leave own-post documentation to the complete Right Now schema in PR #450
rather than duplicating its null-only subset in PR #448.
claude left a comment

Types were checked against live responses from a test account on 26.22; mismatches are noted inline.

  • Rebase onto main. Git reports 2 conflict hunks at the end of components.schemas: keep main's RightNowMediaUploadResponse, RightNowPostDetails and RightNowPostResponse and add the 3 new components after them. The 3 store routes main deprecated merge without a conflict but end up with two description keys (see inline).
  • While rebasing, type main's GET /v1/shop/googleplay/products/store with ShopProductCatalog. Main's deprecation notes link to it, and live returns the same shape as explore and profile_drawer.
  • Add response required lists with the fields present in every capture (convention since 5aa14bee). Without them the 3 new components render every field ", optional".
  • Remove all 28 example/examples blocks. The generator doesn't render them, and most values are placeholders that differ from live ones (8-digit version strings, the 404 body, the appeal 400). Put a real value that helps into the description as "e.g. …".
  • Write descriptions as lowercase type phrases without a trailing period, and use main's wording for gaps: "Item structure is undocumented." for untyped items, no description for null-only fields (renders "unknown or null"), "e.g." or "known values:" for value lists. That replaces "remains unverified", "Observed empty", "Only null observed" and "Observed values include".
  • Remove x-wip from the operations the 26.22 client calls once their responses are fully typed, and declare security on those that need a session, as main's non-WIP operations do. Update the -wip anchors in main's 3 store deprecation links when the shop routes lose it. Keep x-wip on the deprecated store routes, v4 top-picks, /v4/store/products/{productId}, /v2/offers and /v1/decision-appeal.
  • Keep content before description in the 18 responses and add summary/description before x-wip; the reordering is about 112 diff lines with no rendered change.
  • Fold 0152d88d0 and 2b5cd2511 into the commits they amend and keep each commit message to one line. Drop GET /v3/rightnow/active-post from the PR description; this PR no longer changes it.
Types were checked against live responses from a test account on 26.22; mismatches are noted inline. - Rebase onto main. Git reports 2 conflict hunks at the end of `components.schemas`: keep main's `RightNowMediaUploadResponse`, `RightNowPostDetails` and `RightNowPostResponse` and add the 3 new components after them. The 3 store routes main deprecated merge without a conflict but end up with two `description` keys (see inline). - While rebasing, type main's `GET /v1/shop/googleplay/products/store` with `ShopProductCatalog`. Main's deprecation notes link to it, and live returns the same shape as explore and profile_drawer. - Add response `required` lists with the fields present in every capture (convention since 5aa14bee). Without them the 3 new components render every field ", optional". - Remove all 28 `example`/`examples` blocks. The generator doesn't render them, and most values are placeholders that differ from live ones (8-digit version strings, the 404 body, the appeal 400). Put a real value that helps into the description as "e.g. `…`". - Write descriptions as lowercase type phrases without a trailing period, and use main's wording for gaps: "Item structure is undocumented." for untyped items, no description for null-only fields (renders "unknown or `null`"), "e.g." or "known values:" for value lists. That replaces "remains unverified", "Observed empty", "Only null observed" and "Observed values include". - Remove `x-wip` from the operations the 26.22 client calls once their responses are fully typed, and declare `security` on those that need a session, as main's non-WIP operations do. Update the `-wip` anchors in main's 3 store deprecation links when the shop routes lose it. Keep `x-wip` on the deprecated store routes, v4 top-picks, `/v4/store/products/{productId}`, `/v2/offers` and `/v1/decision-appeal`. - Keep `content` before `description` in the 18 responses and add `summary`/`description` before `x-wip`; the reordering is about 112 diff lines with no rendered change. - Fold 0152d88d0 and 2b5cd2511 into the commits they amend and keep each commit message to one line. Drop `GET /v3/rightnow/active-post` from the PR description; this PR no longer changes it.
@ -860,0 +859,4 @@
"boostSessions": {
"type": "array",
"items": {},
"description": "Session item structure, statuses, and time fields are undocumented."
First-time contributor

Type the items from the client model (BoostSessionApiResponse), since the live array was empty: boostSessionId, profileId, startTime, endTime, chatsCount, tapsCount, viewsCount, isPaused, plus nullable boostProductType, minAge, maxAge, positionPreferences, geohash. The model has no status field.

Type the items from the client model (`BoostSessionApiResponse`), since the live array was empty: `boostSessionId`, `profileId`, `startTime`, `endTime`, `chatsCount`, `tapsCount`, `viewsCount`, `isPaused`, plus nullable `boostProductType`, `minAge`, `maxAge`, `positionPreferences`, `geohash`. The model has no status field.
hloth marked this conversation as resolved
@ -999,0 +1006,4 @@
"consumables": {
"type": "array",
"items": {},
"description": "Consumable item structure, types, and quantities are undocumented."
First-time contributor

Type the items from the client model (ConsumableInventory), since the live array was empty: profileId (string), consumableId (integer), consumableName (string), remaining (integer).

Type the items from the client model (`ConsumableInventory`), since the live array was empty: `profileId` (string), `consumableId` (integer), `consumableName` (string), `remaining` (integer).
hloth marked this conversation as resolved
@ -1152,0 +1173,4 @@
},
"type": {
"type": "string",
"description": "Observed values include `City` and `Neighbourhood`; other values remain unverified."
First-time contributor

Use a type phrase: "string, e.g. City, Neighbourhood". All 7 item keys were present on all 77 live items, so list them in required, plus lat and lng in both coordinate objects.

Use a type phrase: "string, e.g. `City`, `Neighbourhood`". All 7 item keys were present on all 77 live items, so list them in `required`, plus `lat` and `lng` in both coordinate objects.
hloth marked this conversation as resolved
@ -1219,0 +1297,4 @@
"properties": {
"agreement": {
"nullable": true,
"description": "Only null observed; the non-null type remains unverified."
First-time contributor

The 4 agreement GETs return one client model, the object typed on v5 top-picks. Move it to a component and reference it here and on vip-matchmaker as {"allOf": [{"$ref": …}], "nullable": true}; both return null live.

The 4 agreement GETs return one client model, the object typed on v5 top-picks. Move it to a component and reference it here and on vip-matchmaker as `{"allOf": [{"$ref": …}], "nullable": true}`; both return `null` live.
hloth marked this conversation as resolved
@ -1331,0 +1421,4 @@
"privacyPolicyVersion": {
"type": "string"
},
"userConsentList": {
First-time contributor

List the values: "array of strings, known values: HIV_COLLECT, VACCINE_COLLECT, DOXYPEP_COLLECT".

List the values: "array of strings, known values: `HIV_COLLECT`, `VACCINE_COLLECT`, `DOXYPEP_COLLECT`".
hloth marked this conversation as resolved
@ -1331,0 +1429,4 @@
},
"createdAtPrivacyAgreement": {
"type": "integer",
"description": "Unix timestamp in milliseconds."
First-time contributor

Use {"$ref": "#/components/schemas/TimestampMs"} here and for the other 5 timestamps (lines 1436, 1677, 3599, 3603, 3619).

Use `{"$ref": "#/components/schemas/TimestampMs"}` here and for the other 5 timestamps (lines 1436, 1677, 3599, 3603, 3619).
hloth marked this conversation as resolved
@ -1463,1 +1599,3 @@
"x-wip": true
"x-wip": true,
"summary": "Get Top Picks agreement (v4)",
"description": "The agreement can be null. Non-null v4 agreement structure is undocumented."
First-time contributor

No client since 25.20.0 sends GET v4 top-picks; 26.x only POSTs v4 and reads v5. Replace this description with "deprecated": true and "Removed in the official Android client between v25.20.0 and v26.9.2. Superseded by Get Top Picks agreement (v5)." Reference the shared agreement component here too, nullable (null live).

No client since 25.20.0 sends GET v4 top-picks; 26.x only POSTs v4 and reads v5. Replace this description with `"deprecated": true` and "Removed in the official Android client between v25.20.0 and v26.9.2. Superseded by [Get Top Picks agreement (v5)](#get-top-picks-agreement-v5)." Reference the shared agreement component here too, nullable (`null` live).
hloth marked this conversation as resolved
@ -1516,1 +1655,3 @@
"$ref": "#/components/schemas/UndocumentedObject",
"type": "object",
"properties": {
"agreement": {
First-time contributor

Make this the shared agreement component: profileId (integer), agreementType, locale and clientVersion (string, may be empty), version (integer), createdAt (TimestampMs), status. Leave nullable off here until a null is captured on v5.

Make this the shared agreement component: `profileId` (integer), `agreementType`, `locale` and `clientVersion` (string, may be empty), `version` (integer), `createdAt` (`TimestampMs`), `status`. Leave `nullable` off here until a `null` is captured on v5.
hloth marked this conversation as resolved
@ -1517,0 +1676,4 @@
"type": "integer",
"description": "Unix timestamp in milliseconds."
},
"status": {
First-time contributor

"string, ACCEPTED, REJECTED or REVOKED" (client enum; live returned REJECTED).

"string, `ACCEPTED`, `REJECTED` or `REVOKED`" (client enum; live returned `REJECTED`).
hloth marked this conversation as resolved
@ -1524,1 +1702,3 @@
"x-wip": true
"x-wip": true,
"summary": "Get Top Picks agreement (v5)",
"description": "Other agreement states are undocumented."
First-time contributor

Remove; with the status values listed this adds nothing.

Remove; with the `status` values listed this adds nothing.
hloth marked this conversation as resolved
@ -1769,3 +1977,3 @@
"includeDerivedOptOuts": {
"type": "boolean",
"description": "boolean, effect unknown, optional"
"description": "Requests derived opt-out entries. When omitted or false, `derivedOptOuts` is empty. Derivation rules are undocumented."
First-time contributor

Request body fields don't render required, so the old ", optional" was the only marker. Use "boolean, true fills derivedOptOuts, optional".

Request body fields don't render `required`, so the old ", optional" was the only marker. Use "boolean, `true` fills `derivedOptOuts`, optional".
hloth marked this conversation as resolved
@ -1798,0 +2022,4 @@
"additionalProperties": {
"type": "boolean"
},
"description": "Derived opt-out entries requested with `includeDerivedOptOuts`. Known keys include `PREMIUM_AI_OPT_OUT`; other keys and derivation rules are undocumented."
First-time contributor

Use a type phrase: "object keyed by derived opt-out type, empty unless includeDerivedOptOuts is true; known key: PREMIUM_AI_OPT_OUT".

Use a type phrase: "object keyed by derived opt-out type, empty unless `includeDerivedOptOuts` is `true`; known key: `PREMIUM_AI_OPT_OUT`".
hloth marked this conversation as resolved
@ -1798,0 +2027,4 @@
"optInResponded": {
"type": "object",
"additionalProperties": {},
"description": "Keys, value types, and meaning are undocumented."
First-time contributor

Remove the description so it renders as object (only {} was seen live), and use "additionalProperties": true as elsewhere in the spec.

Remove the description so it renders as `object` (only `{}` was seen live), and use `"additionalProperties": true` as elsewhere in the spec.
hloth marked this conversation as resolved
@ -2040,1 +2300,3 @@
"$ref": "#/components/schemas/UndocumentedObject",
"type": "object",
"properties": {
"offerTypes": {
First-time contributor

Type the items. Live returned one: offerType (INTRODUCTORY), offerProductSku, baseProductSku (empty string), offerDurationMs, roleName, subscriptionDuration. The client's Offer adds optional expirationEpochMs and offerUuid, and offerType is WINBACK, INTRODUCTORY, UPGRADE, LOYALTY_UNLIMITED or LOYALTY_UPGRADE. GET /v2/offers returns the same Offer.

Type the items. Live returned one: `offerType` (`INTRODUCTORY`), `offerProductSku`, `baseProductSku` (empty string), `offerDurationMs`, `roleName`, `subscriptionDuration`. The client's `Offer` adds optional `expirationEpochMs` and `offerUuid`, and `offerType` is `WINBACK`, `INTRODUCTORY`, `UPGRADE`, `LOYALTY_UNLIMITED` or `LOYALTY_UPGRADE`. `GET /v2/offers` returns the same `Offer`.
hloth marked this conversation as resolved
@ -1994,1 +2249,4 @@
"description": "OK"
},
"204": {
"description": "Empty response body; the condition for this response is undocumented."
First-time contributor

"No current offer." The live 204 came with hasExistingOffer: false from /v2/offers/eligible, and this matches the hookup-intent 204 wording.

"No current offer." The live 204 came with `hasExistingOffer: false` from `/v2/offers/eligible`, and this matches the hookup-intent 204 wording.
hloth marked this conversation as resolved
@ -2736,1 +3028,3 @@
"$ref": "#/components/schemas/UndocumentedObject",
"allOf": [
{
"$ref": "#/components/schemas/StoreProductCatalog"
First-time contributor

Use a direct $ref; the allOf wrapper only carries x-original-type, which typed schemas don't render. Same at lines 3141, 3210, 3342 and 11193.

Use a direct `$ref`; the `allOf` wrapper only carries `x-original-type`, which typed schemas don't render. Same at lines 3141, 3210, 3342 and 11193.
hloth marked this conversation as resolved
@ -2744,1 +3062,3 @@
"x-wip": true
"x-wip": true,
"summary": "Get Google Play store products",
"description": "Returns catalog products directly in `products`, rather than the product/purchaseAllowed wrappers returned by shop routes. Optional fields vary by category and account."
First-time contributor

Remove this description. Main marks this route deprecated (removed from the client in 26.20) with its own description; the merge keeps both keys without a conflict and JSON.parse takes this one, dropping main's "Removed in the official Android client v26.20.0…" note. Same on line 11226. "Optional fields vary by category and account" also doesn't match live: every product key is present on every product, only nullability varies.

Remove this description. Main marks this route deprecated (removed from the client in 26.20) with its own `description`; the merge keeps both keys without a conflict and `JSON.parse` takes this one, dropping main's "Removed in the official Android client v26.20.0…" note. Same on line 11226. "Optional fields vary by category and account" also doesn't match live: every product key is present on every product, only nullability varies.
hloth marked this conversation as resolved
@ -2826,1 +3181,3 @@
"x-wip": true
"x-wip": true,
"summary": "Get Explore shop products",
"description": "Returns `products` entries containing `product` and `purchaseAllowed`. Optional fields vary by category and account."
First-time contributor

Remove; the ShopProductCatalog response already shows this, and every key was present on every live product. Same on line 3384.

Remove; the `ShopProductCatalog` response already shows this, and every key was present on every live product. Same on line 3384.
hloth marked this conversation as resolved
@ -2926,2 +3323,3 @@
},
"x-wip": true
"x-wip": true,
"summary": "Get store product by identifier"
First-time contributor

"Get store product by ID", as in main's other summaries; the anchor stays the same.

"Get store product by ID", as in main's other summaries; the anchor stays the same.
hloth marked this conversation as resolved
@ -2858,1 +3242,3 @@
"x-wip": true
"x-wip": true,
"summary": "Get Google Play products by category",
"description": "Returns catalog products directly in `products`, rather than the product/purchaseAllowed wrappers returned by shop routes. Optional fields vary by category and account. The documented response covers the `store` category; other categories are undocumented."
First-time contributor

Remove, as on line 3064. Live, explore and profile_drawer return the same shape as store, and consumables returns 400 urn:gr:err:bad_request.

Remove, as on line 3064. Live, explore and profile_drawer return the same shape as store, and `consumables` returns 400 `urn:gr:err:bad_request`.
hloth marked this conversation as resolved
@ -2924,1 +3310,4 @@
"description": "OK"
},
"404": {
"description": "Product not found. The mapping from catalog `vendorProductId` to this route's `productId` is undocumented.",
First-time contributor

Live returns Go's default 404 page not found for real vendorProductIds and for 1, and no client since 25.20.0 declares this route. Remove the 404 and mark the operation deprecated with "Removed in the official Android client between v25.20.0 and v26.9.2."

Live returns Go's default `404 page not found` for real `vendorProductId`s and for `1`, and no client since 25.20.0 declares this route. Remove the 404 and mark the operation `deprecated` with "Removed in the official Android client between v25.20.0 and v26.9.2."
hloth marked this conversation as resolved
@ -3149,0 +3605,4 @@
"vendorProductMappingId": {
"type": "integer"
},
"subscriptionStatus": {
First-time contributor

"string, PENDING, VERIFIED, DISABLED or EXPIRED" (client enum).

"string, `PENDING`, `VERIFIED`, `DISABLED` or `EXPIRED`" (client enum).
hloth marked this conversation as resolved
@ -3709,1 +4242,3 @@
"$ref": "#/components/schemas/UndocumentedObject",
"type": "object",
"properties": {
"methods": {
First-time contributor

Live returns DOCUMENT_VERIFICATION and FACE_RECOGNITION, and the client parses a list of strings. Use "items": {"type": "string"} and "array of strings: FACE_RECOGNITION, DOCUMENT_VERIFICATION".

Live returns `DOCUMENT_VERIFICATION` and `FACE_RECOGNITION`, and the client parses a list of strings. Use `"items": {"type": "string"}` and "array of strings: `FACE_RECOGNITION`, `DOCUMENT_VERIFICATION`".
hloth marked this conversation as resolved
@ -6510,2 +7068,3 @@
"total": {
"type": "integer"
"type": "integer",
"description": "Reported total allowance."
First-time contributor

Drop "Reported": "total allowance" and "remaining allowance". Same on the two expiring routes.

Drop "Reported": "total allowance" and "remaining allowance". Same on the two expiring routes.
hloth marked this conversation as resolved
@ -10947,0 +11613,4 @@
"items": {
"type": "object",
"properties": {
"type": {
First-time contributor

type decides which fields a section has. List the labels: "string, section_header, active_subscription_row, card_carousel, callout_row, list_row, spacer, divider or micros_section" (7 seen live, active_subscription_row from the client). Cards (line 11650) are "string, upgrade_card". The description on line 11749 doesn't render; remove it.

`type` decides which fields a section has. List the labels: "string, `section_header`, `active_subscription_row`, `card_carousel`, `callout_row`, `list_row`, `spacer`, `divider` or `micros_section`" (7 seen live, `active_subscription_row` from the client). Cards (line 11650) are "string, `upgrade_card`". The description on line 11749 doesn't render; remove it.
hloth marked this conversation as resolved
@ -10835,1 +11458,4 @@
"description": "OK"
},
"400": {
"description": "Appeal lookup rejected; the prerequisite for a successful lookup is undocumented.",
First-time contributor

Describe the observed case and drop content: the server returns urn:gr:err:parameter with parameterName validation for an unbanned account. Main describes most 400s in the description only, and the inline schema and example don't render.

Describe the observed case and drop `content`: the server returns `urn:gr:err:parameter` with `parameterName` `validation` for an unbanned account. Main describes most 400s in the description only, and the inline schema and example don't render.
hloth marked this conversation as resolved
@ -11831,1 +12644,3 @@
"$ref": "#/components/schemas/UndocumentedObject",
"type": "object",
"properties": {
"productDetails": {
First-time contributor

Type the items from the client model (ProductDetailItemDto), since live returned [] in every category: vendorProductId (string), topBenefits (array of {title: {textId, quantity}, iconId, subtitle: {textId, quantity}}), features and includedFeatures (arrays of strings).

Type the items from the client model (`ProductDetailItemDto`), since live returned `[]` in every category: `vendorProductId` (string), `topBenefits` (array of `{title: {textId, quantity}, iconId, subtitle: {textId, quantity}}`), `features` and `includedFeatures` (arrays of strings).
hloth marked this conversation as resolved
@ -11839,2 +12694,3 @@
"summary": "Get shop products with details",
"x-wip": true
"x-wip": true,
"description": "For the `store` category, `products` contains a nested shop catalog. Product detail items and other categories are undocumented."
First-time contributor

Remove; store, consumables, explore and profile_drawer all return this nested catalog live, and the productDetails gap belongs on that field.

Remove; store, consumables, explore and profile_drawer all return this nested catalog live, and the `productDetails` gap belongs on that field.
hloth marked this conversation as resolved
@ -12225,3 +13081,3 @@
},
"204": {
"description": "No hookup intent post."
"description": "No hookup intent post; empty response body."
First-time contributor

Revert; 204 texts don't render and a 204 has no body. This drops the operation from the diff.

Revert; 204 texts don't render and a 204 has no body. This drops the operation from the diff.
hloth marked this conversation as resolved
@ -21170,2 +22026,4 @@
},
"x-render-on-tag": "settings/account"
},
"CatalogProduct": {
First-time contributor

Add offerExpiresAt (integer, nullable): it is null on every product of /v3/store/googleplay/products/store and all shop routes, and absent on the other two store routes.

Add `offerExpiresAt` (integer, nullable): it is `null` on every product of `/v3/store/googleplay/products/store` and all shop routes, and absent on the other two store routes.
hloth marked this conversation as resolved
@ -21172,0 +22042,4 @@
},
"interval": {
"type": "string",
"description": "Observed values include `WEEK`, `MONTH`, `HOUR`, `MINUTE`, and `DAY`; other units remain unverified."
First-time contributor

Add YEAR (every store and shop route returns it): "string, MINUTE, HOUR, DAY, WEEK, MONTH or YEAR". Same form for type on line 22037: "string, SUBSCRIPTION_PLAN or ONE_TIME_PURCHASE".

Add `YEAR` (every store and shop route returns it): "string, `MINUTE`, `HOUR`, `DAY`, `WEEK`, `MONTH` or `YEAR`". Same form for `type` on line 22037: "string, `SUBSCRIPTION_PLAN` or `ONE_TIME_PURCHASE`".
hloth marked this conversation as resolved
@ -21172,0 +22082,4 @@
"isPeakTime": {
"type": "boolean"
},
"strikeThroughPriceSku": {
First-time contributor

{"type": "string", "nullable": true}; live returns a string on 1 of 15 shop profile_drawer products.

`{"type": "string", "nullable": true}`; live returns a string on 1 of 15 shop profile_drawer products.
hloth marked this conversation as resolved
@ -21172,0 +22101,4 @@
"$ref": "#/components/schemas/CatalogProduct"
}
},
"rewards": {
First-time contributor

Only /v3/store/googleplay/products/store returns rewards and defaultSelectionDuration; the v2 route and v1 profile_drawer send name and products only. Add "only sent by /v3/store/googleplay/products/store; may be absent" to both.

Only `/v3/store/googleplay/products/store` returns `rewards` and `defaultSelectionDuration`; the v2 route and v1 profile_drawer send `name` and `products` only. Add "only sent by `/v3/store/googleplay/products/store`; may be absent" to both.
hloth marked this conversation as resolved
@ -21172,0 +22106,4 @@
"items": {},
"description": "Observed empty; nonempty item structure remains unverified."
},
"defaultSelectionDuration": {
First-time contributor

{"type": "string", "nullable": true}; live is ONE_WEEK for the store category. Same on line 22150, where the other categories return null.

`{"type": "string", "nullable": true}`; live is `ONE_WEEK` for the store category. Same on line 22150, where the other categories return `null`.
hloth marked this conversation as resolved
hloth requested changes 2026-10-27 13:55:22 +01:00
Dismissed
hloth left a comment

See @claude review

See @claude review
Enucatl force-pushed docs/api from 2b5cd25119
Some checks failed
check / check (pull_request) Has been cancelled
to 294a394253
Some checks failed
ci-orchestrator / provision running on cx23 in nbg1
audit / audit (pull_request) Failing after 14s
credits / credits (pull_request) Successful in 2m51s
check / check (pull_request) Failing after 23m32s
2026-10-27 14:23:58 +01:00
Compare
Author
Contributor

Main review points

  1. Rebased the branch onto main. Kept main's RightNowMediaUploadResponse, RightNowPostDetails, and RightNowPostResponse schemas. Added the new components after main's schemas. Kept the three store removal notes. There are no duplicate JSON keys.

  2. Added ShopProductCatalog as the response schema for GET /v1/shop/googleplay/products/store.

  3. Added response required lists for the fields present in every capture. Kept fields optional where they can be absent. The catalog components now distinguish required fields from optional fields.

  4. Removed all 28 example and examples blocks added by this PR. Put useful known values in field descriptions.

  5. Changed field descriptions to lowercase type phrases without a final period. Used "Item structure is undocumented." for unknown array items. Removed descriptions from null-only fields. Used "e.g." and value lists where appropriate.

  6. Removed x-wip from the fully typed active routes and added session security. Kept x-wip on the three deprecated store routes, GET /v4/legal-agreements/top-picks, GET /v4/store/products/{productId}, GET /v2/offers, and GET /v1/decision-appeal. Updated the three store removal links to use the shop anchors without the -wip suffix.

  7. Put response content before description. Put operation summary and description before x-wip.

  8. Folded commits 0152d88d0 and 2b5cd2511 into the topic commits. The branch now has nine commits, each with a one-line message. The PR description still lists GET /v3/rightnow/active-post. Removing that line is pending because the API credential has expired.

Inline review points

The points below follow the order of the inline comments in the review as pasted here.

  1. Boost sessions: replaced the empty items schema with an object containing boostSessionId, profileId, startTime, endTime, chatsCount, tapsCount, viewsCount, and isPaused. Added nullable boostProductType, minAge, maxAge, positionPreferences, and geohash. Did not add a status field.

  2. Consumable inventory: added profileId as a string, consumableId as an integer, consumableName as a string, and remaining as an integer.

  3. Heatmap locations: changed the type description to "string, e.g. City, Neighbourhood". Marked all seven location fields as required. Marked lat and lng as required in both coordinate objects.

  4. Shared agreement response: created ConsentAgreement. The subscriber-sponsored-content and vip-matchmaker GET responses now use an allOf reference to it with nullable set to true.

  5. Consent values: added HIV_COLLECT, VACCINE_COLLECT, and DOXYPEP_COLLECT to the userConsentList description as known values.

  6. Timestamps: replaced the six inline timestamp definitions with references to TimestampMs. These are createdAtPrivacyAgreement, createdAtTermsAgreement, the shared agreement's createdAt, and the subscription's createdAt, expiresAt, and lastTransactionDate.

  7. Top Picks v4: marked the GET operation as deprecated. Added the client removal note and a link to the v5 GET operation. Its agreement field now uses the shared ConsentAgreement schema with nullable set to true.

  8. Top Picks v5: moved its agreement object to ConsentAgreement. The component contains profileId, agreementType, locale, clientVersion, version, createdAt, and status. Used integer types for profileId and version, string types for agreementType, locale, and clientVersion, and TimestampMs for createdAt. The string descriptions state that they may be empty. The v5 agreement reference is not nullable.

  9. Agreement status: added ACCEPTED, REJECTED, and REVOKED to the status description.

  10. Top Picks v5 description: removed "Other agreement states are undocumented."

  11. includeDerivedOptOuts: changed the description to "boolean, true fills derivedOptOuts, optional".

  12. derivedOptOuts: changed the description to "object keyed by derived opt-out type, empty unless includeDerivedOptOuts is true; known key: PREMIUM_AI_OPT_OUT".

  13. optInResponded: removed its description and set additionalProperties to true.

  14. Offers: created a shared Offer schema and used it for the eligible offer items and GET /v2/offers. Added offerType, offerProductSku, baseProductSku, offerDurationMs, roleName, and subscriptionDuration. Added optional expirationEpochMs and offerUuid. Listed WINBACK, INTRODUCTORY, UPGRADE, LOYALTY_UNLIMITED, and LOYALTY_UPGRADE as offerType values. The baseProductSku description states that it may be empty.

  15. No current offer: changed the GET /v2/offers 204 description to "No current offer."

  16. Catalog references: replaced the five unnecessary allOf wrappers with direct StoreProductCatalog or ShopProductCatalog references. Removed the x-original-type fields carried by those wrappers.

  17. Deprecated store descriptions: removed the added catalog descriptions from the deprecated store and profile-drawer routes. Kept main's client removal notes and updated their shop links. Removed the claim that product fields vary by account.

  18. Explore and profile-drawer shop descriptions: removed the descriptions that repeated the product and purchaseAllowed structure and claimed that product fields vary by account. Both routes now use ShopProductCatalog directly.

  19. Product lookup summary: changed it to "Get store product by ID".

  20. Store products by category: removed the added description that limited the documented shape to the store category. Kept main's removal note. The response uses StoreProductCatalog.

  21. Obsolete product lookup: removed the 404 response and marked the operation as deprecated. Added "Removed in the official Android client between v25.20.0 and v26.9.2."

  22. Subscription status: added PENDING, VERIFIED, DISABLED, and EXPIRED to the description.

  23. Age verification methods: changed the array items to strings. Added FACE_RECOGNITION and DOCUMENT_VERIFICATION to the description.

  24. Picture and video allowances: removed "Reported" from the descriptions on all three routes. The descriptions now read "integer, total allowance" and "integer, remaining allowance".

  25. Store and profile sections: added section_header, active_subscription_row, card_carousel, callout_row, list_row, spacer, divider, and micros_section to the section type description. Added upgrade_card to the card type description. Removed the section description that the generator does not render.

  26. Appeal lookup: removed the 400 response content and example. The description now states that an unbanned account receives urn:gr:err:parameter with parameterName set to validation.

  27. Product details: replaced the empty items schema with vendorProductId, topBenefits, features, and includedFeatures. Each topBenefits item has title, iconId, and subtitle. The title and subtitle objects have textId and quantity. The features and includedFeatures items are strings. Did not mark the nested fields as required because the empty captures do not establish that requirement.

  28. Products-with-details description: removed the store-only description and the claim that other categories are undocumented. The products field uses ShopProductCatalog, and productDetails now has an item schema.

  29. Hookup-intent response: restored the 204 description to "No hookup intent post." The GET operation now matches main and is no longer part of the diff.

  30. Product offer expiry: added offerExpiresAt as a nullable integer. Kept it optional and documented that it is sent by /v3/store/googleplay/products/store and the shop routes.

  31. Product interval and type: added YEAR and listed MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR in the interval description. Listed SUBSCRIPTION_PLAN and ONE_TIME_PURCHASE in the type description.

  32. Strike-through price SKU: changed strikeThroughPriceSku to a nullable string.

  33. Store-only catalog fields: documented that rewards and defaultSelectionDuration are only sent by /v3/store/googleplay/products/store and may be absent. Kept both fields out of StoreProductCatalog's required list.

  34. Default selection duration: changed defaultSelectionDuration to a nullable string in both StoreProductCatalog and ShopProductCatalog.

**Main review points** 1. Rebased the branch onto main. Kept main's RightNowMediaUploadResponse, RightNowPostDetails, and RightNowPostResponse schemas. Added the new components after main's schemas. Kept the three store removal notes. There are no duplicate JSON keys. 2. Added ShopProductCatalog as the response schema for GET /v1/shop/googleplay/products/store. 3. Added response required lists for the fields present in every capture. Kept fields optional where they can be absent. The catalog components now distinguish required fields from optional fields. 4. Removed all 28 example and examples blocks added by this PR. Put useful known values in field descriptions. 5. Changed field descriptions to lowercase type phrases without a final period. Used "Item structure is undocumented." for unknown array items. Removed descriptions from null-only fields. Used "e.g." and value lists where appropriate. 6. Removed x-wip from the fully typed active routes and added session security. Kept x-wip on the three deprecated store routes, GET /v4/legal-agreements/top-picks, GET /v4/store/products/{productId}, GET /v2/offers, and GET /v1/decision-appeal. Updated the three store removal links to use the shop anchors without the -wip suffix. 7. Put response content before description. Put operation summary and description before x-wip. 8. Folded commits 0152d88d0 and 2b5cd2511 into the topic commits. The branch now has nine commits, each with a one-line message. The PR description still lists GET /v3/rightnow/active-post. Removing that line is pending because the API credential has expired. **Inline review points** The points below follow the order of the inline comments in the review as pasted here. 1. Boost sessions: replaced the empty items schema with an object containing boostSessionId, profileId, startTime, endTime, chatsCount, tapsCount, viewsCount, and isPaused. Added nullable boostProductType, minAge, maxAge, positionPreferences, and geohash. Did not add a status field. 2. Consumable inventory: added profileId as a string, consumableId as an integer, consumableName as a string, and remaining as an integer. 3. Heatmap locations: changed the type description to "string, e.g. `City`, `Neighbourhood`". Marked all seven location fields as required. Marked lat and lng as required in both coordinate objects. 4. Shared agreement response: created ConsentAgreement. The subscriber-sponsored-content and vip-matchmaker GET responses now use an allOf reference to it with nullable set to true. 5. Consent values: added HIV_COLLECT, VACCINE_COLLECT, and DOXYPEP_COLLECT to the userConsentList description as known values. 6. Timestamps: replaced the six inline timestamp definitions with references to TimestampMs. These are createdAtPrivacyAgreement, createdAtTermsAgreement, the shared agreement's createdAt, and the subscription's createdAt, expiresAt, and lastTransactionDate. 7. Top Picks v4: marked the GET operation as deprecated. Added the client removal note and a link to the v5 GET operation. Its agreement field now uses the shared ConsentAgreement schema with nullable set to true. 8. Top Picks v5: moved its agreement object to ConsentAgreement. The component contains profileId, agreementType, locale, clientVersion, version, createdAt, and status. Used integer types for profileId and version, string types for agreementType, locale, and clientVersion, and TimestampMs for createdAt. The string descriptions state that they may be empty. The v5 agreement reference is not nullable. 9. Agreement status: added ACCEPTED, REJECTED, and REVOKED to the status description. 10. Top Picks v5 description: removed "Other agreement states are undocumented." 11. includeDerivedOptOuts: changed the description to "boolean, `true` fills `derivedOptOuts`, optional". 12. derivedOptOuts: changed the description to "object keyed by derived opt-out type, empty unless `includeDerivedOptOuts` is `true`; known key: `PREMIUM_AI_OPT_OUT`". 13. optInResponded: removed its description and set additionalProperties to true. 14. Offers: created a shared Offer schema and used it for the eligible offer items and GET /v2/offers. Added offerType, offerProductSku, baseProductSku, offerDurationMs, roleName, and subscriptionDuration. Added optional expirationEpochMs and offerUuid. Listed WINBACK, INTRODUCTORY, UPGRADE, LOYALTY_UNLIMITED, and LOYALTY_UPGRADE as offerType values. The baseProductSku description states that it may be empty. 15. No current offer: changed the GET /v2/offers 204 description to "No current offer." 16. Catalog references: replaced the five unnecessary allOf wrappers with direct StoreProductCatalog or ShopProductCatalog references. Removed the x-original-type fields carried by those wrappers. 17. Deprecated store descriptions: removed the added catalog descriptions from the deprecated store and profile-drawer routes. Kept main's client removal notes and updated their shop links. Removed the claim that product fields vary by account. 18. Explore and profile-drawer shop descriptions: removed the descriptions that repeated the product and purchaseAllowed structure and claimed that product fields vary by account. Both routes now use ShopProductCatalog directly. 19. Product lookup summary: changed it to "Get store product by ID". 20. Store products by category: removed the added description that limited the documented shape to the store category. Kept main's removal note. The response uses StoreProductCatalog. 21. Obsolete product lookup: removed the 404 response and marked the operation as deprecated. Added "Removed in the official Android client between v25.20.0 and v26.9.2." 22. Subscription status: added PENDING, VERIFIED, DISABLED, and EXPIRED to the description. 23. Age verification methods: changed the array items to strings. Added FACE_RECOGNITION and DOCUMENT_VERIFICATION to the description. 24. Picture and video allowances: removed "Reported" from the descriptions on all three routes. The descriptions now read "integer, total allowance" and "integer, remaining allowance". 25. Store and profile sections: added section_header, active_subscription_row, card_carousel, callout_row, list_row, spacer, divider, and micros_section to the section type description. Added upgrade_card to the card type description. Removed the section description that the generator does not render. 26. Appeal lookup: removed the 400 response content and example. The description now states that an unbanned account receives urn:gr:err:parameter with parameterName set to validation. 27. Product details: replaced the empty items schema with vendorProductId, topBenefits, features, and includedFeatures. Each topBenefits item has title, iconId, and subtitle. The title and subtitle objects have textId and quantity. The features and includedFeatures items are strings. Did not mark the nested fields as required because the empty captures do not establish that requirement. 28. Products-with-details description: removed the store-only description and the claim that other categories are undocumented. The products field uses ShopProductCatalog, and productDetails now has an item schema. 29. Hookup-intent response: restored the 204 description to "No hookup intent post." The GET operation now matches main and is no longer part of the diff. 30. Product offer expiry: added offerExpiresAt as a nullable integer. Kept it optional and documented that it is sent by /v3/store/googleplay/products/store and the shop routes. 31. Product interval and type: added YEAR and listed MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR in the interval description. Listed SUBSCRIPTION_PLAN and ONE_TIME_PURCHASE in the type description. 32. Strike-through price SKU: changed strikeThroughPriceSku to a nullable string. 33. Store-only catalog fields: documented that rewards and defaultSelectionDuration are only sent by /v3/store/googleplay/products/store and may be absent. Kept both fields out of StoreProductCatalog's required list. 34. Default selection duration: changed defaultSelectionDuration to a nullable string in both StoreProductCatalog and ShopProductCatalog.
claude left a comment

Remove GET /v3/rightnow/active-post and GET /v1/hookup-intent/post from the PR description; the PR no longer changes them.

Remove `GET /v3/rightnow/active-post` and `GET /v1/hookup-intent/post` from the PR description; the PR no longer changes them.
@ -867,0 +873,4 @@
"type": "array",
"items": {
"type": "object",
"required": [
First-time contributor

Drop this required: no capture has items, and the client requires only boostSessionId, profileId and startTime. The first two are strings in the client model.

Drop this `required`: no capture has items, and the client requires only `boostSessionId`, `profileId` and `startTime`. The first two are strings in the client model.
Author
Contributor

Removed the required list from boost session items. Changed boostSessionId and profileId to strings. The boostSessions response field remains required.

Removed the required list from boost session items. Changed boostSessionId and profileId to strings. The boostSessions response field remains required.
Enucatl marked this conversation as resolved
@ -1035,0 +1117,4 @@
"type": "array",
"items": {
"type": "object",
"required": [
First-time contributor

Drop this required: no capture has items, and the client requires none of the 4 fields.

Drop this `required`: no capture has items, and the client requires none of the 4 fields.
Author
Contributor

Removed the required list from consumable items. All four item fields are now optional. The consumables response field remains required.

Removed the required list from consumable items. All four item fields are now optional. The consumables response field remains required.
Enucatl marked this conversation as resolved
@ -3625,0 +4091,4 @@
"type": "boolean"
}
},
"required": [
First-time contributor

If this list comes from a single subscription, drop it; fields seen in one capture stay optional.

If this list comes from a single subscription, drop it; fields seen in one capture stay optional.
Author
Contributor

Removed the required list from subscription items. Each item field is now optional. The subscriptions response field remains required.

Removed the required list from subscription items. Each item field is now optional. The subscriptions response field remains required.
Enucatl marked this conversation as resolved
@ -4186,0 +4712,4 @@
}
},
"x-original-type": "AgeVerificationOptionsResponse",
"required": [
First-time contributor

Add faceTecConfig: it was present live, and the client requires it.

Add `faceTecConfig`: it was present live, and the client requires it.
Author
Contributor

Added faceTecConfig to the required list for the age verification response.

Added faceTecConfig to the required list for the age verification response.
Enucatl marked this conversation as resolved
@ -24933,0 +25757,4 @@
"roleName": {
"type": "string"
},
"subscriptionDuration": {
First-time contributor

integer: the client declares int, and live returns a number.

`integer`: the client declares `int`, and live returns a number.
Author
Contributor

Changed subscriptionDuration to integer in the shared Offer schema. This fixes both /v2/offers and /v2/offers/eligible.

Changed subscriptionDuration to integer in the shared Offer schema. This fixes both /v2/offers and /v2/offers/eligible.
Enucatl marked this conversation as resolved
@ -24933,0 +25944,4 @@
"profileId": {
"type": "integer"
},
"agreementType": {
First-time contributor

"string, e.g. TOP_PICKS"; only locale and clientVersion were empty live.

"string, e.g. `TOP_PICKS`"; only `locale` and `clientVersion` were empty live.
Author
Contributor

Changed the agreementType description to "string, e.g. TOP_PICKS". In ConsentAgreement, only locale and clientVersion keep the "may be empty" description.

Changed the agreementType description to "string, e.g. `TOP_PICKS`". In ConsentAgreement, only locale and clientVersion keep the "may be empty" description.
Enucatl marked this conversation as resolved
Enucatl force-pushed docs/api from 294a394253
Some checks failed
ci-orchestrator / provision running on cx23 in nbg1
audit / audit (pull_request) Failing after 14s
credits / credits (pull_request) Successful in 2m51s
check / check (pull_request) Failing after 23m32s
to a999ccf6b2
Some checks failed
ci-orchestrator / provision running on cpx32 in fsn1
check / check (pull_request) Failing after 22m56s
2026-10-27 19:52:20 +01:00
Compare
hloth approved these changes 2026-10-28 00:28:31 +01:00
hloth manually merged commit d61c9da66c into main 2026-10-28 00:29:29 +01:00
Sign in to join this conversation.
No description provided.