Post file
Create a new document - file
Parameters
Note: Requests must be multipart/form-data encoded.
Name
Optional / Required
Data type
Description
Default
file
required
String
File data. Max. file size is 600 MB.
title
required
String
A title for your document. Min. length 5 characters, max. length 255 characters
description
optional
String
A description for your document. Min. length 5 characters, max. length 2500 characters
tags
optional
String
A list of words seperated by comma (house,garden,balcony). Min. length 3 characters, max. length 30 characters. Allowed characters a-z and a space.
Autogenerated by tag service
visibility
optional
String
public, private, rprotected, pprotected, dprotected, webkiosk, appkiosk or webappkiosk (rprotected = protected by referrer, pprotected = protected by password, dprotected = protected by domain(s))
public
rendering_type
optional
String
Rendering method used for the document in our engine. It can be instant or html.
instant
domains
optional
String
A list of domains seperated by a comma (Note: Visibility must be set to dprotected) Examples: yumpu.com, blog.yumpu.com, developers.yumpu.com yumpu.com
validity
optional
String
Valid from and / or valid until Examples: 2013-10-01T00:00:00-2013-10-30T23:59:59 (valid from 2013-10-01 00:00:00, valid until 2013-10-30 23:59:59) 2013-10-01T00:00:00- (valid from 2013-10-01 00:00:00-) -2013-10-30T23:59:59 (valid until -2013-10-30 23:59:59)
blurred
optional
String
Page numbers seperated by comma. Examples: 1-2, 5-9, 11-
page_teaser_image
optional
String
Image data The image must be less than 2 MB in size. Allowed mime types are image/gif, image/jpeg, image/pjpeg, image/png and image/x-png. The image will be resized to fit in the page dimensions (of your magazine). Note: If you use page_teaser_image, the parameters page_teaser_page_range and page_teaser_url are required.
page_teaser_page_range
optional
String
Page numbers seperated by comma. Examples: 1-2, 5-9, 11-
page_teaser_url
optional
String
A valid URL. Examples: http://www.yumpu.com/en
downloadable
optional
String
Allow users to download your source pdf file. y or n
n
detect_elements
optional
String
Detect elements automatically? y or n
y
recommended_magazines
optional
String
Show recommended magazines on Yumpu? y or n
y
social_sharing
optional
String
Show social sharing buttons on Yumpu. y or n
y
site_pageview
optional
String
Show document in single or double pageview. double or single
double
player_social_sharing
optional
String
Show social sharing buttons in Yumpu Player. y or n
y
player_download_pdf
optional
String
Show button "download pdf" in Yumpu Player. y or n
n
player_print_page
optional
String
Show button "print page" in Yumpu Player. y or n
n
player_branding
optional
String
Show Yumpu branding in Yumpu Player. y or n
y
player_sidebar
optional
String
Show a list of recommended documents in Yumpu Player. y or n
n
player_html5_c2r
optional
String
Activate HTML5 full screen on Yumpu. y or n
y
player_outer_shadow
optional
String
Drop shadow in Yumpu player. y or n
y
player_inner_shadow
optional
String
Shadow effects on pages. y or n
y
player_ga
optional
String
Activate Google Analytics tracking. A valid UA code from Google Analytics.
access_tags
optional
String
One or multiple access_tag ids (myid1 or myid1,myid2)
subscriptions
optional
String
One or multiple subscription ids (myid1 or myid1,myid2)
iap
optional
String
Enable In-App Purchase (y or n)
n
itc_product_id
optional
String
iTunes Product ID
Example:
Whatever language you are using, the result will be the same.
Last updated