|
Methods defined here:
- __init__(self)
- get = method(self, **kwargs)
- Returns blob attached to node at specified id as HTML
Args:
format: string, Sanitizing transformation.
Allowed values
html - Return valid, sanitized html.
plain - Return plain text - strip html tags.
raw - Return the entire content as-is.
maxlength: integer, The max number of characters to return. Valid only for 'plain' format.
id: string, The id of the item that you want data about (required) (repeated)
- insert = method(self, **kwargs)
- Inserts a blob in the Freebase blobstore.
Args:
lang: string, The key of a /type/lang object that will be used as the language - e.g. 'fr'
body: object, The request body. (required)
text: string, The text data you want to upload. (required)
text_encoding: string, The encoding of the content - e.g. 'utf-8'
use_permission_of: string, An id of an object that has the permissions that you want to use in the document node.
entity: string, The entity you want to upload a description about.
content: string, An id of a /type/content object that should be the last content attached to the document node specified. This is a consistency check and will make sure that the content has not changed since the request was created. The document parameter must also be passed if this is present.
media_type: string, The mime content type of the text you are uploading - e.g. text/plain (required)
document: string, An id of a /common/document object that you'd like to attach this content.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|