Play images and video from Synology PhotoStation server

PhotoStation.api 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. {
  2. "SYNO.PhotoStation.Auth": {
  3. "path": "auth.php",
  4. "minVersion": 1,
  5. "maxVersion": 1,
  6. "methods": {
  7. "1": ["login", "logout", "checkauth"]
  8. }
  9. },
  10. "SYNO.PhotoStation.Info": {
  11. "path": "info.php",
  12. "minVersion": 1,
  13. "maxVersion": 1,
  14. "methods": {
  15. "1": ["getinfo"]
  16. }
  17. },
  18. "SYNO.PhotoStation.Album": {
  19. "path": "album.php",
  20. "minVersion": 1,
  21. "maxVersion": 1,
  22. "methods": {
  23. "1": ["list", "getinfo", "create", "edit", "delete", "arrangeitem", "move", "cleararrangeitem", "cancel"]
  24. }
  25. },
  26. "SYNO.PhotoStation.Permission": {
  27. "path": "permission.php",
  28. "minVersion": 1,
  29. "maxVersion": 1,
  30. "methods": {
  31. "1": ["getalbum", "editalbum", "editgroup", "list_public_share", "edit_public_share"]
  32. }
  33. },
  34. "SYNO.PhotoStation.Photo": {
  35. "path": "photo.php",
  36. "minVersion": 1,
  37. "maxVersion": 1,
  38. "methods": {
  39. "1": ["list", "listexif", "listfeatureditem", "listgpsgroup", "listgpsgroupeditem", "getinfo", "getexif", "edit", "delete", "copy", "cancel"]
  40. }
  41. },
  42. "SYNO.PhotoStation.Thumb": {
  43. "path": "thumb.php",
  44. "minVersion": 1,
  45. "maxVersion": 1,
  46. "methods": {
  47. "1": ["get", "get_dsm_thumb"]
  48. }
  49. },
  50. "SYNO.PhotoStation.Cover": {
  51. "path": "cover.php",
  52. "minVersion": 1,
  53. "maxVersion": 1,
  54. "methods": {
  55. "1": ["set"]
  56. }
  57. },
  58. "SYNO.PhotoStation.SmartAlbum": {
  59. "path": "smart_album.php",
  60. "minVersion": 1,
  61. "maxVersion": 1,
  62. "methods": {
  63. "1": ["list", "getinfo", "create", "edit", "delete"]
  64. }
  65. },
  66. "SYNO.PhotoStation.File": {
  67. "path": "file.php",
  68. "minVersion": 1,
  69. "maxVersion": 1,
  70. "methods": {
  71. "1": ["uploadphoto", "uploadvideo"]
  72. }
  73. },
  74. "SYNO.PhotoStation.Download": {
  75. "path": "download.php",
  76. "minVersion": 1,
  77. "maxVersion": 1,
  78. "methods": {
  79. "1": ["getphoto", "getvideo", "getitem"]
  80. }
  81. },
  82. "SYNO.PhotoStation.Category": {
  83. "path": "category.php",
  84. "minVersion": 1,
  85. "maxVersion": 1,
  86. "methods": {
  87. "1": ["list", "getinfo", "create", "edit", "delete", "arrangecategory", "listitem", "additem", "removeitem", "arrangeitem"]
  88. }
  89. },
  90. "SYNO.PhotoStation.About": {
  91. "path": "about.php",
  92. "minVersion": 1,
  93. "maxVersion": 1,
  94. "methods": {
  95. "1": ["get", "set", "set_visibility"]
  96. }
  97. },
  98. "SYNO.PhotoStation.Tag": {
  99. "path": "tag.php",
  100. "minVersion": 1,
  101. "maxVersion": 1,
  102. "methods": {
  103. "1": ["list", "getinfo", "create", "edit", "delete", "searchplace", "delete_unconfirmed_tag"]
  104. }
  105. },
  106. "SYNO.PhotoStation.PhotoTag": {
  107. "path": "photo_tag.php",
  108. "minVersion": 1,
  109. "maxVersion": 1,
  110. "methods": {
  111. "1": ["list", "people_tag", "geo_tag", "desc_tag", "delete", "people_tag_confirm"]
  112. }
  113. },
  114. "SYNO.PhotoStation.Comment": {
  115. "path": "comment.php",
  116. "minVersion": 1,
  117. "maxVersion": 1,
  118. "methods": {
  119. "1": ["list", "create", "delete"]
  120. }
  121. },
  122. "SYNO.PhotoStation.Timeline": {
  123. "path": "timeline.php",
  124. "minVersion": 1,
  125. "maxVersion": 1,
  126. "methods": {
  127. "1": ["getindex"]
  128. }
  129. },
  130. "SYNO.PhotoStation.Group": {
  131. "path": "group.php",
  132. "minVersion": 1,
  133. "maxVersion": 1,
  134. "methods": {
  135. "1": ["list", "get", "get_dsm_group", "getmember", "create", "edit", "editmember", "delete"]
  136. }
  137. },
  138. "SYNO.PhotoStation.Rotate": {
  139. "path": "rotate.php",
  140. "minVersion": 1,
  141. "maxVersion": 1,
  142. "methods": {
  143. "1": ["set"]
  144. }
  145. },
  146. "SYNO.PhotoStation.SlideshowMusic": {
  147. "path": "slideshow_music.php",
  148. "minVersion": 1,
  149. "maxVersion": 1,
  150. "methods": {
  151. "1": ["list", "get", "add", "edit", "delete"]
  152. }
  153. },
  154. "SYNO.PhotoStation.DsmShare": {
  155. "path": "dsm_share.php",
  156. "minVersion": 1,
  157. "maxVersion": 1,
  158. "methods": {
  159. "1": ["list", "copy", "copymusic"]
  160. }
  161. },
  162. "SYNO.PhotoStation.SharedAlbum": {
  163. "path": "shared_album.php",
  164. "minVersion": 1,
  165. "maxVersion": 1,
  166. "methods": {
  167. "1": ["list", "getinfo", "getinfo_public", "create", "edit", "delete", "add_items", "remove_items", "edit_public_share", "get_single_item", "set_single_item"]
  168. }
  169. },
  170. "SYNO.PhotoStation.PhotoLog": {
  171. "path": "log.php",
  172. "minVersion": 1,
  173. "maxVersion": 1,
  174. "methods": {
  175. "1": ["list", "clear", "export"]
  176. }
  177. },
  178. "SYNO.PhotoStation.Path": {
  179. "path": "path.php",
  180. "minVersion": 1,
  181. "maxVersion": 1,
  182. "methods": {
  183. "1": [" ", "checkpath"]
  184. }
  185. }
  186. }