Skip to content

import_recipes

API routes for importing recipes from external sources.

ParsedInstagramResponse

Response from the Instagram parse endpoint.

parse_instagram

parse_instagram(
    payload: InstagramResponse, _user_id: UUID, service: RecipeImportService
) -> ParsedInstagramResponse

Parse Instagram JSON into recipe data for user review.

Returns parsed recipes with image URLs for the frontend to fetch directly. The frontend can display these for editing, then use POST /recipes/batch and POST /images to persist them.