Synology PhotoStation REST API

Version 0.2.0

An Unofficial Reference

SYNO.PhotoStation.Auth

SYNO.PhotoStation.Auth provides methods for authenticating a Synology user and managing a session with the PhotoStation service.

Overview

Error Codes

The following error codes are specific to SYNO.PhotoStation.Auth:

Code Name Description
406 PHOTOSTATION_AUTH_LOGIN_NOPRIVILEGE
407 PHOTOSTATION_AUTH_LOGIN_ERROR
408 PHOTOSTATION_AUTH_LOGIN_DISABLE_ACCOUNT
409 PHOTOSTATION_AUTH_LOGIN_GUEST_ERROR
410 PHOTOSTATION_AUTH_LOGIN_MAX_TRIES

Available Methods

  • checkauth - Validate current session and return session info
  • login - Authenticate user and start a new session
  • logout - Logout and invalidate session cookie
  • photo_login - Authenticate user and start a new session (with client verification)