Commits

onyx...@66b97541-bd4c-0410-be21-55957449e47e  committed b404c8f

remove required coordinates (future release)

  • Participants
  • Parent commits 7e0dbeb

Comments (0)

Files changed (2)

File pbapi/PBAPI/data/api-defs.yml

       post  : 
         mid:           required
         tag:           required
-        topleftx:      required
-        toplefty:      required
-        bottomrightx:  required
-        bottomrighty:  required
+        topleftx:      optional
+        toplefty:      optional
+        bottomrightx:  optional
+        bottomrighty:  optional
         contact:       optional
         tagurl:        optional
       put   : 

File pbapi/PBAPI/data/methods.dat

-a:8:{s:4:"ping";a:1:{s:8:"_default";a:4:{s:3:"get";N;s:4:"post";N;s:3:"put";N;s:6:"delete";N;}}s:5:"media";a:11:{s:8:"_default";a:2:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}s:6:"delete";a:1:{s:3:"mid";s:8:"required";}}s:11:"description";a:4:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}s:4:"post";a:2:{s:3:"mid";s:8:"required";s:11:"description";s:8:"required";}s:3:"put";a:2:{s:3:"mid";s:8:"required";s:11:"description";s:8:"required";}s:6:"delete";a:1:{s:3:"mid";s:8:"required";}}s:5:"title";a:4:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}s:4:"post";a:2:{s:3:"mid";s:8:"required";s:5:"title";s:8:"required";}s:3:"put";a:2:{s:3:"mid";s:8:"required";s:5:"title";s:8:"required";}s:6:"delete";a:1:{s:3:"mid";s:8:"required";}}s:3:"tag";a:4:{s:3:"get";a:2:{s:3:"mid";s:8:"required";s:5:"tagid";s:8:"optional";}s:4:"post";a:8:{s:3:"mid";s:8:"required";s:3:"tag";s:8:"required";s:8:"topleftx";s:8:"required";s:8:"toplefty";s:8:"required";s:12:"bottomrightx";s:8:"required";s:12:"bottomrighty";s:8:"required";s:7:"contact";s:8:"optional";s:6:"tagurl";s:8:"optional";}s:3:"put";a:9:{s:3:"mid";s:8:"required";s:5:"tagid";s:8:"required";s:3:"tag";s:8:"required";s:8:"topleftx";s:8:"optional";s:8:"toplefty";s:8:"optional";s:12:"bottomrightx";s:8:"optional";s:12:"bottomrighty";s:8:"optional";s:7:"contact";s:8:"optional";s:6:"tagurl";s:8:"optional";}s:6:"delete";a:2:{s:3:"mid";s:8:"required";s:5:"tagid";s:8:"required";}}s:6:"resize";a:1:{s:3:"put";a:2:{s:3:"mid";s:8:"required";s:4:"size";s:8:"required";}}s:6:"rotate";a:1:{s:3:"put";a:2:{s:3:"mid";s:8:"required";s:7:"degrees";s:8:"required";}}s:4:"meta";a:1:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}}s:5:"links";a:1:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}}s:7:"related";a:1:{s:3:"get";a:3:{s:3:"mid";s:8:"required";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}s:5:"share";a:1:{s:4:"post";a:3:{s:3:"mid";s:8:"required";s:4:"body";s:8:"optional";s:5:"email";s:8:"optional";}}s:7:"comment";a:2:{s:3:"get";a:4:{s:3:"mid";s:8:"required";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:6:"offset";s:8:"optional";}s:4:"post";a:3:{s:3:"mid";s:8:"required";s:7:"comment";s:8:"required";s:9:"parseonly";s:8:"optional";}}}s:6:"search";a:4:{s:5:"image";a:1:{s:3:"get";a:8:{s:5:"query";s:8:"optional";s:7:"perpage";s:8:"optional";s:4:"page";s:8:"optional";s:16:"secondaryperpage";s:8:"optional";s:11:"recentFirst";s:8:"optional";s:6:"offset";s:8:"optional";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}s:5:"video";a:1:{s:3:"get";a:8:{s:5:"query";s:8:"optional";s:7:"perpage";s:8:"optional";s:4:"page";s:8:"optional";s:16:"secondaryperpage";s:8:"optional";s:11:"recentFirst";s:8:"optional";s:6:"offset";s:8:"optional";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}s:5:"group";a:1:{s:3:"get";a:8:{s:5:"query";s:8:"optional";s:7:"perpage";s:8:"optional";s:4:"page";s:8:"optional";s:16:"secondaryperpage";s:8:"optional";s:11:"recentFirst";s:8:"optional";s:6:"offset";s:8:"optional";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}s:8:"_default";a:1:{s:3:"get";a:8:{s:5:"query";s:8:"optional";s:7:"perpage";s:8:"optional";s:4:"page";s:8:"optional";s:16:"secondaryperpage";s:8:"optional";s:11:"recentFirst";s:8:"optional";s:6:"offset";s:8:"optional";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}}s:4:"user";a:7:{s:8:"_default";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:3:"tag";a:1:{s:3:"get";a:4:{s:7:"tagname";s:8:"optional";s:8:"separate";s:8:"optional";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";}}s:6:"search";a:1:{s:3:"get";a:3:{s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:5:"media";s:8:"optional";}}s:12:"uploadoption";a:2:{s:3:"put";a:3:{s:3:"uid";s:8:"required";s:16:"defaultimagesize";s:8:"required";s:11:"autotagging";s:8:"required";}s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:7:"contact";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:3:"url";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:8:"favorite";a:4:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}s:3:"put";a:3:{s:3:"uid";s:8:"required";s:4:"name";s:8:"optional";s:6:"favurl";s:8:"optional";}s:4:"post";a:3:{s:3:"uid";s:8:"required";s:4:"name";s:8:"required";s:6:"favurl";s:8:"required";}s:6:"delete";a:1:{s:3:"uid";s:8:"required";}}}s:5:"album";a:5:{s:8:"_default";a:4:{s:3:"get";a:7:{s:3:"aid";s:8:"required";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:7:"recurse";s:8:"optional";s:4:"view";s:8:"optional";s:5:"media";s:8:"optional";s:9:"paginated";s:8:"optional";}s:4:"post";a:2:{s:3:"aid";s:8:"required";s:4:"name";s:8:"required";}s:3:"put";a:2:{s:3:"aid";s:8:"required";s:4:"name";s:8:"required";}s:6:"delete";a:1:{s:3:"aid";s:8:"required";}}s:6:"upload";a:1:{s:4:"post";a:8:{s:3:"aid";s:8:"required";s:10:"uploadfile";s:8:"required";s:4:"type";s:8:"required";s:5:"title";s:8:"optional";s:11:"description";s:8:"optional";s:8:"filename";s:8:"optional";s:8:"scramble";s:8:"optional";s:9:"overwrite";s:8:"optional";}}s:7:"privacy";a:3:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}s:4:"post";a:3:{s:3:"aid";s:8:"required";s:7:"privacy";s:8:"required";s:8:"password";s:8:"optional";}s:3:"put";a:3:{s:3:"aid";s:8:"required";s:7:"privacy";s:8:"required";s:8:"password";s:8:"optional";}}s:6:"vanity";a:1:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}}s:8:"organize";a:3:{s:4:"post";a:3:{s:3:"aid";s:8:"required";s:10:"order_type";s:8:"required";s:5:"order";s:8:"optional";}s:3:"put";a:3:{s:3:"aid";s:8:"required";s:10:"order_type";s:8:"required";s:5:"order";s:8:"optional";}s:3:"get";a:1:{s:3:"aid";s:8:"required";}}}s:5:"group";a:7:{s:8:"_default";a:1:{s:3:"get";a:7:{s:3:"aid";s:8:"required";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:7:"recurse";s:8:"optional";s:4:"view";s:8:"optional";s:5:"media";s:8:"optional";s:9:"paginated";s:8:"optional";}}s:6:"upload";a:1:{s:4:"post";a:8:{s:3:"aid";s:8:"required";s:10:"uploadfile";s:8:"required";s:4:"type";s:8:"optional";s:5:"title";s:8:"optional";s:11:"description";s:8:"optional";s:8:"filename";s:8:"optional";s:8:"scramble";s:8:"optional";s:9:"overwrite";s:8:"optional";}}s:7:"privacy";a:3:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}s:4:"post";a:3:{s:3:"aid";s:8:"required";s:7:"privacy";s:8:"required";s:8:"password";s:8:"optional";}s:3:"put";a:3:{s:3:"aid";s:8:"required";s:7:"privacy";s:8:"required";s:8:"password";s:8:"optional";}}s:6:"vanity";a:1:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}}s:4:"info";a:3:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}s:4:"post";a:4:{s:3:"aid";s:8:"required";s:5:"title";s:8:"optional";s:11:"description";s:8:"optional";s:8:"thumburl";s:8:"optional";}s:3:"put";a:4:{s:3:"aid";s:8:"required";s:5:"title";s:8:"optional";s:11:"description";s:8:"optional";s:8:"thumburl";s:8:"optional";}}s:11:"contributor";a:1:{s:3:"get";a:5:{s:3:"aid";s:8:"required";s:3:"uid";s:8:"optional";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:5:"media";s:8:"optional";}}s:3:"tag";a:1:{s:3:"get";a:4:{s:3:"aid";s:8:"required";s:8:"seperate";s:8:"optional";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";}}}s:5:"login";a:3:{s:7:"request";a:1:{s:4:"post";a:1:{s:3:"uid";s:8:"required";}}s:6:"access";a:1:{s:4:"post";a:1:{s:3:"uid";s:8:"required";}}s:8:"_default";a:1:{s:4:"post";a:1:{s:3:"uid";s:8:"required";}}}s:8:"featured";a:3:{s:8:"homepage";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:5:"group";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:8:"_default";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}}}
+a:8:{s:4:"ping";a:1:{s:8:"_default";a:4:{s:3:"get";N;s:4:"post";N;s:3:"put";N;s:6:"delete";N;}}s:5:"media";a:11:{s:8:"_default";a:2:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}s:6:"delete";a:1:{s:3:"mid";s:8:"required";}}s:11:"description";a:4:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}s:4:"post";a:2:{s:3:"mid";s:8:"required";s:11:"description";s:8:"required";}s:3:"put";a:2:{s:3:"mid";s:8:"required";s:11:"description";s:8:"required";}s:6:"delete";a:1:{s:3:"mid";s:8:"required";}}s:5:"title";a:4:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}s:4:"post";a:2:{s:3:"mid";s:8:"required";s:5:"title";s:8:"required";}s:3:"put";a:2:{s:3:"mid";s:8:"required";s:5:"title";s:8:"required";}s:6:"delete";a:1:{s:3:"mid";s:8:"required";}}s:3:"tag";a:4:{s:3:"get";a:2:{s:3:"mid";s:8:"required";s:5:"tagid";s:8:"optional";}s:4:"post";a:8:{s:3:"mid";s:8:"required";s:3:"tag";s:8:"required";s:8:"topleftx";s:8:"optional";s:8:"toplefty";s:8:"optional";s:12:"bottomrightx";s:8:"optional";s:12:"bottomrighty";s:8:"optional";s:7:"contact";s:8:"optional";s:6:"tagurl";s:8:"optional";}s:3:"put";a:9:{s:3:"mid";s:8:"required";s:5:"tagid";s:8:"required";s:3:"tag";s:8:"required";s:8:"topleftx";s:8:"optional";s:8:"toplefty";s:8:"optional";s:12:"bottomrightx";s:8:"optional";s:12:"bottomrighty";s:8:"optional";s:7:"contact";s:8:"optional";s:6:"tagurl";s:8:"optional";}s:6:"delete";a:2:{s:3:"mid";s:8:"required";s:5:"tagid";s:8:"required";}}s:6:"resize";a:1:{s:3:"put";a:2:{s:3:"mid";s:8:"required";s:4:"size";s:8:"required";}}s:6:"rotate";a:1:{s:3:"put";a:2:{s:3:"mid";s:8:"required";s:7:"degrees";s:8:"required";}}s:4:"meta";a:1:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}}s:5:"links";a:1:{s:3:"get";a:1:{s:3:"mid";s:8:"required";}}s:7:"related";a:1:{s:3:"get";a:3:{s:3:"mid";s:8:"required";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}s:5:"share";a:1:{s:4:"post";a:3:{s:3:"mid";s:8:"required";s:4:"body";s:8:"optional";s:5:"email";s:8:"optional";}}s:7:"comment";a:2:{s:3:"get";a:4:{s:3:"mid";s:8:"required";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:6:"offset";s:8:"optional";}s:4:"post";a:3:{s:3:"mid";s:8:"required";s:7:"comment";s:8:"required";s:9:"parseonly";s:8:"optional";}}}s:6:"search";a:4:{s:5:"image";a:1:{s:3:"get";a:8:{s:5:"query";s:8:"optional";s:7:"perpage";s:8:"optional";s:4:"page";s:8:"optional";s:16:"secondaryperpage";s:8:"optional";s:11:"recentFirst";s:8:"optional";s:6:"offset";s:8:"optional";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}s:5:"video";a:1:{s:3:"get";a:8:{s:5:"query";s:8:"optional";s:7:"perpage";s:8:"optional";s:4:"page";s:8:"optional";s:16:"secondaryperpage";s:8:"optional";s:11:"recentFirst";s:8:"optional";s:6:"offset";s:8:"optional";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}s:5:"group";a:1:{s:3:"get";a:8:{s:5:"query";s:8:"optional";s:7:"perpage";s:8:"optional";s:4:"page";s:8:"optional";s:16:"secondaryperpage";s:8:"optional";s:11:"recentFirst";s:8:"optional";s:6:"offset";s:8:"optional";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}s:8:"_default";a:1:{s:3:"get";a:8:{s:5:"query";s:8:"optional";s:7:"perpage";s:8:"optional";s:4:"page";s:8:"optional";s:16:"secondaryperpage";s:8:"optional";s:11:"recentFirst";s:8:"optional";s:6:"offset";s:8:"optional";s:4:"type";s:8:"optional";s:3:"num";s:8:"optional";}}}s:4:"user";a:7:{s:8:"_default";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:3:"tag";a:1:{s:3:"get";a:4:{s:7:"tagname";s:8:"optional";s:8:"separate";s:8:"optional";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";}}s:6:"search";a:1:{s:3:"get";a:3:{s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:5:"media";s:8:"optional";}}s:12:"uploadoption";a:2:{s:3:"put";a:3:{s:3:"uid";s:8:"required";s:16:"defaultimagesize";s:8:"required";s:11:"autotagging";s:8:"required";}s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:7:"contact";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:3:"url";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:8:"favorite";a:4:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}s:3:"put";a:3:{s:3:"uid";s:8:"required";s:4:"name";s:8:"optional";s:6:"favurl";s:8:"optional";}s:4:"post";a:3:{s:3:"uid";s:8:"required";s:4:"name";s:8:"required";s:6:"favurl";s:8:"required";}s:6:"delete";a:1:{s:3:"uid";s:8:"required";}}}s:5:"album";a:5:{s:8:"_default";a:4:{s:3:"get";a:7:{s:3:"aid";s:8:"required";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:7:"recurse";s:8:"optional";s:4:"view";s:8:"optional";s:5:"media";s:8:"optional";s:9:"paginated";s:8:"optional";}s:4:"post";a:2:{s:3:"aid";s:8:"required";s:4:"name";s:8:"required";}s:3:"put";a:2:{s:3:"aid";s:8:"required";s:4:"name";s:8:"required";}s:6:"delete";a:1:{s:3:"aid";s:8:"required";}}s:6:"upload";a:1:{s:4:"post";a:8:{s:3:"aid";s:8:"required";s:10:"uploadfile";s:8:"required";s:4:"type";s:8:"required";s:5:"title";s:8:"optional";s:11:"description";s:8:"optional";s:8:"filename";s:8:"optional";s:8:"scramble";s:8:"optional";s:9:"overwrite";s:8:"optional";}}s:7:"privacy";a:3:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}s:4:"post";a:3:{s:3:"aid";s:8:"required";s:7:"privacy";s:8:"required";s:8:"password";s:8:"optional";}s:3:"put";a:3:{s:3:"aid";s:8:"required";s:7:"privacy";s:8:"required";s:8:"password";s:8:"optional";}}s:6:"vanity";a:1:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}}s:8:"organize";a:3:{s:4:"post";a:3:{s:3:"aid";s:8:"required";s:10:"order_type";s:8:"required";s:5:"order";s:8:"optional";}s:3:"put";a:3:{s:3:"aid";s:8:"required";s:10:"order_type";s:8:"required";s:5:"order";s:8:"optional";}s:3:"get";a:1:{s:3:"aid";s:8:"required";}}}s:5:"group";a:7:{s:8:"_default";a:1:{s:3:"get";a:7:{s:3:"aid";s:8:"required";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:7:"recurse";s:8:"optional";s:4:"view";s:8:"optional";s:5:"media";s:8:"optional";s:9:"paginated";s:8:"optional";}}s:6:"upload";a:1:{s:4:"post";a:8:{s:3:"aid";s:8:"required";s:10:"uploadfile";s:8:"required";s:4:"type";s:8:"optional";s:5:"title";s:8:"optional";s:11:"description";s:8:"optional";s:8:"filename";s:8:"optional";s:8:"scramble";s:8:"optional";s:9:"overwrite";s:8:"optional";}}s:7:"privacy";a:3:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}s:4:"post";a:3:{s:3:"aid";s:8:"required";s:7:"privacy";s:8:"required";s:8:"password";s:8:"optional";}s:3:"put";a:3:{s:3:"aid";s:8:"required";s:7:"privacy";s:8:"required";s:8:"password";s:8:"optional";}}s:6:"vanity";a:1:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}}s:4:"info";a:3:{s:3:"get";a:1:{s:3:"aid";s:8:"required";}s:4:"post";a:4:{s:3:"aid";s:8:"required";s:5:"title";s:8:"optional";s:11:"description";s:8:"optional";s:8:"thumburl";s:8:"optional";}s:3:"put";a:4:{s:3:"aid";s:8:"required";s:5:"title";s:8:"optional";s:11:"description";s:8:"optional";s:8:"thumburl";s:8:"optional";}}s:11:"contributor";a:1:{s:3:"get";a:5:{s:3:"aid";s:8:"required";s:3:"uid";s:8:"optional";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";s:5:"media";s:8:"optional";}}s:3:"tag";a:1:{s:3:"get";a:4:{s:3:"aid";s:8:"required";s:8:"seperate";s:8:"optional";s:4:"page";s:8:"optional";s:7:"perpage";s:8:"optional";}}}s:5:"login";a:3:{s:7:"request";a:1:{s:4:"post";a:1:{s:3:"uid";s:8:"required";}}s:6:"access";a:1:{s:4:"post";a:1:{s:3:"uid";s:8:"required";}}s:8:"_default";a:1:{s:4:"post";a:1:{s:3:"uid";s:8:"required";}}}s:8:"featured";a:3:{s:8:"homepage";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:5:"group";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}s:8:"_default";a:1:{s:3:"get";a:1:{s:3:"uid";s:8:"required";}}}}