YetiForceCompany/YetiForceCRM

View on GitHub
api/webservice/WebservicePremium/Users/AccessActivityHistory.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Possibly zero references to use statement for classlike/namespace OA (\OpenApi\Annotations)
Open

use OpenApi\Annotations as OA;

Spaces must be used for alignment; tabs are not allowed
Open

     * Get user history of access activity.

Spaces must be used for alignment; tabs are not allowed
Open

     *        description="Get user history of access activity",

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Parameter(name="X-ENCRYPTED", in="header", @OA\Schema(ref="#/components/schemas/Header-Encrypted"), required=true),

Spaces must be used for alignment; tabs are not allowed
Open

     *            @OA\JsonContent(ref="#/components/schemas/Users_Get_AccessActivityHistory_Response"),

Spaces must be used for alignment; tabs are not allowed
Open

     *    ),

Spaces must be used for alignment; tabs are not allowed
Open

     *        title="Users module - History of access activity data",

Spaces must be used for alignment; tabs are not allowed
Open

     *    ),

Spaces must be used for alignment; tabs are not allowed
Open

     *            type="object",

Spaces must be used for alignment; tabs are not allowed
Open

     *                @OA\Property(property="status", type="string", description="Operation name", example="Signed in"),

Spaces must be used for alignment; tabs are not allowed
Open

    public function get(): array

Spaces must be used for alignment; tabs are not allowed
Open

    }

Spaces must be used for alignment; tabs are not allowed
Open

 * @author    Radosław Skrzypczak <r.skrzypczak@yetiforce.com>

