1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
<?php
/**
* Created by PhpStorm.
* Copyright: Bertschi AG, 2016
* User: jbaumann
* File: UserRoutes.php
* Date: 13.01.2016
* Time: 15:48
*/
namespace JRA\Commands\Routes;
class UserRoutes
{
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/user/get-user
*/
const GET_USER = 'user';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/user/get-user-login-username-password
*/
const GET_USER_LOGIN_USERNAME_PASSWORD = 'user/login/:username/:password';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/user/get-user-logout-user-session
*/
const GET_USER_LOGOUT_USER_SESSION = 'user/logout/:username/:session';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/user/get-user-sessions
*/
const GET_USER_SESSIONS = 'user/sessions';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/user/update-user-profile
*/
const PUT_USER_PROFILE = 'user/profile';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/user/update-user-profile-by-id
*/
const PUT_USER_PROFILE_ID = 'user/profile/:id';
}