OBJECT

Model

# GraphQL Schema definition

1type Model implements PropertiesInterface, HasModelsInterface {
 
2# timestamp of when the record was created, automatically generated by the system
3created_at: JSONDate!
 
4# timestamp of when the record was soft delete, populated by delete action. It is
5# also possible to manually set it via update. To undelete change it back to empty
6# value, but please note that associated records would need to be manually
7# undeleted as well.
8deleted_at: JSONDate
 
9# Used mainly for import/export, if you want to use third party service as a
10# source of truth
11external_id: ID
 
12# ID of an object.
13id: ID
 
14# List of all properties assigned to the object.
15properties: HashObject
 
16# Fetch any property by name and return value as a String; ex: hair_color:
17# property(name: "hair_color")
18#
19# Arguments
20# name: [Not documented]
21property(name: String!): String
 
22# Fetch any property by name and return value as an Array of Strings. ex:
23# todo_list: property_array(name: "todo_list")
24#
25# Arguments
26# name: [Not documented]
27property_array(name: String!): [String!]
 
28# Fetch any property by name and return value as a Boolean; ex: price:
29# property_boolean(name: "enabled")
30#
31# Arguments
32# name: [Not documented]
33property_boolean(name: String!): Boolean
 
34# Fetch any property by name and return value as a Float; ex: price:
35# property_float(name: "price")
36#
37# Arguments
38# name: [Not documented]
39property_float(name: String!): Float
 
40# Fetch any property by name and return value as an Integer; ex: age:
41# property_int(name: "age")
42#
43# Arguments
44# name: [Not documented]
45property_int(name: String!): Int
 
46# Fetch any property by name and return value as a JSON string.
47#
48# Arguments
49# name: [Not documented]
50property_json(name: String!): JSONPayload
 
51# Fetch any property by name, parse it as a JSON and return object
52#
53# Arguments
54# name: [Not documented]
55property_object(name: String!): HashObject
 
56# Fetch any property by name and returns upload details
57#
58# Arguments
59# expires_in: Defines the number of seconds for which the
60# generated url will be accessible. Must be set if acl was set to private
61# name: [Not documented]
62property_upload(expires_in: Int, name: String!): PropertyUpload
 
63# Defines relation with other user; ex: invited_by: related_user(join_on_property:
64# "invited_by_id") { id }
65#
66# Arguments
67# filter: [Not documented]
68# foreign_property: Load resources with foreign_property ==
69# join_on_property
70# join_on_property:
71# sort: [Not documented]
72related_user(
73filter: ModelsFilterInput,
74foreign_property: String,
75join_on_property: String,
76sort: [UsersSortInput!]
77): User
 
78# Defines has-many relation with other user; ex: children: users(join_on_property:
79# "parent_id", foreign_property: "parent_id") { id }
80#
81# Arguments
82# filter: [Not documented]
83# foreign_property: Load resources with foreign_property ==
84# join_on_property
85# join_on_property: Load resources with foreign_property ==
86# join_on_property
87# limit: [Not documented]
88# sort: [Not documented]
89related_users(
90filter: ModelsFilterInput,
91foreign_property: String!,
92join_on_property: String!,
93limit: Int,
94sort: [UsersSortInput!]
95): [User!]
 
96# Name of the Table to which it belongs
97table: String
 
98# ID of the Table to which it belongs
99table_id: ID!
 
100# timestamp of when the record was updated, automatically generated by the system
101updated_at: JSONDate!
 
102# Id of the User who created and owns the Model
103user_id: ID
 
104}

# Required by