document

Returns information about a document.

Usage

https://www.geni.com/api/document-339953

Parameters

Name Type Description Required
fields Array of Strings You can pass a list of fields you want returned in your call. For example, to get just the title of a document: https://www.geni.com/api/document-339953?fields=title. false
ids Array of Strings You can select a group of documents on specific urls. For example: https://www.geni.com/api/document?ids=101,31534,145 returns document data for all three ids. false

Returned Fields

Name Type Description
attribution String The document's attribution
content_type String The document's original content type
created_at String Timestamp of when the document was created
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
location Location The document's location
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
tags Array of Strings URLs (or ids) of profiles tagged in the document
title String The document's title
updated_at String Timestamp of when the document was last updated
url String The api url of the document
Note: Blank fields will not be returned to save bandwidth.

rails-1a-000