> For the complete documentation index, see [llms.txt](https://doc.commandersact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.commandersact.com/fr/fonctionnalites/sources/sources-catalog/web/containers/best-practices/apis.md).

# APIs

## Liste des tags GET

Renvoie la liste des tags

#### URL d’appel <a href="#resource-url" id="resource-url"></a>

GET api.commander1.com/api/1.0/manage/container/tags/list?**id\_site**=X&**access\_token**=Y&**id\_container**=Z

#### Paramètres de l’appel <a href="#resource-information" id="resource-information"></a>

<table data-header-hidden><thead><tr><th>PARAMÈTRE D’URL</th><th width="151">TYPE</th><th width="163">OBLIGATOIRE</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>PARAMÈTRE D’URL</td><td>TYPE</td><td>OBLIGATOIRE</td><td>DESCRIPTION</td></tr><tr><td>id_site</td><td>Entier</td><td>Oui</td><td>Identifiant du site client</td></tr><tr><td>access_token</td><td>Alphanumérique</td><td>Oui</td><td>Identifiant de sécurité de l’appelant</td></tr><tr><td>id_container</td><td>Entier</td><td>Non</td><td>Identifiant du container</td></tr></tbody></table>

#### Code de retour : <a href="#example-request" id="example-request"></a>

| CODE HTTP | MESSAGE                   | DESCRIPTION                                                                       |
| --------- | ------------------------- | --------------------------------------------------------------------------------- |
| 200       | OK                        | La requête a abouti ; le résultat se trouve dans le corps de la réponse           |
| 400       | Requête incorrecte        | Les paramètres sont incorrects ou des paramètres obligatoires sont manquants      |
| 401       | Non autorisé              | Le jeton de sécurité ne correspond pas à site\_id ou à container\_id              |
| 404       | Introuvable               | Aucun identifiant de container correspondant au paramètre site\_id n’a été trouvé |
| 500       | Erreur interne du serveur | Erreur interne du serveur                                                         |

#### Format de la réponse : <a href="#example-request" id="example-request"></a>

La réponse est au format JSON.

<table data-header-hidden><thead><tr><th width="213">CHAMP</th><th width="150">TYPE</th><th width="187">TOUJOURS PRÉSENT ?</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>CHAMP</td><td>TYPE</td><td>TOUJOURS PRÉSENT ?</td><td>DESCRIPTION</td></tr><tr><td>idSite</td><td>Entier</td><td>Oui</td><td>Identifiant du site</td></tr><tr><td>containers</td><td>Tableau</td><td>Oui</td><td>Tableau contenant la liste des containers et leurs libellés</td></tr><tr><td>containers/id</td><td>Entier</td><td>Oui</td><td>Identifiant du container</td></tr><tr><td>containers/label</td><td>String</td><td>Oui</td><td>Libellé du container</td></tr><tr><td>containers/is_active</td><td>Booléen</td><td>Oui</td><td>État du container (active=true, deleted=false)</td></tr><tr><td>tags</td><td>Tableau</td><td>Oui</td><td>Tableau contenant la liste des tags et le libellé du container</td></tr><tr><td>tags/id</td><td>Entier</td><td>Non</td><td>Identifiant du tag</td></tr><tr><td>tags/label</td><td>String</td><td>Non</td><td>Libellé du tag</td></tr></tbody></table>

`GET`

#### Exemple de réponse <a href="#example-result" id="example-result"></a>

```
{  
    "idSite":26,
    "containers":[  
        {  
            "id":1,
            "label":"Container1",
            "is_active": true,
            "tags":[  
                {  
                    "id":1,
                    "label":"Click&Site Tracking"
                },
                {  
                    "id":3,
                    "label":"commanders act"
                }
            ]
        }
    ]
```

## Obtenir les utilisateurs

Obtenir les utilisateurs de la plateforme.

## Utilisateurs

<mark style="color:bleu;">`GET`</mark> `https://api.commander1.com/v2/{siteId}/users`

Deux utilisations :\
GET **/users/** : Renvoie une liste des propriétés des utilisateurs (en fonction des paramètres demandés) associées aux utilisateurs d’un site.\
GET **/users/123** : Renvoie les propriétés d’un utilisateur (id **123**) sur un site.\
\
Cliquez ci-dessous pour télécharger la documentation complète de l’API

#### Paramètres de requête

| Nom     | Type    | Description                                                   |
| ------- | ------- | ------------------------------------------------------------- |
| id      | integer | L’ID de l’utilisateur                                         |
| include | string  | `permissions` ou `roles` ou les deux, séparés par une virgule |

{% tabs %}
{% tab title="200 " %}

```
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.commandersact.com/fr/fonctionnalites/sources/sources-catalog/web/containers/best-practices/apis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
