|
|
@@ -30,4 +30,23 @@ La liste des commandes fournies par cette extension peut-être obtenue avec:
|
|
|
> A propos de l'implémentation de nouvelles commandes: https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/CommandControllers/Index.html
|
|
|
|
|
|
|
|
|
+## HTTP API
|
|
|
+
|
|
|
+La majorité des commandes peuvent aussi être exécutées via une requête HTTP,
|
|
|
+**à la condition que cette requête émane d'une adresse ip autorisée.
|
|
|
+
|
|
|
+Les adresses IP autorisées sont:
|
|
|
+
|
|
|
+ /^127\.0\.0\.[0-1]$/
|
|
|
+ /^localhost$/
|
|
|
+ /^10\.8\.0\.[0-255]$/
|
|
|
+
|
|
|
+Les commandes disponibles sont:
|
|
|
+
|
|
|
+|||
|
|
|
+|---|---|
|
|
|
+| Create a new organization | `<typo3_host>/typo3/index.php?route=/site/create&organization-id=<organization_id>` |
|
|
|
+| Update an organization | `<typo3_host>/typo3/index.php?route=/site/update&organization-id=<organization_id>` |
|
|
|
+| Soft-delete an organization | `<typo3_host>/typo3/index.php?route=/site/delete&organization-id=<organization_id>` |
|
|
|
+| Restore a soft-deleted organization | `<typo3_host>/typo3/index.php?route=/site/undelete&organization-id=<organization_id>` |
|
|
|
|