OBJECT
Customization
# GraphQL Schema definition
1 type Customization implements PropertiesInterface, LegacyCustomAttributeInterface, ListingsMetadata, RemoteModelInterface, RelationOnDemandInterface { 2 # timestamp of when the record was created, automatically generated by the system 3 JSONDate : 4 Customizable : 5 # id of a parent, which can other customization, user profile or user 6 ID : 7 # class of a parent - Customization, User or UserProfile 8 String : 9 # timestamp of when the record was soft delete, populated by delete action. It is 10 # also possible to manually set it via update. To undelete change it back to empty 11 # value, but please note that associated records would need to be manually 12 # undeleted as well. 13 JSONDate : 14 # Used mainly for import/export, if you want to use third party service as a 15 # source of truth 16 ID : 17 String : 18 ID : 19 String : 20 # List of all properties assigned to the object. 21 HashObject : 22 # Fetch any property by name and return value as a String; ex: hair_color: 23 # property(name: "hair_color") 24 # 25 # Arguments 26 # name: [Not documented] 27 String!): String ( : 28 # Fetch any property by name and return value as an Array of Strings. ex: 29 # todo_list: property_array(name: "todo_list") 30 # 31 # Arguments 32 # name: [Not documented] 33 String!): [String!] ( : 34 # Fetch any property by name and return value as a Boolean; ex: price: 35 # property_boolean(name: "enabled") 36 # 37 # Arguments 38 # name: [Not documented] 39 String!): Boolean ( : 40 # Fetch any property by name and return value as a Float; ex: price: 41 # property_float(name: "price") 42 # 43 # Arguments 44 # name: [Not documented] 45 String!): Float ( : 46 # Fetch any property by name and return value as an Integer; ex: age: 47 # property_int(name: "age") 48 # 49 # Arguments 50 # name: [Not documented] 51 String!): Int ( : 52 # Fetch any property by name and return value as a JSON. 53 # 54 # Arguments 55 # name: [Not documented] 56 String!): JSONPayload ( : 57 # Fetch any property by name and returns upload details 58 # 59 # Arguments 60 # expires_in: Defines the number of seconds for which the 61 # generated url will be accessible. Must be set if acl was set to private 62 # name: [Not documented] 63 Int, : String!): PropertyUpload ( : 64 # Defines belongs-to relation with other model; ex: parent: model(model_name: 65 # "parent", join_on_property: "parent_id") { id } 66 # 67 # Arguments 68 # foreign_property: Load resources with foreign_property == 69 # join_on_property 70 # join_on_property: Load remote resource with id == 71 # join_on_property 72 # model_schema_name: Joins model [formaly customization] with 73 # custom-model-type-name == model_name 74 ( 75 String, : 76 String, : 77 String : 78 ): ListingsCustomization 79 # Defines has-many relation with other model, returns maximum of 10000 records at 80 # once; ex: children: models(model_name: "child", join_on_property: "parent_id", 81 # foreign_property: "parent_id") { id } 82 # 83 # Arguments 84 # foreign_property: Load resources with foreign_property == 85 # join_on_property 86 # join_on_property: Load resources with foreign_property == 87 # join_on_property 88 # model_schema_name: Joins model [formaly customization] with 89 # custom-model-type-name == model_name 90 ( 91 String!, : 92 String!, : 93 String] : [ 94 ): [ListingsCustomization!] 95 # Defines relation with other user, returns maximum of 10000 records at once; ex: 96 # invited_by: user(join_on_property: "invited_by_id") { id } 97 # 98 # Arguments 99 # foreign_property: [Not documented] 100 # join_on_property: [Not documented] 101 String, : String): User ( : 102 # Defines relation object accessible over HTTP in JSON collection identified by 103 # it's ID. 104 # 105 # Arguments 106 # endpoint: Endpoint that will return resources for given ids in 107 # json format 108 # join_on_property: Load remote resource with id == 109 # join_on_property 110 Endpoint!, : String!): Customization ( : 111 # timestamp of when the record was updated, automatically generated by the system 112 JSONDate : 113 ID : 114 }