Create document (file)
documentedCreate a new document by uploading a PDF/file.
POST /document/file.jsonDocumentno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.yumpu.com/2.0/document/file.json" \
-X POST \
-H "X-ACCESS-TOKEN: {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: multipart/form-data" \
-F "file=@{{$file_path}}" \
-F "title={{$title}}" \
-F "description={{$description}}" \
-F "category={{$category}}" \
-F "language={{$language}}" \
-F "tags={{$tags}}" \
-F "visibility={{$visibility}}"