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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
<?php
/**
* Created by PhpStorm.
* Copyright: Bertschi AG, 2016
* User: jbaumann
* File: ContentRoutes.php
* Date: 13.01.2016
* Time: 15:53
*/
namespace JRA\Commands\Routes;
class ContentRoutes
{
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-category-list-all
*/
const GET_CATEGORY_LIST_ALL = 'category/list/all';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-category-list-id-categories
*/
const GET_CATEGORY_LIST_ID_CATEGORIES = 'category/list/:id/categories';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-content-list-all
*/
const GET_CONTENT_LIST_ALL = 'content/list/all';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-category-fields
*/
const GET_CATEGORY_FIELDS = 'category/fields';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-category-list-id-content
*/
const GET_CATEGORY_LIST_ID_CONTENT = 'category/list/:id/content';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-category-single-id
*/
const GET_CATEGORY_SINGLE_ID = 'category/single/:id';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-content-fields
*/
const GET_CONTENT_FIELDS = 'content/fields';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-content-id-4
*/
const GET_CONTENT_DELETE_ID = 'content/delete/:id';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/get-content-single-id
*/
const GET_CONTENT_SINGLE_ID = 'content/single/:id';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/post-content-create
*/
const POST_CONTENT_CREATE = 'content/create';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/delete-content-id
*/
const DELETE_CONTENT_ID = 'content/delete/:id';
/**
* @link http://learn.getcapi.org/api-methods/joomla-api-routes/content/put-content-update-id
*/
const POST_CONTENT_UPDATE_ID = 'content/update/:id';
}