profile/add-document

Adds a document and tags the profile in it

Usage

Requires POST.

https://www.geni.com/api/profile-14829724/add-document

Parameters

Name Type Description Required
date Date The document's date in JSON form false
description String The document's description false
file String Base64 encoded file to create document from false
labels String The document's comma separated labels false
source_url String Source URL for the document false
text String Text to create document from false
title String The document's title true

Returned Fields

Name Type Description
content_type String The document's original content type
created_on String The document's creation date
date Date The document's date
description String The document's description
guid String The old GUID
id String The document's id
labels Array of Strings The document's labels in a comma separated list
page_count Number Number of pages in the document
sizes DocumentImageSizeMap URLs to the document's sizes
source_url String Source URL for the document
title String The document's title
url String The api url of the document
Note: Blank fields will not be returned to save bandwidth.

app016