<details class="api-group" open>
<summary class="api-group-header">
    <div class="api-group-left">
        <span class="api-group-icon">⚡</span>
        <span class="api-group-name">PermissionController</span>
        <span class="api-group-count">5 endpoints</span>
    </div>
    <span class="api-group-chevron">▾</span>
</summary>


<div class="api-group-body">
<details class="api-endpoint" id="endpoint-GETapi-referentiel-permissions">
<summary class="api-endpoint-header">
    <div class="api-endpoint-left">
                <span class="http-badge http-get">GET</span>
                <code class="api-endpoint-uri">api/referentiel/permissions</code>
            </div>
    <div class="api-endpoint-right">
                <span class="api-endpoint-title">liste</span>
                <span class="api-endpoint-chevron">▾</span>
    </div>
</summary>

<div class="api-endpoint-body">


<div class="api-tabs" data-endpoint="GETapi-referentiel-permissions">
    <div class="api-tab-nav">
        <button class="api-tab-btn active" data-tab="request-GETapi-referentiel-permissions">📋 Requête</button>
        <button class="api-tab-btn" data-tab="examples-GETapi-referentiel-permissions">💻 Exemples</button>
                <button class="api-tab-btn" data-tab="response-GETapi-referentiel-permissions">📬 Réponse</button>
            </div>

    
    <div class="api-tab-content active" id="request-GETapi-referentiel-permissions">
        <form id="form-GETapi-referentiel-permissions"
              data-method="GET"
              data-path="api/referentiel/permissions"
              data-authed="0"
              data-hasfiles="0"
              data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}'
              onsubmit="event.preventDefault(); executeTryOut('GETapi-referentiel-permissions', this);">

                        <div class="api-method-row">
                <span class="http-badge http-get">GET</span>
                <code class="api-full-uri">api/referentiel/permissions</code>
            </div>
            
            
            
            
            
                        <div class="api-tryout-bar">
                <button type="button" class="btn-tryout" id="btn-tryout-GETapi-referentiel-permissions"
                        onclick="tryItOut('GETapi-referentiel-permissions')">
                    ⚡ Tester
                </button>
                <button type="button" class="btn-cancel" id="btn-canceltryout-GETapi-referentiel-permissions"
                        onclick="cancelTryOut('GETapi-referentiel-permissions')" hidden>
                    ✕ Annuler
                </button>
                <button type="submit" class="btn-send" id="btn-executetryout-GETapi-referentiel-permissions" hidden>
                    🚀 Envoyer
                </button>
            </div>
                    </form>

        <div id="execution-results-GETapi-referentiel-permissions" class="api-result" hidden>
            <div class="result-header">
                Réponse reçue <span class="result-status" id="execution-response-status-GETapi-referentiel-permissions"></span>
            </div>
            <pre class="result-code"><code id="execution-response-content-GETapi-referentiel-permissions"></code></pre>
        </div>
        <div id="execution-error-GETapi-referentiel-permissions" class="api-result api-result--error" hidden>
            <div class="result-header">❌ Erreur</div>
            <pre class="result-code"><code id="execution-error-message-GETapi-referentiel-permissions"></code></pre>
        </div>
    </div>

    
    <div class="api-tab-content" id="examples-GETapi-referentiel-permissions">
        <div class="examples-lang-nav" id="lang-nav-GETapi-referentiel-permissions">
                        <button class="lang-btn active"
                    data-lang="bash"
                    data-endpoint="GETapi-referentiel-permissions"
                    onclick="switchLang('GETapi-referentiel-permissions', 'bash')">
                BASH
            </button>
                        <button class="lang-btn "
                    data-lang="javascript"
                    data-endpoint="GETapi-referentiel-permissions"
                    onclick="switchLang('GETapi-referentiel-permissions', 'javascript')">
                JAVASCRIPT
            </button>
                    </div>
                <div class="lang-block " id="lang-GETapi-referentiel-permissions-bash">
            ```bash
curl -X GET \
    -G "http://localhost/api/referentiel/permissions" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```
        </div>
                <div class="lang-block hidden" id="lang-GETapi-referentiel-permissions-javascript">
            ```javascript
const url = new URL(
    "http://localhost/api/referentiel/permissions"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
```
        </div>
            </div>

    
        <div class="api-tab-content" id="response-GETapi-referentiel-permissions">
                <div class="response-block">
            <div class="response-status-bar">
                <span class="status-badge status-5xx">
                    500
                </span>
                <span class="response-desc"></span>
            </div>
            <pre class="result-code"><code>{
    "success": false,
    "message": "Error retrieving permissions: SQLSTATE[HY000] [1045] Accès refusé pour l'utilisateur: 'qkyyxugb_root'@'@localhost' (mot de passe: OUI) (SQL: select count(*) as aggregate from `permissions`)"
}
</code></pre>
        </div>
        
            </div>
    </div>
</div>
</details>

