Rezepte
ReferenceTransfer

/api/v1/import

Import recipes from an export zip (at most 1 GiB)

POST/api/v1/import
rezepte_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
Formatbinary

Response 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"    }  ]}