INPUT_OBJECT

CustomAttachmentInputType

# GraphQL Schema definition

1input CustomAttachmentInputType {
6
2# attribute of type file with which the created attachment should be associated -
3# must be defined in the schema of the record, for example CustomModelType for
4# Customization, InstanceProfileType for UserProfile or user.yml for User
5custom_attribute_name: String!
9
7# URL to image that was uploaded to s3 presigned url
8direct_url: String
13
10# allows you to create attachment with your own content; useful for generating
11# reports, pdf, csv etc
12generate_file: ProcessStrategyInputType
16
14# id of associated record - Model, UserProfile, User
15owner_id: ID!
19
17# class of associated record - Model, UserProfile, User
18owner_type: String!
22
20# deprecated, ignore
21page_slug: String
25
23# create attachment based on a file available on remote location
24raw_remote_file_url: String
28
26# id of a user who uploads the attachment
27uploader_id: ID
29}

# Required by