Files
onspring-api-docs/src/docs/version_002/resources/files/copy.md
T

62 lines
966 B
Markdown
Raw Normal View History

2023-04-17 23:17:45 -05:00
# Files {% #files %}
Files represent the information held in `Attachment` and `Image` fields. The Onspring API can be used to retrieve the information about files and to the files themselves. The Onspring API can also be used to add and remove files to and from `Attachment` and `Image` fields.
## File Information Properties {% #file-information-properties %}
{% table %}
- Property Name
- Data Type
- Description
---
- type
- `string`
- The type of the file. This will be either `Attachment` or `Image`.
---
- contentType
- `string`
- The MIME type of the file.
---
- name
- `string`
- The name of the file.
---
- createdDate
- `string`
- The date and time the file was created.
---
- modifiedDate
- `string`
- The date and time the file was last modified.
---
- owner
- `string`
- The id of the user who owns the file.
---
- notes
- `string`
- The notes associated with the file.
---
- fileHref
- `string`
- The URL of the file.
{% /table %}