Play images and video from Synology PhotoStation server

12345678910111213141516171819202122232425262728
  1. <?php
  2. /* Copyright (c) 2000-2012 Synology Inc. All rights reserved. */
  3. define('SZK_PARAM_API', 'api');
  4. define('SZK_PARAM_METHOD', 'method');
  5. define('SZK_PARAM_VERSION', 'version');
  6. define('SZK_API_PATH', 'path');
  7. define('SZK_API_MIN_VERSION', 'minVersion');
  8. define('SZK_API_MAX_VERSION', 'maxVersion');
  9. define('SZK_API_METHODS', 'methods');
  10. define('SZK_RESP_SUCCESS', 'success');
  11. define('SZK_RESP_DATA', 'data');
  12. define('SZK_RESP_ERROR', 'error');
  13. define('SZK_RESP_ERROR_CODE', 'code');
  14. define('WEBAPI_ERR_NONE', 0);
  15. define('WEBAPI_ERR_UNKNOWN', 100);
  16. define('WEBAPI_ERR_BAD_REQUEST', 101);
  17. define('WEBAPI_ERR_NO_SUCH_API', 102);
  18. define('WEBAPI_ERR_NO_SUCH_METHOD', 103);
  19. define('WEBAPI_ERR_NOT_SUPPORTED_VERSION', 104);
  20. define('WEBAPI_ERR_NO_PERMISSION', 105);
  21. define('WEBAPI_ERR_SESSION_TIMEOUT', 106);
  22. define('WEBAPI_ERR_SESSION_INTERRUPT', 107);
  23. define('WEBAPI_ERR_CUSTOMIZED_MIN', 400);
  24. ?>