Docs »

Records »

Types »

Attachment

Name (singular): Attachment
Name (plural): Attachments
Alias (uri): attachment
Identifier (ID): cerberusweb.contexts.attachment

Records API

These fields are available in the Records API and packages:

Req’d Field Type Notes
  attach links An array of type:id tuples to attach this file to
  content text The content of this file. For binary, base64-encode in data URI format
  links links An array of record type:id tuples to link to. Prefix with - to unlink.
  mime_type text The MIME type of this file (e.g. image/png); defaults to application/octet-stream
x name text The filename
  updated timestamp The date/time when this record was last modified

Dictionary Placeholders

These placeholders are available in dictionaries for bot behaviors, snippets, and API responses:

Field Type Description
_context text Record type extension ID
_label text Label
_type text Record type alias
download_url text Url
id number Id
mime_type text Mime Type
name text Name
size number Size (Bytes)
storage_extension text Storage Extension
storage_key text Storage Key
storage_sha1hash text Sha-1 Hash
updated date Updated

These optional placeholders are also available with key expansion in dictionaries and the API:

Field Type Description
comments comments Comments
custom_<id> mixed Custom Fields
links links Links

Search Query Fields

These filters are available in attachment search queries:

Field Type Description
bundle: record Bundle
fieldset: record Fieldset
id: number Attachment Id
links: links Record Links
mimetype: text Mime Type
name: text Name
on: text On Type
on.<type>: record On
size: number Size
storage.extension: text Storage Extension
updated: date Updated

Worklist Columns

These columns are available on attachment worklists:

Column Description
a_id Attachment Id
a_mime_type Mime Type
a_name Name
a_storage_extension Storage Extension
a_storage_key Storage Key
a_storage_profile_id Storage Profile
a_storage_sha1hash Sha-1 Hash
a_storage_size Size
a_updated Updated
cf_<id> Custom Field