docs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import express from 'express';
|
||||
|
||||
/**
|
||||
* Asset controller plugin
|
||||
* Asset controller plugin, граничен клас за обработка на заявките към игрови активи
|
||||
*/
|
||||
class AssetController{
|
||||
|
||||
@@ -9,15 +9,15 @@ class AssetController{
|
||||
route = '/asset'
|
||||
|
||||
/**
|
||||
* Initializes the AssetController plugin
|
||||
* @param {App} app The application instance
|
||||
* Initializes the AssetController plugin, инициализация
|
||||
* @param {App} app The application instance, апликация
|
||||
*/
|
||||
init(app){
|
||||
const router = express.Router();
|
||||
const {config} = app;
|
||||
|
||||
/**
|
||||
* API: GET /asset/:type/:id Retrieve asset by type and ID
|
||||
* API: GET /asset/:type/:id Retrieve asset by type and ID, извличане на актив по подаден идентификатор
|
||||
* @function read
|
||||
* @param {string} type Type can be "source", "default" or "thumb"
|
||||
* @param {string} id The name of the asset
|
||||
|
||||
Reference in New Issue
Block a user