OSDN Git Service

v07
[pettanr/pettanr.git] / public / manifest.json
index 53bdb3f..4e25050 100644 (file)
         },\r
         "history": {\r
           "type": "list",\r
-          "args": {}\r
+          "args": {\r
+            "return_item_name": "picture",\r
+            "max_page_size": -1,\r
+            "order": "revision",\r
+            "direction": 1\r
+          }\r
         },\r
         "new": {\r
           "type": "new"\r
     "panel_picture": {\r
       "associations": {\r
         "belongs_to": {\r
-          "panel": {}\r
+          "panel": {},\r
+          "picture": {}\r
         },\r
         "has_many": {}\r
       },\r
     "ground_picture": {\r
       "associations": {\r
         "belongs_to": {\r
-          "panel": {}\r
+          "panel": {},\r
+          "picture": {}\r
         },\r
         "has_many": {}\r
       },\r
         "belongs_to": {\r
           "license": {},\r
           "artist": {},\r
+          "original_picture": {},\r
           "system_picture": {}\r
         },\r
-        "has_many": {},\r
+        "has_many": {\r
+          "panel_pictures": {},\r
+          "ground_pictures": {}\r
+        },\r
         "has_one": {\r
           "resource_picture_picture": {}\r
         }\r
       "associations": {\r
         "belongs_to": {\r
           "original_picture": {},\r
+          "picture": {},\r
           "license_group": {},\r
           "license": {},\r
           "artist": {},\r