<?php

return [
    'routes' => [
        'account' => [

            // Authenticate an account
            'authenticate' => [
                'path' => '/api/account/v1',
                'method' => 'POST',
                'verify' => true
            ],

            // Create an account
            'create' => [
                'path' => '/api/account/v1',
                'method' => 'POST',
                'verify' => true
            ],

            // Read account info / attributes
            'read' => [
                'path' => '/api/account/v1/%s',
                'method' => 'GET',
                'verify' => true
            ],

            // Update account attributes
            'update' => [
                'path' => '/api/account/v1/%s',
                'method' => 'PUT',
                'verify' => true
            ],

            // Delete an account
            'delete' => [
                'path' => '/api/account/v1/%s',
                'method' => 'DELETE',
                'verify' => true
            ],

            // List / search accounts
            'listing' => [
                'path' => '/api/account/v1',
                'method' => 'GET',
                'verify' => true
            ],
        ],

        'organization' => [

        ],

        'group' => [

        ],

        'policy' => [

        ]
    ]
];