ReferenceTransfer
/api/v1/import
Import recipes from an export zip (at most 1 GiB)
POST
/api/v1/importrezepte_session<token>
Session cookie set by POST /api/v1/auth/login.
In: cookie
Request Body
application/zip
TypeScript Definitions
Use the request body type in TypeScript.
body*file
Format
binaryResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/v1/import" \ -H "Content-Type: application/zip" \ -d 'string'{ "$schema": "https://example.com/api/v1/schemas/ImportOutputBody.json", "created": [ { "id": "string", "slug": "string", "title": "string" } ]}