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 string. 53 # 54 # Arguments 55 # name: [Not documented] 56 String!): JSONPayload ( : 57 # Fetch any property by name, parse it as a JSON and return object 58 # 59 # Arguments 60 # name: [Not documented] 61 String!): HashObject ( : 62 # Fetch any property by name and returns upload details 63 # 64 # Arguments 65 # expires_in: Defines the number of seconds for which the 66 # generated url will be accessible. Must be set if acl was set to private 67 # name: [Not documented] 68 Int, : String!): PropertyUpload ( : 69 # Defines belongs-to relation with other model; ex: parent: model(model_name: 70 # "parent", join_on_property: "parent_id") { id } 71 # 72 # Arguments 73 # foreign_property: Load resources with foreign_property == 74 # join_on_property 75 # join_on_property: Load remote resource with id == 76 # join_on_property 77 # model_schema_name: Joins model [formaly customization] with 78 # custom-model-type-name == model_name 79 ( 80 String, : 81 String, : 82 String : 83 ): ListingsCustomization 84 # Defines has-many relation with other model, returns maximum of 10000 records at 85 # once; ex: children: models(model_name: "child", join_on_property: "parent_id", 86 # foreign_property: "parent_id") { id } 87 # 88 # Arguments 89 # foreign_property: Load resources with foreign_property == 90 # join_on_property 91 # join_on_property: Load resources with foreign_property == 92 # join_on_property 93 # model_schema_name: Joins model [formaly customization] with 94 # custom-model-type-name == model_name 95 ( 96 String!, : 97 String!, : 98 String] : [ 99 ): [ListingsCustomization!] 100 # Defines relation with other user, returns maximum of 10000 records at once; ex: 101 # invited_by: user(join_on_property: "invited_by_id") { id } 102 # 103 # Arguments 104 # foreign_property: [Not documented] 105 # join_on_property: [Not documented] 106 String, : String): User ( : 107 # Defines relation object accessible over HTTP in JSON collection identified by 108 # it's ID. 109 # 110 # Arguments 111 # endpoint: Endpoint that will return resources for given ids in 112 # json format 113 # join_on_property: Load remote resource with id == 114 # join_on_property 115 Endpoint!, : String!): Customization ( : 116 # timestamp of when the record was updated, automatically generated by the system 117 JSONDate : 118 ID : 119 }