Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl --compressed -X POST -H "Content-Type: application/json" -H "X-APOLLO-OPERATION-ID: 92248a5380c2187f3f8e1afd3fe4ff23870470614bfbcb4e1408330aba1efb41" -H "X-APOLLO-OPERATION-NAME: searchRecipesByName" -H "X-APOLLO-CACHE-KEY: ed524dd81d938068ec7ed13a3e92c537" -H "X-APOLLO-CACHE-FETCH-STRATEGY: NETWORK_ONLY" -H "X-APOLLO-EXPIRE-TIMEOUT: 0" -H "X-APOLLO-EXPIRE-AFTER-READ: false" -H "X-APOLLO-PREFETCH: false" -H "X-APOLLO-CACHE-DO-NOT-STORE: false" -H "Accept: application/json" -H "Accept-Language: RU" -H "User-Agent: com.redmond 2.1.6-dev 1120 (Android 28)" -d '{"operationName":"searchRecipesByName","variables":{"vendors":[1],"searchString":"%осьми%","locale":"ru","limit":10,"offset":0},"query":"query searchRecipesByName($deviceId: Int, $vendors: [Int!], $searchString: String!, $locale: String!, $limit: Int!, $offset: Int!) { recipe(order_by: [{view_count: desc}], where: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}, name: {_ilike: $searchString}}, recipe_descriptions: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}}, vendor_id: {_in: $vendors}, devices: {device_id: {_eq: $deviceId}}}}, offset: $offset, limit: $limit) { __typename ...recipe recipe_descriptions(limit: 1, where: {state: {_eq: \"available\"}, translatable_fields: {locale: {_eq: $locale}}, vendor_id: {_in: $vendors}, devices: {device_id: {_eq: $deviceId}}}) { __typename ...recipeDescriptionShort } } } fragment recipe on recipe { __typename id image_id view_count translatable_fields(where: {locale: {_eq: $locale}}) { __typename name } } fragment recipeDescriptionShort on recipe_description { __typename id servings_num energy cooktime }"}' "https://content.dev.readyforsky.com/v1/graphql" -L -g -k -v | python3 -m json.tool
- {
- "data": {
- "recipe": [
- {
- "__typename": "recipe",
- "id": 21900,
- "image_id": "5ZqlkxLIxX275luaFu0vNKWHV8iwA3At",
- "view_count": 0,
- "translatable_fields": [
- {
- "__typename": "translate_recipe",
- "name": "\u041e\u0441\u044c\u043c\u0438\u043d\u043e\u0433\u0438 \u043d\u0430 \u0433\u0440\u0438\u043b\u0435"
- }
- ],
- "recipe_descriptions": [
- {
- "__typename": "recipe_description",
- "id": 50423,
- "servings_num": 2,
- "energy": 268,
- "cooktime": 480
- }
- ]
- }
- ]
- }
- }
- https://image.readyforsky.com/i/5ZqlkxLIxX275luaFu0vNKWHV8iwA3At/50x50.webp
RAW Paste Data