You are not logged in.
Pages: 1
I'm facing a huge new installation and I would like to perform some tasks from command line.
With 'bin/console' I can perform some basic ones (create users) but I'm missing a lot that would save me a lot of time:
- Modify users (change name, telephone, location...)
- Create groups
- Modify groups (assign users to them)
- Create entities
- Modify entities (assign users to them)
- Modify tickets (assign users and groups to them)
Is there any plan to add this to console?
I know I can perform some additional actions with API, so maybe providing examples for these common tasks would be enough for me.
Offline
The goal of the CLI is to provide admin-type commands, not let you interact with GLPI more generally.
The API documentation can be found at "YOUR_GLPI/apirest.php"
The API endpoints are generic. So, you can get a User at "/apirest.php/User/USER_ID" and see the fields available for example and know what is needed for creating/updating users.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Online
Ok, I understand.
I can see some examples in apirest.md , can you please provide some more examples related to those tasks I mentioned?
Offline
Pages: 1