Spaces must be used for alignment; tabs are not allowed
Open

     *        security={{"basicAuth" : {}, "ApiKeyAuth" : {}, "token" : {}}},

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Parameter(name="x-condition", in="header", description="Conditions [Json format]", required=false,

Spaces must be used for alignment; tabs are not allowed
Open

     *            @OA\XmlContent(ref="#/components/schemas/Users_Get_AccessActivityHistory_Response"),

Spaces must be used for alignment; tabs are not allowed
Open

     *    @OA\Schema(

Spaces must be used for alignment; tabs are not allowed
Open

     *        schema="Users_Get_AccessActivityHistory_Response",

Spaces must be used for alignment; tabs are not allowed
Open

     *            @OA\AdditionalProperties(

Spaces must be used for alignment; tabs are not allowed
Open

     *    ),

Spaces must be used for alignment; tabs are not allowed
Open

     *

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Property(property="status", type="integer", enum={0, 1}, description="A numeric value of 0 or 1 that indicates whether the communication is valid. 1 - success , 0 - error"),

Spaces must be used for alignment; tabs are not allowed
Open

     *                @OA\Property(property="status", type="string", description="Operation name", example="Signed in"),

Spaces must be used for alignment; tabs are not allowed
Open

     *                @OA\Property(property="agent", type="string", description="User agent", example="PostmanRuntime/7.28.0"),

Spaces must be used for alignment; tabs are not allowed
Open

     *

Spaces must be used for alignment; tabs are not allowed
Open

     *        path="/webservice/WebservicePremium/Users/AccessActivityHistory",

Spaces must be used for alignment; tabs are not allowed
Open

     *        tags={"Users"},

Spaces must be used for alignment; tabs are not allowed
Open

     *        type="object",

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Property(

Spaces must be used for alignment; tabs are not allowed
Open

     *                @OA\Property(property="ip", type="string", description="IP address", example="127.0.0.1"),

Spaces must be used for alignment; tabs are not allowed
Open

    public $allowedMethod = ['GET'];

Spaces must be used for alignment; tabs are not allowed
Open

     * @return array

Spaces must be used for alignment; tabs are not allowed
Open

     *        description="Get user history of access activity",

Spaces must be used for alignment; tabs are not allowed
Open

     *        summary="History of access activity data",

Spaces must be used for alignment; tabs are not allowed
Open

     *        security={{"basicAuth" : {}, "ApiKeyAuth" : {}, "token" : {}}},

Spaces must be used for alignment; tabs are not allowed
Open

     *        ),

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Response(response=200, description="User history of access activity",

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Response(response=200, description="User history of access activity",

Spaces must be used for alignment; tabs are not allowed
Open

     *        required={"status", "result"},

Spaces must be used for alignment; tabs are not allowed
Open

     *            title="User data",

Spaces must be used for alignment; tabs are not allowed
Open

     *            type="object",

Spaces must be used for alignment; tabs are not allowed
Open

     *                title="Condition details",

Spaces must be used for alignment; tabs are not allowed
Open

     *    @OA\Get(

Spaces must be used for alignment; tabs are not allowed
Open

     *        required={"status", "result"},

Spaces must be used for alignment; tabs are not allowed
Open

     *                title="Condition details",

Spaces must be used for alignment; tabs are not allowed
Open

     *                type="object",

Spaces must be used for alignment; tabs are not allowed
Open

     *        ),

Spaces must be used for alignment; tabs are not allowed
Open

        return parent::get();

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Parameter(name="x-row-limit", in="header", @OA\Schema(type="integer"), description="Get rows limit, default: 50", required=false, example=1000),

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Parameter(name="x-condition", in="header", description="Conditions [Json format]", required=false,

Spaces must be used for alignment; tabs are not allowed
Open

     *            @OA\JsonContent(ref="#/components/schemas/Conditions-For-Native-Query"),

Spaces must be used for alignment; tabs are not allowed
Open

     *        schema="Users_Get_AccessActivityHistory_Response",

Spaces must be used for alignment; tabs are not allowed
Open

     *        type="object",

Spaces must be used for alignment; tabs are not allowed
Open

     *            property="result",

Spaces must be used for alignment; tabs are not allowed
Open

     *                type="object",

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Parameter(name="x-row-offset", in="header", @OA\Schema(type="integer"), description="Offset, default: 0", required=false, example=0),

Spaces must be used for alignment; tabs are not allowed
Open

     *        ),

Spaces must be used for alignment; tabs are not allowed
Open

    {

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Parameter(name="x-row-limit", in="header", @OA\Schema(type="integer"), description="Get rows limit, default: 50", required=false, example=1000),

Spaces must be used for alignment; tabs are not allowed
Open

     *        ),

Spaces must be used for alignment; tabs are not allowed
Open

     *        title="Users module - History of access activity data",

Spaces must be used for alignment; tabs are not allowed
Open

     *            @OA\AdditionalProperties(

Spaces must be used for alignment; tabs are not allowed
Open

     *                @OA\Property(property="time", type="string", description="Date time in user format", example="2021-06-01 11:57"),

Spaces must be used for alignment; tabs are not allowed
Open

     *                @OA\Property(property="agent", type="string", description="User agent", example="PostmanRuntime/7.28.0"),

Spaces must be used for alignment; tabs are not allowed
Open

     *            ),

Spaces must be used for alignment; tabs are not allowed
Open

 * @license    YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)

Spaces must be used for alignment; tabs are not allowed
Open

     *    @OA\Get(

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Parameter(name="x-row-offset", in="header", @OA\Schema(type="integer"), description="Offset, default: 0", required=false, example=0),

Spaces must be used for alignment; tabs are not allowed
Open

     *            @OA\JsonContent(ref="#/components/schemas/Conditions-For-Native-Query"),

Spaces must be used for alignment; tabs are not allowed
Open

     *    ),

Spaces must be used for alignment; tabs are not allowed
Open

     *                @OA\Property(property="ip", type="string", description="IP address", example="127.0.0.1"),

Spaces must be used for alignment; tabs are not allowed
Open

     */

Spaces must be used for alignment; tabs are not allowed
Open

    /**

Spaces must be used for alignment; tabs are not allowed
Open

     *        summary="History of access activity data",

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Parameter(name="X-ENCRYPTED", in="header", @OA\Schema(ref="#/components/schemas/Header-Encrypted"), required=true),

Spaces must be used for alignment; tabs are not allowed
Open

     *            @OA\JsonContent(ref="#/components/schemas/Users_Get_AccessActivityHistory_Response"),

Spaces must be used for alignment; tabs are not allowed
Open

     *        ),

Spaces must be used for alignment; tabs are not allowed
Open

     *            title="User data",

Spaces must be used for alignment; tabs are not allowed
Open

     *    @OA\Schema(

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Property(property="status", type="integer", enum={0, 1}, description="A numeric value of 0 or 1 that indicates whether the communication is valid. 1 - success , 0 - error"),

Spaces must be used for alignment; tabs are not allowed
Open

     *        @OA\Property(

Spaces must be used for alignment; tabs are not allowed
Open

     *            property="result",

Spaces must be used for alignment; tabs are not allowed
Open

     *                @OA\Property(property="time", type="string", description="Date time in user format", example="2021-06-01 11:57"),

Spaces must be used for alignment; tabs are not allowed
Open

     *            ),

Spaces must be used for alignment; tabs are not allowed
Open

     *        path="/webservice/WebservicePremium/Users/AccessActivityHistory",

Spaces must be used for alignment; tabs are not allowed
Open

 * @author    Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com>

Spaces must be used for alignment; tabs are not allowed
Open

    /** {@inheritdoc}  */

Spaces must be used for alignment; tabs are not allowed
Open

     *        tags={"Users"},

Spaces must be used for alignment; tabs are not allowed
Open

     *        ),

Spaces must be used for alignment; tabs are not allowed
Open

     *            @OA\XmlContent(ref="#/components/schemas/Users_Get_AccessActivityHistory_Response"),

Line exceeds 120 characters; contains 189 characters
Open

     *        @OA\Property(property="status", type="integer", enum={0, 1}, description="A numeric value of 0 or 1 that indicates whether the communication is valid. 1 - success , 0 - error"),

Line exceeds 120 characters; contains 131 characters
Open

     *        @OA\Parameter(name="X-ENCRYPTED", in="header", @OA\Schema(ref="#/components/schemas/Header-Encrypted"), required=true),

Line exceeds 120 characters; contains 160 characters
Open

     *        @OA\Parameter(name="x-row-limit", in="header", @OA\Schema(type="integer"), description="Get rows limit, default: 50", required=false, example=1000),

Line exceeds 120 characters; contains 133 characters
Open

     *                @OA\Property(property="time", type="string", description="Date time in user format", example="2021-06-01 11:57"),

Line exceeds 120 characters; contains 149 characters
Open

     *        @OA\Parameter(name="x-row-offset", in="header", @OA\Schema(type="integer"), description="Offset, default: 0", required=false, example=0),

Line exceeds 120 characters; contains 125 characters
Open

     *                @OA\Property(property="agent", type="string", description="User agent", example="PostmanRuntime/7.28.0"),

There are no issues that match your filters.

Category
Status