<style>
.api-endpoint {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s;
}
.api-endpoint:hover { border-color: #A5B4FC; }
.api-endpoint[open] { border-color: #818CF8; box-shadow: 0 2px 16px rgba(79,70,229,0.08); }

.api-endpoint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    list-style: none;
    background: #FAFAFA;
    gap: 12px;
    flex-wrap: wrap;
}
.api-endpoint[open] .api-endpoint-header { background: #F5F3FF; border-bottom: 1px solid #E0E7FF; }
.api-endpoint-header::-webkit-details-marker { display: none; }
.api-endpoint-header:hover { background: #EEF2FF; }

.api-endpoint-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.api-endpoint-right { display: flex; align-items: center; gap: 10px; }

.http-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.http-get    { background: #DBEAFE; color: #1D4ED8; }
.http-post   { background: #DCFCE7; color: #15803D; }
.http-put    { background: #FEF3C7; color: #92400E; }
.http-patch  { background: #FEF3C7; color: #92400E; }
.http-delete { background: #FEE2E2; color: #B91C1C; }

.api-endpoint-uri {
    font-size: 0.88rem;
    color: #374151;
    font-family: monospace;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 5px;
}
.auth-badge { font-size: 0.9rem; }
.api-endpoint-title { font-size: 0.82rem; color: #6B7280; }
.api-endpoint-chevron { color: #7C3AED; font-size: 1rem; transition: transform 0.2s; }
.api-endpoint[open] .api-endpoint-chevron { transform: rotate(180deg); }

.api-endpoint-body { padding: 1.25rem; }

.api-endpoint-desc {
    background: #F8FAFC;
    border-left: 3px solid #818CF8;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: #374151;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.api-tabs { margin-top: 0.5rem; }

.api-tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.api-tab-btn {
    padding: 6px 16px;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: 6px 6px 0 0;
    transition: all 0.15s;
}
.api-tab-btn:hover { color: #4F46E5; background: #EEF2FF; }
.api-tab-btn.active { color: #4F46E5; border-bottom-color: #4F46E5; font-weight: 600; }

.api-tab-content { display: none; }
.api-tab-content.active { display: block; }

.api-method-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1E1B4B;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.api-full-uri { color: #E0E7FF; font-family: monospace; font-size: 0.9rem; }

.api-params-section {
    margin-top: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}
.params-title {
    margin: 0;
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
}
.param-row { padding: 8px 14px; border-bottom: 1px solid #F3F4F6; }
.param-row:last-child { border-bottom: none; }

.api-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.88rem;
    margin-top: 4px;
    font-family: monospace;
    transition: border-color 0.15s;
}
.api-input:focus { outline: none; border-color: #818CF8; box-shadow: 0 0 0 3px rgba(129,140,248,0.15); }

.api-auth-row { margin-bottom: 1rem; }
.field-label { font-size: 0.8rem; font-weight: 600; color: #374151; }

.api-tryout-bar {
    display: flex;
    gap: 8px;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.btn-tryout, .btn-cancel, .btn-send {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}
.btn-tryout { background: #4F46E5; color: white; }
.btn-tryout:hover { background: #3730A3; }
.btn-cancel { background: #FEE2E2; color: #B91C1C; }
.btn-cancel:hover { background: #FECACA; }
.btn-send { background: #059669; color: white; }
.btn-send:hover { background: #047857; }

.api-result {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}
.api-result--error { border-color: #FECACA; }
.result-header {
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 8px;
}
.result-status { font-family: monospace; }
.result-code {
    margin: 0;
    padding: 1rem;
    background: #1E1B4B;
    color: #E0E7FF;
    font-size: 0.82rem;
    overflow-x: auto;
    max-height: 300px;
}

.examples-lang-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.lang-btn {
    padding: 5px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    background: white;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.15s;
}
.lang-btn:hover { border-color: #818CF8; color: #4F46E5; }
.lang-btn.active { background: #4F46E5; color: white; border-color: #4F46E5; }
.lang-block.hidden { display: none; }

.response-block { margin-bottom: 1rem; }
.response-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.status-badge {
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: monospace;
}
.status-2xx { background: #DCFCE7; color: #15803D; }
.status-4xx { background: #FEF3C7; color: #92400E; }
.status-5xx { background: #FEE2E2; color: #B91C1C; }
.response-desc { font-size: 0.82rem; color: #6B7280; }

@media (max-width: 640px) {
    .api-endpoint-header { padding: 0.75rem 1rem; }
    .api-endpoint-body { padding: 0.75rem; }
    .api-endpoint-right { display: none; }
    .api-full-uri { font-size: 0.78rem; word-break: break-all; }
    .result-code { font-size: 0.75rem; }
}
</style>

<script>
function switchTab(endpointId, tabId) {
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-content').forEach(el => el.classList.remove('active'));
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-btn').forEach(el => el.classList.remove('active'));
    document.getElementById(tabId).classList.add('active');
    event.target.classList.add('active');
}

function switchLang(endpointId, lang) {
    document.querySelectorAll('#lang-nav-' + endpointId + ' .lang-btn').forEach(b => b.classList.remove('active'));
    document.querySelectorAll('[id^="lang-' + endpointId + '-"]').forEach(b => b.classList.add('hidden'));
    event.target.classList.add('active');
    document.getElementById('lang-' + endpointId + '-' + lang).classList.remove('hidden');
}

document.addEventListener('DOMContentLoaded', function() {
    document.querySelectorAll('.api-tab-btn').forEach(btn => {
        btn.addEventListener('click', function() {
            const endpointId = this.closest('.api-tabs').dataset.endpoint;
            const tabId = this.dataset.tab;
            switchTab(endpointId, tabId);
        });
    });
});
</script>
<details class="api-endpoint" id="endpoint-GETapi-referentiel-permissions--id-">
<summary class="api-endpoint-header">
    <div class="api-endpoint-left">
                <span class="http-badge http-get">GET</span>
                <code class="api-endpoint-uri">api/referentiel/permissions/{id}</code>
            </div>
    <div class="api-endpoint-right">
                <span class="api-endpoint-title">detail</span>
                <span class="api-endpoint-chevron">▾</span>
    </div>
</summary>

<div class="api-endpoint-body">


<div class="api-tabs" data-endpoint="GETapi-referentiel-permissions--id-">
    <div class="api-tab-nav">
        <button class="api-tab-btn active" data-tab="request-GETapi-referentiel-permissions--id-">📋 Requête</button>
        <button class="api-tab-btn" data-tab="examples-GETapi-referentiel-permissions--id-">💻 Exemples</button>
                <button class="api-tab-btn" data-tab="response-GETapi-referentiel-permissions--id-">📬 Réponse</button>
            </div>

    
    <div class="api-tab-content active" id="request-GETapi-referentiel-permissions--id-">
        <form id="form-GETapi-referentiel-permissions--id-"
              data-method="GET"
              data-path="api/referentiel/permissions/{id}"
              data-authed="0"
              data-hasfiles="0"
              data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}'
              onsubmit="event.preventDefault(); executeTryOut('GETapi-referentiel-permissions--id-', this);">

                        <div class="api-method-row">
                <span class="http-badge http-get">GET</span>
                <code class="api-full-uri">api/referentiel/permissions/{id}</code>
            </div>
            
            
                        <div class="api-params-section">
                <h4 class="params-title">🔗 Paramètres URL</h4>
                                <div class="param-row">
                    <b><code>id</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="id" data-endpoint="GETapi-referentiel-permissions--id-" data-component="url" required  hidden>
<br>

                </div>
                            </div>
            
            
            
                        <div class="api-tryout-bar">
                <button type="button" class="btn-tryout" id="btn-tryout-GETapi-referentiel-permissions--id-"
                        onclick="tryItOut('GETapi-referentiel-permissions--id-')">
                    ⚡ Tester
                </button>
                <button type="button" class="btn-cancel" id="btn-canceltryout-GETapi-referentiel-permissions--id-"
                        onclick="cancelTryOut('GETapi-referentiel-permissions--id-')" hidden>
                    ✕ Annuler
                </button>
                <button type="submit" class="btn-send" id="btn-executetryout-GETapi-referentiel-permissions--id-" hidden>
                    🚀 Envoyer
                </button>
            </div>
                    </form>

        <div id="execution-results-GETapi-referentiel-permissions--id-" class="api-result" hidden>
            <div class="result-header">
                Réponse reçue <span class="result-status" id="execution-response-status-GETapi-referentiel-permissions--id-"></span>
            </div>
            <pre class="result-code"><code id="execution-response-content-GETapi-referentiel-permissions--id-"></code></pre>
        </div>
        <div id="execution-error-GETapi-referentiel-permissions--id-" class="api-result api-result--error" hidden>
            <div class="result-header">❌ Erreur</div>
            <pre class="result-code"><code id="execution-error-message-GETapi-referentiel-permissions--id-"></code></pre>
        </div>
    </div>

    
    <div class="api-tab-content" id="examples-GETapi-referentiel-permissions--id-">
        <div class="examples-lang-nav" id="lang-nav-GETapi-referentiel-permissions--id-">
                        <button class="lang-btn active"
                    data-lang="bash"
                    data-endpoint="GETapi-referentiel-permissions--id-"
                    onclick="switchLang('GETapi-referentiel-permissions--id-', 'bash')">
                BASH
            </button>
                        <button class="lang-btn "
                    data-lang="javascript"
                    data-endpoint="GETapi-referentiel-permissions--id-"
                    onclick="switchLang('GETapi-referentiel-permissions--id-', 'javascript')">
                JAVASCRIPT
            </button>
                    </div>
                <div class="lang-block " id="lang-GETapi-referentiel-permissions--id--bash">
            ```bash
curl -X GET \
    -G "http://localhost/api/referentiel/permissions/a" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```
        </div>
                <div class="lang-block hidden" id="lang-GETapi-referentiel-permissions--id--javascript">
            ```javascript
const url = new URL(
    "http://localhost/api/referentiel/permissions/a"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
```
        </div>
            </div>

    
        <div class="api-tab-content" id="response-GETapi-referentiel-permissions--id-">
                <div class="response-block">
            <div class="response-status-bar">
                <span class="status-badge status-5xx">
                    500
                </span>
                <span class="response-desc"></span>
            </div>
            <pre class="result-code"><code>{
    "message": "Argument 1 passed to Modules\\Referentiel\\Services\\BaseService::getById() must be of the type int, string given, called in C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\Modules\\Referentiel\\Http\\Controllers\\PermissionController.php on line 64",
    "exception": "TypeError",
    "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\Modules\\Referentiel\\Services\\BaseService.php",
    "line": 29,
    "trace": [
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\Modules\\Referentiel\\Http\\Controllers\\PermissionController.php",
            "line": 64,
            "function": "getById",
            "class": "Modules\\Referentiel\\Services\\BaseService",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Controller.php",
            "line": 54,
            "function": "show",
            "class": "Modules\\Referentiel\\Http\\Controllers\\PermissionController",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
            "line": 45,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 262,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
            "line": 205,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 721,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 128,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
            "line": 50,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 127,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 103,
            "function": "handleRequest",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\ThrottleRequests.php",
            "line": 55,
            "function": "handleRequestUsingNamedLimiter",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\sanctum\\src\\Http\\Middleware\\EnsureFrontendRequestsAreStateful.php",
            "line": 33,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 128,
            "function": "Laravel\\Sanctum\\Http\\Middleware\\{closure}",
            "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 103,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\sanctum\\src\\Http\\Middleware\\EnsureFrontendRequestsAreStateful.php",
            "line": 34,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 103,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 723,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 698,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 662,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
            "line": 651,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 167,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 128,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
            "line": 31,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
            "line": 21,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
            "line": 40,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
            "line": 86,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\fruitcake\\laravel-cors\\src\\HandleCors.php",
            "line": 52,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Fruitcake\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
            "line": 39,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 167,
            "function": "handle",
            "class": "Illuminate\\Http\\Middleware\\TrustProxies",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
            "line": 103,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 142,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
            "line": 111,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 324,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 305,
            "function": "callLaravelOrLumenRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 76,
            "function": "makeApiCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 51,
            "function": "makeResponseCall",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
            "line": 41,
            "function": "makeResponseCallIfEnabledAndNoSuccessResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Generator.php",
            "line": 236,
            "function": "__invoke",
            "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Generator.php",
            "line": 172,
            "function": "iterateThroughStrategies",
            "class": "Knuckles\\Scribe\\Extracting\\Generator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Generator.php",
            "line": 127,
            "function": "fetchResponses",
            "class": "Knuckles\\Scribe\\Extracting\\Generator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 119,
            "function": "processRoute",
            "class": "Knuckles\\Scribe\\Extracting\\Generator",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
            "line": 73,
            "function": "processRoutes",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 36,
            "function": "handle",
            "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
            "line": 40,
            "function": "Illuminate\\Container\\{closure}",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 93,
            "function": "unwrapIfClosure",
            "class": "Illuminate\\Container\\Util",
            "type": "::"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
            "line": 37,
            "function": "callBoundMethod",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
            "line": 653,
            "function": "call",
            "class": "Illuminate\\Container\\BoundMethod",
            "type": "::"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 136,
            "function": "call",
            "class": "Illuminate\\Container\\Container",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\symfony\\console\\Command\\Command.php",
            "line": 298,
            "function": "execute",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
            "line": 121,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Command\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\symfony\\console\\Application.php",
            "line": 1040,
            "function": "run",
            "class": "Illuminate\\Console\\Command",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\symfony\\console\\Application.php",
            "line": 301,
            "function": "doRunCommand",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\symfony\\console\\Application.php",
            "line": 171,
            "function": "doRun",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Application.php",
            "line": 94,
            "function": "run",
            "class": "Symfony\\Component\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
            "line": 129,
            "function": "run",
            "class": "Illuminate\\Console\\Application",
            "type": "->"
        },
        {
            "file": "C:\\Users\\SNS.DEV-KOUADIO\\Documents\\Projet CVtheque\\cvtheque back\\cvtheque\\artisan",
            "line": 37,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Console\\Kernel",
            "type": "->"
        }
    ]
}
</code></pre>
        </div>
        
            </div>
    </div>
</div>
</details>

<style>
.api-endpoint {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s;
}
.api-endpoint:hover { border-color: #A5B4FC; }
.api-endpoint[open] { border-color: #818CF8; box-shadow: 0 2px 16px rgba(79,70,229,0.08); }

.api-endpoint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    list-style: none;
    background: #FAFAFA;
    gap: 12px;
    flex-wrap: wrap;
}
.api-endpoint[open] .api-endpoint-header { background: #F5F3FF; border-bottom: 1px solid #E0E7FF; }
.api-endpoint-header::-webkit-details-marker { display: none; }
.api-endpoint-header:hover { background: #EEF2FF; }

.api-endpoint-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.api-endpoint-right { display: flex; align-items: center; gap: 10px; }

.http-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.http-get    { background: #DBEAFE; color: #1D4ED8; }
.http-post   { background: #DCFCE7; color: #15803D; }
.http-put    { background: #FEF3C7; color: #92400E; }
.http-patch  { background: #FEF3C7; color: #92400E; }
.http-delete { background: #FEE2E2; color: #B91C1C; }

.api-endpoint-uri {
    font-size: 0.88rem;
    color: #374151;
    font-family: monospace;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 5px;
}
.auth-badge { font-size: 0.9rem; }
.api-endpoint-title { font-size: 0.82rem; color: #6B7280; }
.api-endpoint-chevron { color: #7C3AED; font-size: 1rem; transition: transform 0.2s; }
.api-endpoint[open] .api-endpoint-chevron { transform: rotate(180deg); }

.api-endpoint-body { padding: 1.25rem; }

.api-endpoint-desc {
    background: #F8FAFC;
    border-left: 3px solid #818CF8;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: #374151;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.api-tabs { margin-top: 0.5rem; }

.api-tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.api-tab-btn {
    padding: 6px 16px;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: 6px 6px 0 0;
    transition: all 0.15s;
}
.api-tab-btn:hover { color: #4F46E5; background: #EEF2FF; }
.api-tab-btn.active { color: #4F46E5; border-bottom-color: #4F46E5; font-weight: 600; }

.api-tab-content { display: none; }
.api-tab-content.active { display: block; }

.api-method-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1E1B4B;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.api-full-uri { color: #E0E7FF; font-family: monospace; font-size: 0.9rem; }

.api-params-section {
    margin-top: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}
.params-title {
    margin: 0;
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
}
.param-row { padding: 8px 14px; border-bottom: 1px solid #F3F4F6; }
.param-row:last-child { border-bottom: none; }

.api-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.88rem;
    margin-top: 4px;
    font-family: monospace;
    transition: border-color 0.15s;
}
.api-input:focus { outline: none; border-color: #818CF8; box-shadow: 0 0 0 3px rgba(129,140,248,0.15); }

.api-auth-row { margin-bottom: 1rem; }
.field-label { font-size: 0.8rem; font-weight: 600; color: #374151; }

.api-tryout-bar {
    display: flex;
    gap: 8px;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.btn-tryout, .btn-cancel, .btn-send {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}
.btn-tryout { background: #4F46E5; color: white; }
.btn-tryout:hover { background: #3730A3; }
.btn-cancel { background: #FEE2E2; color: #B91C1C; }
.btn-cancel:hover { background: #FECACA; }
.btn-send { background: #059669; color: white; }
.btn-send:hover { background: #047857; }

.api-result {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}
.api-result--error { border-color: #FECACA; }
.result-header {
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 8px;
}
.result-status { font-family: monospace; }
.result-code {
    margin: 0;
    padding: 1rem;
    background: #1E1B4B;
    color: #E0E7FF;
    font-size: 0.82rem;
    overflow-x: auto;
    max-height: 300px;
}

.examples-lang-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.lang-btn {
    padding: 5px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    background: white;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.15s;
}
.lang-btn:hover { border-color: #818CF8; color: #4F46E5; }
.lang-btn.active { background: #4F46E5; color: white; border-color: #4F46E5; }
.lang-block.hidden { display: none; }

.response-block { margin-bottom: 1rem; }
.response-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.status-badge {
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: monospace;
}
.status-2xx { background: #DCFCE7; color: #15803D; }
.status-4xx { background: #FEF3C7; color: #92400E; }
.status-5xx { background: #FEE2E2; color: #B91C1C; }
.response-desc { font-size: 0.82rem; color: #6B7280; }

@media (max-width: 640px) {
    .api-endpoint-header { padding: 0.75rem 1rem; }
    .api-endpoint-body { padding: 0.75rem; }
    .api-endpoint-right { display: none; }
    .api-full-uri { font-size: 0.78rem; word-break: break-all; }
    .result-code { font-size: 0.75rem; }
}
</style>

<script>
function switchTab(endpointId, tabId) {
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-content').forEach(el => el.classList.remove('active'));
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-btn').forEach(el => el.classList.remove('active'));
    document.getElementById(tabId).classList.add('active');
    event.target.classList.add('active');
}

function switchLang(endpointId, lang) {
    document.querySelectorAll('#lang-nav-' + endpointId + ' .lang-btn').forEach(b => b.classList.remove('active'));
    document.querySelectorAll('[id^="lang-' + endpointId + '-"]').forEach(b => b.classList.add('hidden'));
    event.target.classList.add('active');
    document.getElementById('lang-' + endpointId + '-' + lang).classList.remove('hidden');
}

document.addEventListener('DOMContentLoaded', function() {
    document.querySelectorAll('.api-tab-btn').forEach(btn => {
        btn.addEventListener('click', function() {
            const endpointId = this.closest('.api-tabs').dataset.endpoint;
            const tabId = this.dataset.tab;
            switchTab(endpointId, tabId);
        });
    });
});
</script>
<details class="api-endpoint" id="endpoint-POSTapi-referentiel-permissions">
<summary class="api-endpoint-header">
    <div class="api-endpoint-left">
                <span class="http-badge http-post">POST</span>
                <code class="api-endpoint-uri">api/referentiel/permissions</code>
            </div>
    <div class="api-endpoint-right">
                <span class="api-endpoint-title">creation</span>
                <span class="api-endpoint-chevron">▾</span>
    </div>
</summary>

<div class="api-endpoint-body">


<div class="api-tabs" data-endpoint="POSTapi-referentiel-permissions">
    <div class="api-tab-nav">
        <button class="api-tab-btn active" data-tab="request-POSTapi-referentiel-permissions">📋 Requête</button>
        <button class="api-tab-btn" data-tab="examples-POSTapi-referentiel-permissions">💻 Exemples</button>
            </div>

    
    <div class="api-tab-content active" id="request-POSTapi-referentiel-permissions">
        <form id="form-POSTapi-referentiel-permissions"
              data-method="POST"
              data-path="api/referentiel/permissions"
              data-authed="0"
              data-hasfiles="0"
              data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}'
              onsubmit="event.preventDefault(); executeTryOut('POSTapi-referentiel-permissions', this);">

                        <div class="api-method-row">
                <span class="http-badge http-post">POST</span>
                <code class="api-full-uri">api/referentiel/permissions</code>
            </div>
            
            
            
            
            
                        <div class="api-tryout-bar">
                <button type="button" class="btn-tryout" id="btn-tryout-POSTapi-referentiel-permissions"
                        onclick="tryItOut('POSTapi-referentiel-permissions')">
                    ⚡ Tester
                </button>
                <button type="button" class="btn-cancel" id="btn-canceltryout-POSTapi-referentiel-permissions"
                        onclick="cancelTryOut('POSTapi-referentiel-permissions')" hidden>
                    ✕ Annuler
                </button>
                <button type="submit" class="btn-send" id="btn-executetryout-POSTapi-referentiel-permissions" hidden>
                    🚀 Envoyer
                </button>
            </div>
                    </form>

        <div id="execution-results-POSTapi-referentiel-permissions" class="api-result" hidden>
            <div class="result-header">
                Réponse reçue <span class="result-status" id="execution-response-status-POSTapi-referentiel-permissions"></span>
            </div>
            <pre class="result-code"><code id="execution-response-content-POSTapi-referentiel-permissions"></code></pre>
        </div>
        <div id="execution-error-POSTapi-referentiel-permissions" class="api-result api-result--error" hidden>
            <div class="result-header">❌ Erreur</div>
            <pre class="result-code"><code id="execution-error-message-POSTapi-referentiel-permissions"></code></pre>
        </div>
    </div>

    
    <div class="api-tab-content" id="examples-POSTapi-referentiel-permissions">
        <div class="examples-lang-nav" id="lang-nav-POSTapi-referentiel-permissions">
                        <button class="lang-btn active"
                    data-lang="bash"
                    data-endpoint="POSTapi-referentiel-permissions"
                    onclick="switchLang('POSTapi-referentiel-permissions', 'bash')">
                BASH
            </button>
                        <button class="lang-btn "
                    data-lang="javascript"
                    data-endpoint="POSTapi-referentiel-permissions"
                    onclick="switchLang('POSTapi-referentiel-permissions', 'javascript')">
                JAVASCRIPT
            </button>
                    </div>
                <div class="lang-block " id="lang-POSTapi-referentiel-permissions-bash">
            ```bash
curl -X POST \
    "http://localhost/api/referentiel/permissions" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```
        </div>
                <div class="lang-block hidden" id="lang-POSTapi-referentiel-permissions-javascript">
            ```javascript
const url = new URL(
    "http://localhost/api/referentiel/permissions"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
```
        </div>
            </div>

    
    </div>
</div>
</details>

<style>
.api-endpoint {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s;
}
.api-endpoint:hover { border-color: #A5B4FC; }
.api-endpoint[open] { border-color: #818CF8; box-shadow: 0 2px 16px rgba(79,70,229,0.08); }

.api-endpoint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    list-style: none;
    background: #FAFAFA;
    gap: 12px;
    flex-wrap: wrap;
}
.api-endpoint[open] .api-endpoint-header { background: #F5F3FF; border-bottom: 1px solid #E0E7FF; }
.api-endpoint-header::-webkit-details-marker { display: none; }
.api-endpoint-header:hover { background: #EEF2FF; }

.api-endpoint-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.api-endpoint-right { display: flex; align-items: center; gap: 10px; }

.http-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.http-get    { background: #DBEAFE; color: #1D4ED8; }
.http-post   { background: #DCFCE7; color: #15803D; }
.http-put    { background: #FEF3C7; color: #92400E; }
.http-patch  { background: #FEF3C7; color: #92400E; }
.http-delete { background: #FEE2E2; color: #B91C1C; }

.api-endpoint-uri {
    font-size: 0.88rem;
    color: #374151;
    font-family: monospace;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 5px;
}
.auth-badge { font-size: 0.9rem; }
.api-endpoint-title { font-size: 0.82rem; color: #6B7280; }
.api-endpoint-chevron { color: #7C3AED; font-size: 1rem; transition: transform 0.2s; }
.api-endpoint[open] .api-endpoint-chevron { transform: rotate(180deg); }

.api-endpoint-body { padding: 1.25rem; }

.api-endpoint-desc {
    background: #F8FAFC;
    border-left: 3px solid #818CF8;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: #374151;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.api-tabs { margin-top: 0.5rem; }

.api-tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.api-tab-btn {
    padding: 6px 16px;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: 6px 6px 0 0;
    transition: all 0.15s;
}
.api-tab-btn:hover { color: #4F46E5; background: #EEF2FF; }
.api-tab-btn.active { color: #4F46E5; border-bottom-color: #4F46E5; font-weight: 600; }

.api-tab-content { display: none; }
.api-tab-content.active { display: block; }

.api-method-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1E1B4B;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.api-full-uri { color: #E0E7FF; font-family: monospace; font-size: 0.9rem; }

.api-params-section {
    margin-top: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}
.params-title {
    margin: 0;
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
}
.param-row { padding: 8px 14px; border-bottom: 1px solid #F3F4F6; }
.param-row:last-child { border-bottom: none; }

.api-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.88rem;
    margin-top: 4px;
    font-family: monospace;
    transition: border-color 0.15s;
}
.api-input:focus { outline: none; border-color: #818CF8; box-shadow: 0 0 0 3px rgba(129,140,248,0.15); }

.api-auth-row { margin-bottom: 1rem; }
.field-label { font-size: 0.8rem; font-weight: 600; color: #374151; }

.api-tryout-bar {
    display: flex;
    gap: 8px;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.btn-tryout, .btn-cancel, .btn-send {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}
.btn-tryout { background: #4F46E5; color: white; }
.btn-tryout:hover { background: #3730A3; }
.btn-cancel { background: #FEE2E2; color: #B91C1C; }
.btn-cancel:hover { background: #FECACA; }
.btn-send { background: #059669; color: white; }
.btn-send:hover { background: #047857; }

.api-result {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}
.api-result--error { border-color: #FECACA; }
.result-header {
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 8px;
}
.result-status { font-family: monospace; }
.result-code {
    margin: 0;
    padding: 1rem;
    background: #1E1B4B;
    color: #E0E7FF;
    font-size: 0.82rem;
    overflow-x: auto;
    max-height: 300px;
}

.examples-lang-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.lang-btn {
    padding: 5px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    background: white;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.15s;
}
.lang-btn:hover { border-color: #818CF8; color: #4F46E5; }
.lang-btn.active { background: #4F46E5; color: white; border-color: #4F46E5; }
.lang-block.hidden { display: none; }

.response-block { margin-bottom: 1rem; }
.response-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.status-badge {
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: monospace;
}
.status-2xx { background: #DCFCE7; color: #15803D; }
.status-4xx { background: #FEF3C7; color: #92400E; }
.status-5xx { background: #FEE2E2; color: #B91C1C; }
.response-desc { font-size: 0.82rem; color: #6B7280; }

@media (max-width: 640px) {
    .api-endpoint-header { padding: 0.75rem 1rem; }
    .api-endpoint-body { padding: 0.75rem; }
    .api-endpoint-right { display: none; }
    .api-full-uri { font-size: 0.78rem; word-break: break-all; }
    .result-code { font-size: 0.75rem; }
}
</style>

<script>
function switchTab(endpointId, tabId) {
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-content').forEach(el => el.classList.remove('active'));
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-btn').forEach(el => el.classList.remove('active'));
    document.getElementById(tabId).classList.add('active');
    event.target.classList.add('active');
}

function switchLang(endpointId, lang) {
    document.querySelectorAll('#lang-nav-' + endpointId + ' .lang-btn').forEach(b => b.classList.remove('active'));
    document.querySelectorAll('[id^="lang-' + endpointId + '-"]').forEach(b => b.classList.add('hidden'));
    event.target.classList.add('active');
    document.getElementById('lang-' + endpointId + '-' + lang).classList.remove('hidden');
}

document.addEventListener('DOMContentLoaded', function() {
    document.querySelectorAll('.api-tab-btn').forEach(btn => {
        btn.addEventListener('click', function() {
            const endpointId = this.closest('.api-tabs').dataset.endpoint;
            const tabId = this.dataset.tab;
            switchTab(endpointId, tabId);
        });
    });
});
</script>
<details class="api-endpoint" id="endpoint-PUTapi-referentiel-permissions--id-">
<summary class="api-endpoint-header">
    <div class="api-endpoint-left">
                <span class="http-badge http-put">PUT</span>
                <code class="api-endpoint-uri">api/referentiel/permissions/{id}</code>
            </div>
    <div class="api-endpoint-right">
                <span class="api-endpoint-title">mise a jour</span>
                <span class="api-endpoint-chevron">▾</span>
    </div>
</summary>

<div class="api-endpoint-body">


<div class="api-tabs" data-endpoint="PUTapi-referentiel-permissions--id-">
    <div class="api-tab-nav">
        <button class="api-tab-btn active" data-tab="request-PUTapi-referentiel-permissions--id-">📋 Requête</button>
        <button class="api-tab-btn" data-tab="examples-PUTapi-referentiel-permissions--id-">💻 Exemples</button>
            </div>

    
    <div class="api-tab-content active" id="request-PUTapi-referentiel-permissions--id-">
        <form id="form-PUTapi-referentiel-permissions--id-"
              data-method="PUT"
              data-path="api/referentiel/permissions/{id}"
              data-authed="0"
              data-hasfiles="0"
              data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}'
              onsubmit="event.preventDefault(); executeTryOut('PUTapi-referentiel-permissions--id-', this);">

                        <div class="api-method-row">
                <span class="http-badge http-put">PUT</span>
                <code class="api-full-uri">api/referentiel/permissions/{id}</code>
            </div>
            
            
                        <div class="api-params-section">
                <h4 class="params-title">🔗 Paramètres URL</h4>
                                <div class="param-row">
                    <b><code>id</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="id" data-endpoint="PUTapi-referentiel-permissions--id-" data-component="url" required  hidden>
<br>

                </div>
                            </div>
            
            
            
                        <div class="api-tryout-bar">
                <button type="button" class="btn-tryout" id="btn-tryout-PUTapi-referentiel-permissions--id-"
                        onclick="tryItOut('PUTapi-referentiel-permissions--id-')">
                    ⚡ Tester
                </button>
                <button type="button" class="btn-cancel" id="btn-canceltryout-PUTapi-referentiel-permissions--id-"
                        onclick="cancelTryOut('PUTapi-referentiel-permissions--id-')" hidden>
                    ✕ Annuler
                </button>
                <button type="submit" class="btn-send" id="btn-executetryout-PUTapi-referentiel-permissions--id-" hidden>
                    🚀 Envoyer
                </button>
            </div>
                    </form>

        <div id="execution-results-PUTapi-referentiel-permissions--id-" class="api-result" hidden>
            <div class="result-header">
                Réponse reçue <span class="result-status" id="execution-response-status-PUTapi-referentiel-permissions--id-"></span>
            </div>
            <pre class="result-code"><code id="execution-response-content-PUTapi-referentiel-permissions--id-"></code></pre>
        </div>
        <div id="execution-error-PUTapi-referentiel-permissions--id-" class="api-result api-result--error" hidden>
            <div class="result-header">❌ Erreur</div>
            <pre class="result-code"><code id="execution-error-message-PUTapi-referentiel-permissions--id-"></code></pre>
        </div>
    </div>

    
    <div class="api-tab-content" id="examples-PUTapi-referentiel-permissions--id-">
        <div class="examples-lang-nav" id="lang-nav-PUTapi-referentiel-permissions--id-">
                        <button class="lang-btn active"
                    data-lang="bash"
                    data-endpoint="PUTapi-referentiel-permissions--id-"
                    onclick="switchLang('PUTapi-referentiel-permissions--id-', 'bash')">
                BASH
            </button>
                        <button class="lang-btn "
                    data-lang="javascript"
                    data-endpoint="PUTapi-referentiel-permissions--id-"
                    onclick="switchLang('PUTapi-referentiel-permissions--id-', 'javascript')">
                JAVASCRIPT
            </button>
                    </div>
                <div class="lang-block " id="lang-PUTapi-referentiel-permissions--id--bash">
            ```bash
curl -X PUT \
    "http://localhost/api/referentiel/permissions/pariatur" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```
        </div>
                <div class="lang-block hidden" id="lang-PUTapi-referentiel-permissions--id--javascript">
            ```javascript
const url = new URL(
    "http://localhost/api/referentiel/permissions/pariatur"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());
```
        </div>
            </div>

    
    </div>
</div>
</details>

<style>
.api-endpoint {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s;
}
.api-endpoint:hover { border-color: #A5B4FC; }
.api-endpoint[open] { border-color: #818CF8; box-shadow: 0 2px 16px rgba(79,70,229,0.08); }

.api-endpoint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    list-style: none;
    background: #FAFAFA;
    gap: 12px;
    flex-wrap: wrap;
}
.api-endpoint[open] .api-endpoint-header { background: #F5F3FF; border-bottom: 1px solid #E0E7FF; }
.api-endpoint-header::-webkit-details-marker { display: none; }
.api-endpoint-header:hover { background: #EEF2FF; }

.api-endpoint-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.api-endpoint-right { display: flex; align-items: center; gap: 10px; }

.http-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.http-get    { background: #DBEAFE; color: #1D4ED8; }
.http-post   { background: #DCFCE7; color: #15803D; }
.http-put    { background: #FEF3C7; color: #92400E; }
.http-patch  { background: #FEF3C7; color: #92400E; }
.http-delete { background: #FEE2E2; color: #B91C1C; }

.api-endpoint-uri {
    font-size: 0.88rem;
    color: #374151;
    font-family: monospace;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 5px;
}
.auth-badge { font-size: 0.9rem; }
.api-endpoint-title { font-size: 0.82rem; color: #6B7280; }
.api-endpoint-chevron { color: #7C3AED; font-size: 1rem; transition: transform 0.2s; }
.api-endpoint[open] .api-endpoint-chevron { transform: rotate(180deg); }

.api-endpoint-body { padding: 1.25rem; }

.api-endpoint-desc {
    background: #F8FAFC;
    border-left: 3px solid #818CF8;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: #374151;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.api-tabs { margin-top: 0.5rem; }

.api-tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.api-tab-btn {
    padding: 6px 16px;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: 6px 6px 0 0;
    transition: all 0.15s;
}
.api-tab-btn:hover { color: #4F46E5; background: #EEF2FF; }
.api-tab-btn.active { color: #4F46E5; border-bottom-color: #4F46E5; font-weight: 600; }

.api-tab-content { display: none; }
.api-tab-content.active { display: block; }

.api-method-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1E1B4B;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.api-full-uri { color: #E0E7FF; font-family: monospace; font-size: 0.9rem; }

.api-params-section {
    margin-top: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}
.params-title {
    margin: 0;
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
}
.param-row { padding: 8px 14px; border-bottom: 1px solid #F3F4F6; }
.param-row:last-child { border-bottom: none; }

.api-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.88rem;
    margin-top: 4px;
    font-family: monospace;
    transition: border-color 0.15s;
}
.api-input:focus { outline: none; border-color: #818CF8; box-shadow: 0 0 0 3px rgba(129,140,248,0.15); }

.api-auth-row { margin-bottom: 1rem; }
.field-label { font-size: 0.8rem; font-weight: 600; color: #374151; }

.api-tryout-bar {
    display: flex;
    gap: 8px;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.btn-tryout, .btn-cancel, .btn-send {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}
.btn-tryout { background: #4F46E5; color: white; }
.btn-tryout:hover { background: #3730A3; }
.btn-cancel { background: #FEE2E2; color: #B91C1C; }
.btn-cancel:hover { background: #FECACA; }
.btn-send { background: #059669; color: white; }
.btn-send:hover { background: #047857; }

.api-result {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}
.api-result--error { border-color: #FECACA; }
.result-header {
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 8px;
}
.result-status { font-family: monospace; }
.result-code {
    margin: 0;
    padding: 1rem;
    background: #1E1B4B;
    color: #E0E7FF;
    font-size: 0.82rem;
    overflow-x: auto;
    max-height: 300px;
}

.examples-lang-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.lang-btn {
    padding: 5px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    background: white;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.15s;
}
.lang-btn:hover { border-color: #818CF8; color: #4F46E5; }
.lang-btn.active { background: #4F46E5; color: white; border-color: #4F46E5; }
.lang-block.hidden { display: none; }

.response-block { margin-bottom: 1rem; }
.response-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.status-badge {
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: monospace;
}
.status-2xx { background: #DCFCE7; color: #15803D; }
.status-4xx { background: #FEF3C7; color: #92400E; }
.status-5xx { background: #FEE2E2; color: #B91C1C; }
.response-desc { font-size: 0.82rem; color: #6B7280; }

@media (max-width: 640px) {
    .api-endpoint-header { padding: 0.75rem 1rem; }
    .api-endpoint-body { padding: 0.75rem; }
    .api-endpoint-right { display: none; }
    .api-full-uri { font-size: 0.78rem; word-break: break-all; }
    .result-code { font-size: 0.75rem; }
}
</style>

<script>
function switchTab(endpointId, tabId) {
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-content').forEach(el => el.classList.remove('active'));
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-btn').forEach(el => el.classList.remove('active'));
    document.getElementById(tabId).classList.add('active');
    event.target.classList.add('active');
}

function switchLang(endpointId, lang) {
    document.querySelectorAll('#lang-nav-' + endpointId + ' .lang-btn').forEach(b => b.classList.remove('active'));
    document.querySelectorAll('[id^="lang-' + endpointId + '-"]').forEach(b => b.classList.add('hidden'));
    event.target.classList.add('active');
    document.getElementById('lang-' + endpointId + '-' + lang).classList.remove('hidden');
}

document.addEventListener('DOMContentLoaded', function() {
    document.querySelectorAll('.api-tab-btn').forEach(btn => {
        btn.addEventListener('click', function() {
            const endpointId = this.closest('.api-tabs').dataset.endpoint;
            const tabId = this.dataset.tab;
            switchTab(endpointId, tabId);
        });
    });
});
</script>
<details class="api-endpoint" id="endpoint-DELETEapi-referentiel-permissions--id-">
<summary class="api-endpoint-header">
    <div class="api-endpoint-left">
                <span class="http-badge http-delete">DELETE</span>
                <code class="api-endpoint-uri">api/referentiel/permissions/{id}</code>
            </div>
    <div class="api-endpoint-right">
                <span class="api-endpoint-title">delete</span>
                <span class="api-endpoint-chevron">▾</span>
    </div>
</summary>

<div class="api-endpoint-body">


<div class="api-tabs" data-endpoint="DELETEapi-referentiel-permissions--id-">
    <div class="api-tab-nav">
        <button class="api-tab-btn active" data-tab="request-DELETEapi-referentiel-permissions--id-">📋 Requête</button>
        <button class="api-tab-btn" data-tab="examples-DELETEapi-referentiel-permissions--id-">💻 Exemples</button>
            </div>

    
    <div class="api-tab-content active" id="request-DELETEapi-referentiel-permissions--id-">
        <form id="form-DELETEapi-referentiel-permissions--id-"
              data-method="DELETE"
              data-path="api/referentiel/permissions/{id}"
              data-authed="0"
              data-hasfiles="0"
              data-headers='{"Content-Type":"application\/json","Accept":"application\/json"}'
              onsubmit="event.preventDefault(); executeTryOut('DELETEapi-referentiel-permissions--id-', this);">

                        <div class="api-method-row">
                <span class="http-badge http-delete">DELETE</span>
                <code class="api-full-uri">api/referentiel/permissions/{id}</code>
            </div>
            
            
                        <div class="api-params-section">
                <h4 class="params-title">🔗 Paramètres URL</h4>
                                <div class="param-row">
                    <b><code>id</code></b>&nbsp;&nbsp;<small>string</small>  &nbsp;
<input type="text" name="id" data-endpoint="DELETEapi-referentiel-permissions--id-" data-component="url" required  hidden>
<br>

                </div>
                            </div>
            
            
            
                        <div class="api-tryout-bar">
                <button type="button" class="btn-tryout" id="btn-tryout-DELETEapi-referentiel-permissions--id-"
                        onclick="tryItOut('DELETEapi-referentiel-permissions--id-')">
                    ⚡ Tester
                </button>
                <button type="button" class="btn-cancel" id="btn-canceltryout-DELETEapi-referentiel-permissions--id-"
                        onclick="cancelTryOut('DELETEapi-referentiel-permissions--id-')" hidden>
                    ✕ Annuler
                </button>
                <button type="submit" class="btn-send" id="btn-executetryout-DELETEapi-referentiel-permissions--id-" hidden>
                    🚀 Envoyer
                </button>
            </div>
                    </form>

        <div id="execution-results-DELETEapi-referentiel-permissions--id-" class="api-result" hidden>
            <div class="result-header">
                Réponse reçue <span class="result-status" id="execution-response-status-DELETEapi-referentiel-permissions--id-"></span>
            </div>
            <pre class="result-code"><code id="execution-response-content-DELETEapi-referentiel-permissions--id-"></code></pre>
        </div>
        <div id="execution-error-DELETEapi-referentiel-permissions--id-" class="api-result api-result--error" hidden>
            <div class="result-header">❌ Erreur</div>
            <pre class="result-code"><code id="execution-error-message-DELETEapi-referentiel-permissions--id-"></code></pre>
        </div>
    </div>

    
    <div class="api-tab-content" id="examples-DELETEapi-referentiel-permissions--id-">
        <div class="examples-lang-nav" id="lang-nav-DELETEapi-referentiel-permissions--id-">
                        <button class="lang-btn active"
                    data-lang="bash"
                    data-endpoint="DELETEapi-referentiel-permissions--id-"
                    onclick="switchLang('DELETEapi-referentiel-permissions--id-', 'bash')">
                BASH
            </button>
                        <button class="lang-btn "
                    data-lang="javascript"
                    data-endpoint="DELETEapi-referentiel-permissions--id-"
                    onclick="switchLang('DELETEapi-referentiel-permissions--id-', 'javascript')">
                JAVASCRIPT
            </button>
                    </div>
                <div class="lang-block " id="lang-DELETEapi-referentiel-permissions--id--bash">
            ```bash
curl -X DELETE \
    "http://localhost/api/referentiel/permissions/facere" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json"
```
        </div>
                <div class="lang-block hidden" id="lang-DELETEapi-referentiel-permissions--id--javascript">
            ```javascript
const url = new URL(
    "http://localhost/api/referentiel/permissions/facere"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
};


fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
```
        </div>
            </div>

    
    </div>
</div>
</details>

<style>
.api-endpoint {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s;
}
.api-endpoint:hover { border-color: #A5B4FC; }
.api-endpoint[open] { border-color: #818CF8; box-shadow: 0 2px 16px rgba(79,70,229,0.08); }

.api-endpoint-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    list-style: none;
    background: #FAFAFA;
    gap: 12px;
    flex-wrap: wrap;
}
.api-endpoint[open] .api-endpoint-header { background: #F5F3FF; border-bottom: 1px solid #E0E7FF; }
.api-endpoint-header::-webkit-details-marker { display: none; }
.api-endpoint-header:hover { background: #EEF2FF; }

.api-endpoint-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.api-endpoint-right { display: flex; align-items: center; gap: 10px; }

.http-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.http-get    { background: #DBEAFE; color: #1D4ED8; }
.http-post   { background: #DCFCE7; color: #15803D; }
.http-put    { background: #FEF3C7; color: #92400E; }
.http-patch  { background: #FEF3C7; color: #92400E; }
.http-delete { background: #FEE2E2; color: #B91C1C; }

.api-endpoint-uri {
    font-size: 0.88rem;
    color: #374151;
    font-family: monospace;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 5px;
}
.auth-badge { font-size: 0.9rem; }
.api-endpoint-title { font-size: 0.82rem; color: #6B7280; }
.api-endpoint-chevron { color: #7C3AED; font-size: 1rem; transition: transform 0.2s; }
.api-endpoint[open] .api-endpoint-chevron { transform: rotate(180deg); }

.api-endpoint-body { padding: 1.25rem; }

.api-endpoint-desc {
    background: #F8FAFC;
    border-left: 3px solid #818CF8;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: #374151;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.api-tabs { margin-top: 0.5rem; }

.api-tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.api-tab-btn {
    padding: 6px 16px;
    border: none;
    background: none;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    border-radius: 6px 6px 0 0;
    transition: all 0.15s;
}
.api-tab-btn:hover { color: #4F46E5; background: #EEF2FF; }
.api-tab-btn.active { color: #4F46E5; border-bottom-color: #4F46E5; font-weight: 600; }

.api-tab-content { display: none; }
.api-tab-content.active { display: block; }

.api-method-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1E1B4B;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.api-full-uri { color: #E0E7FF; font-family: monospace; font-size: 0.9rem; }

.api-params-section {
    margin-top: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}
.params-title {
    margin: 0;
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
}
.param-row { padding: 8px 14px; border-bottom: 1px solid #F3F4F6; }
.param-row:last-child { border-bottom: none; }

.api-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.88rem;
    margin-top: 4px;
    font-family: monospace;
    transition: border-color 0.15s;
}
.api-input:focus { outline: none; border-color: #818CF8; box-shadow: 0 0 0 3px rgba(129,140,248,0.15); }

.api-auth-row { margin-bottom: 1rem; }
.field-label { font-size: 0.8rem; font-weight: 600; color: #374151; }

.api-tryout-bar {
    display: flex;
    gap: 8px;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.btn-tryout, .btn-cancel, .btn-send {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s;
}
.btn-tryout { background: #4F46E5; color: white; }
.btn-tryout:hover { background: #3730A3; }
.btn-cancel { background: #FEE2E2; color: #B91C1C; }
.btn-cancel:hover { background: #FECACA; }
.btn-send { background: #059669; color: white; }
.btn-send:hover { background: #047857; }

.api-result {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}
.api-result--error { border-color: #FECACA; }
.result-header {
    padding: 8px 14px;
    background: #F9FAFB;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 8px;
}
.result-status { font-family: monospace; }
.result-code {
    margin: 0;
    padding: 1rem;
    background: #1E1B4B;
    color: #E0E7FF;
    font-size: 0.82rem;
    overflow-x: auto;
    max-height: 300px;
}

.examples-lang-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.lang-btn {
    padding: 5px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    background: white;
    cursor: pointer;
    color: #6B7280;
    transition: all 0.15s;
}
.lang-btn:hover { border-color: #818CF8; color: #4F46E5; }
.lang-btn.active { background: #4F46E5; color: white; border-color: #4F46E5; }
.lang-block.hidden { display: none; }

.response-block { margin-bottom: 1rem; }
.response-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}
.status-badge {
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: monospace;
}
.status-2xx { background: #DCFCE7; color: #15803D; }
.status-4xx { background: #FEF3C7; color: #92400E; }
.status-5xx { background: #FEE2E2; color: #B91C1C; }
.response-desc { font-size: 0.82rem; color: #6B7280; }

@media (max-width: 640px) {
    .api-endpoint-header { padding: 0.75rem 1rem; }
    .api-endpoint-body { padding: 0.75rem; }
    .api-endpoint-right { display: none; }
    .api-full-uri { font-size: 0.78rem; word-break: break-all; }
    .result-code { font-size: 0.75rem; }
}
</style>

<script>
function switchTab(endpointId, tabId) {
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-content').forEach(el => el.classList.remove('active'));
    document.querySelectorAll('#endpoint-' + endpointId + ' .api-tab-btn').forEach(el => el.classList.remove('active'));
    document.getElementById(tabId).classList.add('active');
    event.target.classList.add('active');
}

function switchLang(endpointId, lang) {
    document.querySelectorAll('#lang-nav-' + endpointId + ' .lang-btn').forEach(b => b.classList.remove('active'));
    document.querySelectorAll('[id^="lang-' + endpointId + '-"]').forEach(b => b.classList.add('hidden'));
    event.target.classList.add('active');
    document.getElementById('lang-' + endpointId + '-' + lang).classList.remove('hidden');
}

document.addEventListener('DOMContentLoaded', function() {
    document.querySelectorAll('.api-tab-btn').forEach(btn => {
        btn.addEventListener('click', function() {
            const endpointId = this.closest('.api-tabs').dataset.endpoint;
            const tabId = this.dataset.tab;
            switchTab(endpointId, tabId);
        });
    });
});
</script>
</div>
</details>

<style>
.api-group {
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.api-group:hover { box-shadow: 0 4px 24px rgba(79,70,229,0.07); }
.api-group[open] { border-color: #C4B5FD; }

.api-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #F9FAFB;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.15s;
}
.api-group[open] .api-group-header { background: #F5F3FF; border-bottom: 1px solid #DDD6FE; }
.api-group-header::-webkit-details-marker { display: none; }
.api-group-header:hover { background: #EDE9FE; }

.api-group-left { display: flex; align-items: center; gap: 10px; }

.api-group-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
}

.api-group-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1E1B4B;
    letter-spacing: -0.01em;
}

.api-group-count {
    background: #EDE9FE;
    color: #5B21B6;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
}

.api-group-chevron {
    color: #7C3AED;
    font-size: 1.1rem;
    transition: transform 0.2s;
}
.api-group[open] .api-group-chevron { transform: rotate(180deg); }

.api-group-description {
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
    color: #6B7280;
    background: #FAFAFA;
    border-bottom: 1px solid #F3F4F6;
}

.api-group-body { padding: 0.5rem 1rem 1rem; }
</style>