abstract class ApiAction
- ApiAction
- Lucky::Action
- Reference
- Object
Overview
Include modules and add methods that are for all API requests
Included Modules
- Api::Auth::Helpers
- Api::Auth::RequireAuthToken
- Lucky::EnforceUnderscoredRoute
Direct Known Subclasses
- Api::V1::Characters::Create
- Api::V1::Characters::Delete
- Api::V1::Characters::Index
- Api::V1::Characters::Update
- Api::V1::Chats::Create
- Api::V1::Chats::Index
- Api::V1::Chats::Update
- Api::V1::Users::Login::Create
- Api::V1::Users::Register::Create
- Home::Index
Defined in:
actions/api_action.crConstant Summary
-
AFTER_PIPES =
[] of Symbol
-
Include modules and add methods that are for all API requests
-
BEFORE_PIPES =
[verify_accepted_format, require_auth_token] of Symbol
-
Include modules and add methods that are for all API requests
-
EXPOSURES =
[] of Symbol
-
Include modules and add methods that are for all API requests
-
PARAM_DECLARATIONS =
[] of Crystal::Macros::TypeDeclaration
-
Include modules and add methods that are for all API requests
-
ROUTE_SETTINGS =
{prefix: "/api/v1"}
-
Include modules and add methods that are for all API requests
-
SKIPPED_PIPES =
[] of Symbol
-
Include modules and add methods that are for all API requests