download-media

Method: GET POST
Version: v1
Return recipe media data. This method requires a special agreement.

Table of contents

# Params

Params Default Description
id
Required
integer
 
recipe id

# Headers

Authorization: Bearer {YOUR-JWT-TOKEN}

# Request

Ein Beispiel für die Erstellung eines JWT Tokens findest du hier: https://developer.cookbutler.com#jwt-token-sample

curl -X GET https://api.cookbutler.com/v1/recipes/download-media -H "Authorization: Bearer {YOUR-JWT-TOKEN}"

# Response

{ "status": "ok", "data": { "filename": "11207_101.jpg", "mimetype": "image\/jpeg", "filesize": 1136439, "width": 2244, "height": 2244, "copyright": "cookbutler.com \/ Source", "url": "{DOWNLOAD-URL}" } }