@DEVFREY - Here's a bit of it. You'll see that the root level is just key / value pairs, then when it gets to the thumbnail property (which is another API Resource), it shows everything:
array:6 [
0 => array:16 [
"id" => 1
"title" => "Test"
"subtitle" => "Lorem ipsum dolor sit amet con",
"thumbnail" => ImageResource {#1897
+resource: Image {#846
+with: array:3 [
0 => "urls"
1 => "filters"
2 => "metadata"
]
#fillable: array:4 [
0 => "original_name"
1 => "date"
2 => "date_string"
3 => "weight"
]
+translatable: array:1 [
0 => "date_string"
]
#touches: array:1 [
0 => "galleries"
]
#connection: "mysql"
#table: "images"
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#withCount: []
#perPage: 15
+exists: true
+wasRecentlyCreated: false
#attributes: array:9 [
"id" => 1
"original_name" => "b-tor2016.jpg"
"date" => null
"date_string" => null
"weight" => null
"created_by" => null
"updated_by" => null
"created_at" => "2019-02-18 09:47:50"
"updated_at" => "2019-02-18 09:47:53"
]
#original: array:9 [
"id" => 1
"original_name" => "b-tor2016.jpg"
"date" => null
"date_string" => null
"weight" => null
"created_by" => null
"updated_by" => null
"created_at" => "2019-02-18 09:47:50"
"updated_at" => "2019-02-18 09:47:53"
]
#changes: []
#casts: []
#dates: []
#dateFormat: null
#appends: []
#dispatchesEvents: []
#observables: []
#relations: array:3 [
"urls" => Collection {#874
#items: array:3 [
0 => ImageUrl {#901
#fillable: array:5 [ …5]
#connection: "mysql"
#table: "image_urls"
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#with: []
#withCount: []
#perPage: 15
+exists: true
+wasRecentlyCreated: false
#attributes: array:8 [ …8]
#original: array:8 [ …8]
#changes: []
#casts: []
#dates: []
#dateFormat: null
#appends: []
#dispatchesEvents: []
#observables: []
#relations: []
#touches: []
+timestamps: true
#hidden: []
#visible: []
#guarded: array:1 [ …1]
}
1 => ImageUrl {#902
#fillable: array:5 [ …5]
#connection: "mysql"
#table: "image_urls"
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#with: []
#withCount: []
#perPage: 15
+exists: true
+wasRecentlyCreated: false
#attributes: array:8 [ …8]
#original: array:8 [ …8]
#changes: []
#casts: []
#dates: []
#dateFormat: null
#appends: []
#dispatchesEvents: []
#observables: []
#relations: []
#touches: []
+timestamps: true
#hidden: []
#visible: []
#guarded: array:1 [ …1]
}
2 => ImageUrl {#903
#fillable: array:5 [ …5]
#connection: "mysql"
#table: "image_urls"
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#with: []
#withCount: []
#perPage: 15
+exists: true
+wasRecentlyCreated: false
#attributes: array:8 [ …8]
#original: array:8 [ …8]
#changes: []
#casts: []
#dates: []
#dateFormat: null
#appends: []
#dispatchesEvents: []
#observables: []
#relations: []
#touches: []
+timestamps: true
#hidden: []
#visible: []
#guarded: array:1 [ …1]
}
]
}
"filters" => Collection {#806
#items: []
}
"metadata" => Metadata {#970
#table: "content_metadata"
+translatable: array:2 [
0 => "title"
1 => "description"
]
#fillable: array:6 [
0 => "title"
1 => "description"
2 => "author"
3 => "copyright"
4 => "ticket_link"
5 => "expires"
]
#touches: array:1 [
0 => "content"
]
#connection: "mysql"
#primaryKey: "id"
#keyType: "int"
+incrementing: true
#with: []
#withCount: []
#perPage: 15
+exists: true
+wasRecentlyCreated: false
#attributes: array:11 [
"id" => 1
"title" => "{"en":"CURTSEYING as you're falling.","de":"Teil der Zeit, um zu."}"
"description" => "{"en":"Alice could think of any that do,' Alice said very politely, feeling quite pleased to find that.","de":"Amte steht, und sagte zu ihm: 'feiner junger Herr! Lieben ist menschlich, nur m\u00fc\u00dft Ihr menschlich."}"
"author" => "Elsbeth Jakob"
"copyright" => "Herr Prof. Dr. Stefan Lenz B.Eng."
"ticket_link" => "http://jacob.org/sit-eos-voluptas-commodi.html"
"expires" => null
"content_id" => 1
"content_type" => "App\Image"
"created_at" => "2019-02-18 09:47:53"
"updated_at" => "2019-02-18 09:47:53"
]
#original: array:11 [
"id" => 1
"title" => "{"en":"CURTSEYING as you're falling.","de":"Teil der Zeit, um zu."}"
"description" => "{"en":"Alice could think of any that do,' Alice said very politely, feeling quite pleased to find that.","de":"Amte steht, und sagte zu ihm: 'feiner junger Herr! Lieben ist menschlich, nur m\u00fc\u00dft Ihr menschlich."}"
"author" => "Elsbeth Jakob"
"copyright" => "Herr Prof. Dr. Stefan Lenz B.Eng."
"ticket_link" => "http://jacob.org/sit-eos-voluptas-commodi.html"
"expires" => null
"content_id" => 1
"content_type" => "App\Image"
"created_at" => "2019-02-18 09:47:53"
"updated_at" => "2019-02-18 09:47:53"
]
#changes: []
#casts: []
#dates: []
#dateFormat: null
#appends: []
#dispatchesEvents: []
#observables: []
#relations: []
+timestamps: true
#hidden: []
#visible: []
#guarded: array:1 [
0 => "*"
]
}
]
+timestamps: true
#hidden: []
#visible: []
#guarded: array:1 [
0 => "*"
]
}
+with: []
+additional: []
}