messages are now in risotto-message repository
This commit is contained in:
parent
37993add10
commit
9d79eef47f
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
uri: applicationservice.create
|
||||
|
||||
description: |
|
||||
Créé un service applicatif.
|
||||
|
||||
pattern: rpc
|
||||
|
||||
parameters:
|
||||
applicationservice_name:
|
||||
type: String
|
||||
shortarg: n
|
||||
description: |
|
||||
Nom du service applicatif à créer.
|
||||
applicationservice_description:
|
||||
type: String
|
||||
shortarg: d
|
||||
description: |
|
||||
Description du service applicatif à créer.
|
||||
applicationservice_dependencies:
|
||||
type: '[]Number'
|
||||
shortarg: a
|
||||
description: ID des services applicatif donc dépendant le service applicatif.
|
||||
default: []
|
||||
|
||||
response:
|
||||
type: ApplicationService
|
||||
description: Informations sur le service applicatif créé.
|
|
@ -1,20 +0,0 @@
|
|||
uri: applicationservice.dataset.updated
|
||||
|
||||
description: |
|
||||
Les services applicatifs sont mis à jour.
|
||||
|
||||
pattern: rpc
|
||||
|
||||
parameters:
|
||||
source_name:
|
||||
type: String
|
||||
shortarg: s
|
||||
description: Nom de la source.
|
||||
release_distribution:
|
||||
type: String
|
||||
shortarg: r
|
||||
description: Distribution de la source.
|
||||
|
||||
response:
|
||||
type: ReturnStatus
|
||||
description: Code de retour sur l’injection des services applicatifs en base.
|
|
@ -1,30 +0,0 @@
|
|||
---
|
||||
uri: applicationservice.dependency.add
|
||||
|
||||
description: |
|
||||
Ajouter une dépendance à un service applicatif.
|
||||
|
||||
pattern: rpc
|
||||
|
||||
parameters:
|
||||
applicationservice_name:
|
||||
type: String
|
||||
shortarg: n
|
||||
description: |
|
||||
Nom du service applicatif.
|
||||
applicationservice_dependency:
|
||||
type: String
|
||||
shortarg: a
|
||||
description: Service applicatif donc dépendant le service applicatif.
|
||||
source_name:
|
||||
type: String
|
||||
shortarg: s
|
||||
description: Source du service applicatif a ajouter en dépendance.
|
||||
release_distribution:
|
||||
type: String
|
||||
shortarg: r
|
||||
description: Version du service applicatif a ajouter en dépendance.
|
||||
|
||||
response:
|
||||
type: ApplicationService
|
||||
description: Informations sur le service applicatif modifié.
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
uri: applicationservice.describe
|
||||
|
||||
description: |
|
||||
Décrit un service applicatif.
|
||||
|
||||
pattern: rpc
|
||||
|
||||
parameters:
|
||||
applicationservice_name:
|
||||
type: String
|
||||
shortarg: n
|
||||
description: |
|
||||
Nom du service applicatif à créer.
|
||||
source_name:
|
||||
type: String
|
||||
shortarg: s
|
||||
description: |
|
||||
Nom de la source.
|
||||
release_distribution:
|
||||
type: String
|
||||
shortarg: r
|
||||
description: |
|
||||
Version associée au service applicatif.
|
||||
|
||||
response:
|
||||
type: ApplicationService
|
||||
description: Informations sur le service applicatif.
|
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
uri: applicationservice.get_by_id
|
||||
|
||||
description: |
|
||||
Retourne un service applicatif suivant l'identifiant.
|
||||
|
||||
pattern: rpc
|
||||
|
||||
parameters:
|
||||
applicationservice_id:
|
||||
type: Number
|
||||
shortarg: i
|
||||
description: |
|
||||
ID du service applicatif à créer.
|
||||
|
||||
response:
|
||||
type: ApplicationService
|
||||
description: Informations sur le service applicatif créé.
|
||||
|
||||
errors:
|
||||
- uri: servermodel.create.error.database_not_available
|
||||
- uri: servermodel.create.error.duplicate_servermodel
|
||||
- uri: servermodel.create.error.invalid_parentservermodel_id
|
||||
- uri: servermodel.create.error.invalid_source_id
|
||||
- uri: servermodel.create.error.unknown_parentservermodel_id
|
||||
- uri: servermodel.create.error.unknown_source_id
|
||||
- uri: servermodel.create.error.servermodelname_not_provided
|
||||
|
||||
related:
|
||||
- servermodel.list
|
||||
- servermodel.describe
|
||||
- servermodel.update
|
||||
- servermodel.delete
|
||||
- servermodel.event
|
|
@ -1,10 +0,0 @@
|
|||
---
|
||||
uri: applicationservice.updated
|
||||
|
||||
description: Un service application a été modifié.
|
||||
|
||||
pattern: event
|
||||
|
||||
parameters:
|
||||
type: 'ApplicationService'
|
||||
description: Informations sur le service applicatif modifié.
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
uri: config.configuration.server.get
|
||||
|
||||
description: |
|
||||
Récupère le contenu de la configuration.
|
||||
|
||||
pattern: rpc
|
||||
|
||||
parameters:
|
||||
server_name:
|
||||
type: String
|
||||
ref: Server.ServerName
|
||||
shortarg: s
|
||||
description: Nom du serveur.
|
||||
deployed:
|
||||
type: Boolean
|
||||
description: Configuration de type déployée.
|
||||
default: true
|
||||
|
||||
response:
|
||||
type: ConfigConfiguration
|
||||
description: |
|
||||
Contenu de la configuration.
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: config.session.error.locked
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Une erreur est survenue lors de la tentative d’ouverture d’une session existante.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
sessionid:
|
||||
type: String
|
||||
description: Identifiant de la session existante.
|
||||
ref: Config.SessionId
|
||||
username:
|
||||
type: String
|
||||
description: Nom de l’utilisateur propriétaire de la session existante.
|
||||
|
||||
domain: config-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: datasource.available
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Annonce la disponibilité d’une source de données.
|
||||
|
||||
pattern: event
|
||||
|
||||
public: false
|
||||
|
||||
domain: datasource-domain
|
||||
|
||||
parameters:
|
||||
datasourceurl:
|
||||
type: String
|
||||
description: |
|
||||
Adresse de la source de données.
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.configuration.deploy-scheduled
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Le déploiement de la configuration est planifié par SaltStack.
|
||||
|
||||
public: false
|
||||
|
||||
pattern: event
|
||||
|
||||
parameters:
|
||||
return:
|
||||
type: Dict
|
||||
description: Valeur de retour de salt-api.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.configuration.deploy
|
||||
- execution.salt.job.list
|
||||
- execution.salt.job.describe
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.configuration.deploy
|
||||
|
||||
description: |
|
||||
Déploie les fichiers de configuration EOLE sur des minions.
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: false
|
||||
|
||||
parameters:
|
||||
minion_pattern:
|
||||
type: String
|
||||
description: Patron de sélection des minions.
|
||||
help: Le patron de sélection est au format glob.
|
||||
|
||||
response:
|
||||
type: 'SaltExec'
|
||||
description: Liste des tâches planifiées par SaltStack.
|
||||
|
||||
errors:
|
||||
- uri: execution.salt.exec.error.missing-minion_pattern
|
||||
- uri: execution.salt.exec.error.login
|
||||
- uri: execution.salt.exec.error.execute
|
||||
|
||||
related:
|
||||
- execution.salt.configuration.deploy-scheduled
|
||||
- execution.salt.job.list
|
||||
- execution.salt.job.describe
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.configuration.missing
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
La configuration du serveur n’existe pas.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message d’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.configuration.deploy
|
|
@ -1,22 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.environment.get
|
||||
|
||||
description: Récupère les données d'environnement d'un serveur.
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: false
|
||||
|
||||
parameters:
|
||||
server_id:
|
||||
type: Number
|
||||
ref: Server.ServerId
|
||||
description: Identifiant du serveur.
|
||||
|
||||
response:
|
||||
type: Dict
|
||||
description: Données d'environnement.
|
|
@ -1,22 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.exec.command-executed
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
L’exécution d’une commande est correctement planifiée par SaltStack.
|
||||
|
||||
public: false
|
||||
|
||||
pattern: event
|
||||
|
||||
parameters:
|
||||
type: 'SaltExec'
|
||||
description: Liste des tâches planifiées par SaltStack.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.exec
|
||||
- execution.salt.job.list
|
||||
- execution.salt.job.describe
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.exec.error.execute
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Une demande d’exécution a retourné un code d’erreur.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.exec
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.exec.error.login
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Une erreur est survenue lors de la connexion à « salt-api ».
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.exec
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.exec.error.missing-command
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
L’argument « Command » n'a pas été fourni.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.exec
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.exec.error.missing-minion_pattern
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
L’argument « MinionPattern » n'a pas été fourni.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message d’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.exec
|
|
@ -1,65 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.exec
|
||||
|
||||
description: |
|
||||
Planifie l’exécution d’une commande sur des minions.
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: false
|
||||
|
||||
parameters:
|
||||
minion_pattern:
|
||||
type: String
|
||||
description: Patron de sélection des minions.
|
||||
help: Le patron de sélection est au format glob.
|
||||
command:
|
||||
type: String
|
||||
description: Commande SaltStack à exécuter.
|
||||
arg:
|
||||
type: String
|
||||
description: Arguments de la commande SaltStack.
|
||||
default: null
|
||||
client_mode:
|
||||
type: String
|
||||
description: Mode d’exécution des commandes SaltStack.
|
||||
help: |
|
||||
Utiliser un des modes de communication parmi :
|
||||
- « local »
|
||||
- « local_async »
|
||||
default: local_async
|
||||
tgt_type:
|
||||
type: String
|
||||
description: Type de cible de la commande.
|
||||
help: |
|
||||
valeurs possibles :
|
||||
glob - Bash glob completion - Default
|
||||
pcre - Perl style regular expression
|
||||
list - Python list of hosts
|
||||
grain - Match based on a grain comparison
|
||||
grain_pcre - Grain comparison with a regex
|
||||
pillar - Pillar data comparison
|
||||
pillar_pcre - Pillar data comparison with a regex
|
||||
nodegroup - Match on nodegroup
|
||||
range - Use a Range server for matching
|
||||
compound - Pass a compound match string
|
||||
ipcidr - Match based on Subnet (CIDR notation) or IPv4 address.
|
||||
default: glob
|
||||
|
||||
response:
|
||||
type: 'SaltExec'
|
||||
description: Retour de la tâche planifiée par SaltStack.
|
||||
|
||||
errors:
|
||||
- uri: execution.salt.exec.error.missing-command
|
||||
- uri: execution.salt.exec.error.missing-minion_pattern
|
||||
- uri: execution.salt.exec.error.login
|
||||
- uri: execution.salt.exec.error.execute
|
||||
|
||||
related:
|
||||
- execution.salt.job.list
|
||||
- execution.salt.job.describe
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.job.describe
|
||||
|
||||
description: |
|
||||
Retourne les attributs détaillés d’une tâche SaltStack.
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: false
|
||||
|
||||
parameters:
|
||||
jid:
|
||||
type: String
|
||||
ref: Server.JobId
|
||||
description: Identifiant de la tâche SaltStack.
|
||||
|
||||
response:
|
||||
type: '[]SaltJob'
|
||||
description: Liste des tâches SaltStack pour chaque minion avec leurs attributs détaillés.
|
||||
|
||||
errors:
|
||||
- uri: execution.salt.job.error.db-connection
|
||||
- uri: execution.salt.job.error.missing-jid
|
||||
- uri: execution.salt.job.error.jid-type
|
||||
- uri: execution.salt.job.error.unknown-jid
|
||||
|
||||
related:
|
||||
- execution.salt.job.list
|
||||
- execution.salt.exec
|
|
@ -1,22 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.job.error.db-connection
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Une erreur est survenue lors de la connexion à la base de données.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message d’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.job.list
|
||||
- execution.salt.job.describe
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.job.error.jid-type
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Mauvais type fourni pour l’argument « JID ».
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message d’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.job.describe
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.job.error.list
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Une erreur est survenue lors de la constrution de la liste des tâches.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message d’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.job.list
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.job.error.missing-jid
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Argument « JID » manquant.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message d’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.job.describe
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.job.error.unknown-jid
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
L’identifiant de tâche est inconnu de SalStack.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message d’erreur lisible par un humain.
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
related:
|
||||
- execution.salt.job.describe
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.job.list
|
||||
|
||||
description: |
|
||||
Retourne la liste de toutes les tâches SaltStack d'un minion.
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: false
|
||||
|
||||
parameters:
|
||||
minion_pattern:
|
||||
type: String
|
||||
description: Nom du minion.
|
||||
command:
|
||||
type: String
|
||||
description: Commande SaltStack à exécuter.
|
||||
|
||||
response:
|
||||
type: '[]SaltJob'
|
||||
description: Liste des tâches SalStack.
|
||||
|
||||
errors:
|
||||
- uri: execution.salt.job.error.db-connection
|
||||
- uri: execution.salt.job.error.list
|
||||
|
||||
related:
|
||||
- execution.salt.job.describe
|
||||
- execution.salt.exec
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.master.event.ready
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: Le minion est prêt.
|
||||
|
||||
public: false
|
||||
|
||||
pattern: event
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
parameters:
|
||||
server_id:
|
||||
type: Number
|
||||
description: Identifiant du serveur.
|
|
@ -1,17 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.master.event.start
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: Un minion a démarré.
|
||||
|
||||
public: false
|
||||
|
||||
pattern: event
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
parameters:
|
||||
server_id:
|
||||
type: Number
|
||||
description: Identifiant du serveur.
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.minion.registered
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
TODO: Un nouveau minion est attaché à l'instance saltmaster utilisée par l'application Zéphir.
|
||||
|
||||
public: false
|
||||
|
||||
pattern: event
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
parameters:
|
||||
saltminionid:
|
||||
type: String
|
||||
description: |
|
||||
Identifiant interne du minion Salt distant.
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.minion.unregistered
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
TODO: Un minion est détaché de l'instance saltmaster utilisée par l'application Zéphir.
|
||||
|
||||
public: false
|
||||
|
||||
pattern: event
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
parameters:
|
||||
saltminionid:
|
||||
type: String
|
||||
description: |
|
||||
Identifiant interne du minion Salt distant.
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.peer.error
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Un appairage Saltstack s’est terminé avec un code d’erreur.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message d’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- execution.salt.peer
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: execution.salt.peer.registered
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Un appairage Saltstack a eu lieu.
|
||||
|
||||
pattern: event
|
||||
|
||||
parameters:
|
||||
serverid:
|
||||
type: Number
|
||||
description: Identifiant du serveur et du minion salt.
|
||||
automation:
|
||||
type: String
|
||||
description: moteur d'Automatisation.
|
||||
|
||||
public: false
|
||||
|
||||
domain: execution-domain
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
uri: identity.session-user.get
|
||||
|
||||
description: |
|
||||
Retourne des informations sur la session HTTP courante de l'utilisateur.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client identity.session-user.get
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: identity-domain
|
||||
|
||||
response:
|
||||
type: IdentitySession
|
||||
description: Informations sur l'identité de l'utilisateur.
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: identity.settings.get
|
||||
|
||||
description: |
|
||||
Retourne les préférences de l'utilisateur spécifié.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client identity.settings.get -u yo
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: identity-domain
|
||||
|
||||
parameters:
|
||||
username:
|
||||
type: String
|
||||
ref: Identity.username
|
||||
shortarg: u
|
||||
description: Identifiant de l'utilisateur.
|
||||
|
||||
response:
|
||||
type: IdentitySettings
|
||||
description: Préférences de l'utilisateur.
|
|
@ -1,50 +0,0 @@
|
|||
---
|
||||
uri: identity.settings.set
|
||||
|
||||
description: |
|
||||
Enregistre des préférences pour l'utilisateur spécifié.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client identity.settings.set -u yo
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: identity-domain
|
||||
|
||||
parameters:
|
||||
username:
|
||||
type: String
|
||||
ref: Identity.username
|
||||
shortarg: u
|
||||
description: Identifiant de l'utilisateur.
|
||||
sshkey:
|
||||
type: String
|
||||
shortarg: s
|
||||
description: Clé publique ssh.
|
||||
default: null
|
||||
firstname:
|
||||
type: String
|
||||
shortarg: f
|
||||
description: Prénom de l'utilisateur.
|
||||
default: null
|
||||
lastname:
|
||||
type: String
|
||||
shortarg: l
|
||||
description: Nom de l'utilisateur.
|
||||
default: null
|
||||
email:
|
||||
type: String
|
||||
shortarg: m
|
||||
description: Adresse email de l'utilisateur.
|
||||
default: null
|
||||
alertes:
|
||||
type: Boolean
|
||||
shortarg: a
|
||||
description: Activer les alertes email.
|
||||
default: null
|
||||
|
||||
response:
|
||||
type: IdentitySettings
|
||||
description: Informations sur l'identité de l'utilisateur.
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
uri: identity.settings.updated
|
||||
|
||||
description: |
|
||||
Des préférences ont été modifiées
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
pattern: event
|
||||
|
||||
public: false
|
||||
|
||||
domain: identity-domain
|
||||
|
||||
parameters:
|
||||
settings:
|
||||
type: Dict
|
||||
description: Préférences de l'utilisateur.
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: server.configuration.updated
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
La configuration d'un serveur a été modifié.
|
||||
|
||||
pattern: event
|
||||
|
||||
public: false
|
||||
|
||||
domain: server-domain
|
||||
|
||||
parameters:
|
||||
server_id:
|
||||
type: Number
|
||||
description: |
|
||||
Identifiant du serveur.
|
|
@ -1,38 +0,0 @@
|
|||
---
|
||||
uri: server.delete
|
||||
|
||||
description: |
|
||||
Supprime un serveur.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: rpc
|
||||
|
||||
domain: server-domain
|
||||
|
||||
sampleuse: |
|
||||
zephir-client server.delete -s 1
|
||||
|
||||
parameters:
|
||||
serverid:
|
||||
type: Number
|
||||
ref: Server.ServerId
|
||||
shortarg: s
|
||||
description: |
|
||||
Identifiant du serveur.
|
||||
|
||||
response:
|
||||
type: Server
|
||||
description: Description du serveur supprimé.
|
||||
|
||||
errors:
|
||||
- uri: server.error.database-not-available
|
||||
- uri: server.error.db-connection
|
||||
- uri: server.error.invalid-server-id
|
||||
- uri: server.error.unknown-server-id
|
||||
|
||||
related:
|
||||
- server.list
|
||||
- server.describe
|
||||
- server.create
|
||||
- server.update
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
uri: server.environment.updated
|
||||
|
||||
description: Les données d'environnements d'un serveur sont modifiées
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
pattern: event
|
||||
|
||||
public: false
|
||||
|
||||
domain: config-domain
|
||||
|
||||
parameters:
|
||||
server_id:
|
||||
type: Number
|
||||
description: |
|
||||
Identifiant de la configuration.
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: server.error.database-not-available
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Aucun service de base de données disponible.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.list
|
||||
- server.describe
|
||||
- server.create
|
||||
- server.update
|
||||
- server.delete
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: server.error.db-connection
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Erreur de connexion à la base de données.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.list
|
||||
- server.describe
|
||||
- server.create
|
||||
- server.update
|
||||
- server.delete
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
uri: server.error.invalid-server-id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Identifiant de serveur invalide.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.describe
|
||||
- server.update
|
||||
- server.delete
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: server.error.invalid-servermodel-id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Identifiant de modèle de serveur invalide.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.create
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: server.error.peering-conf-not-available
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Pas de configuration d'appairage disponible.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.get-peering-conf
|
|
@ -1,22 +0,0 @@
|
|||
---
|
||||
uri: server.error.servername-not-provided
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
ServerName non fourni.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.create
|
||||
- server.update
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
uri: server.error.unknown-server-id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Identifiant de serveur inconnu.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.describe
|
||||
- server.update
|
||||
- server.delete
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: server.error.unknown-servermodel-id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Identifiant de modèle de serveur inconnu.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.create
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: server.error.db-connection
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Erreur inconnue recontrée par le gestionnaire de serveurs.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.list
|
||||
- server.describe
|
||||
- server.create
|
||||
- server.update
|
||||
- server.delete
|
|
@ -1,38 +0,0 @@
|
|||
---
|
||||
uri: server.exec.command
|
||||
|
||||
description: |
|
||||
Transmet une commande à exécuter sur un serveur donné.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client server.exec.command -s 1 -c reconfigure
|
||||
|
||||
domain: server-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
parameters:
|
||||
server_id:
|
||||
type: Number
|
||||
description: Identifiant du serveur sur lequel la commande sera exécutée.
|
||||
ref: Server.ServerId
|
||||
shortarg: s
|
||||
command:
|
||||
type: String
|
||||
description: Commande à exécuter.
|
||||
ref: salt.exec.availablecommands
|
||||
shortarg: c
|
||||
|
||||
response:
|
||||
type: ServerExec
|
||||
description: La commande exécutée.
|
||||
|
||||
errors:
|
||||
- uri: server.exec.error.missing-command
|
||||
- uri: server.exec.error.unmanaged-server
|
||||
|
||||
related:
|
||||
- server.exec.error.missing-command
|
||||
- server.exec.error.unmanaged-server
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: server.exec.deploy
|
||||
|
||||
description: |
|
||||
Déploie la configuration sur un serveur donné.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client server.exec.deploy -s 1
|
||||
|
||||
domain: server-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
parameters:
|
||||
server_id:
|
||||
type: Number
|
||||
description: Identifiant du serveur.
|
||||
ref: Server.ServerId
|
||||
shortarg: s
|
||||
|
||||
response:
|
||||
type: ServerExec
|
||||
description: La commande exécutée.
|
|
@ -1,31 +0,0 @@
|
|||
---
|
||||
uri: server.exec.describe
|
||||
|
||||
description: |
|
||||
Liste les commandes exécuté pour un identifiant de tâche.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client server.exec.list -j 1
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
parameters:
|
||||
job_id:
|
||||
type: String
|
||||
description: Identifiant de la tâche.
|
||||
ref: Server.JobId
|
||||
shortarg: j
|
||||
automation:
|
||||
type: String
|
||||
description: Moteur d'exécution.
|
||||
ref: Server.automation
|
||||
shortarg: a
|
||||
|
||||
response:
|
||||
type: "[]ServerExec"
|
||||
description: Liste des commandes exécutées.
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: server.exec.error.missing-command
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Paramètre "command" manquant.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.exec
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: server.exec.error.unmanaged-server
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Le serveur n'est pas associé à un gestionnaire d'exécution.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: Message de l’erreur lisible par un humain.
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- server.exec
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: server.exec.list
|
||||
|
||||
description: |
|
||||
Liste les commandes exécutées sur un serveur donné.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client server.exec.list -s 1
|
||||
|
||||
domain: execution-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
parameters:
|
||||
server_id:
|
||||
type: Number
|
||||
description: Identifiant du serveur.
|
||||
ref: Server.ServerId
|
||||
shortarg: s
|
||||
|
||||
response:
|
||||
type: "[]ServerExec"
|
||||
description: Liste des commandes exécutées.
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
uri: server.executed
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
La commande a été lancée sur le serveur.
|
||||
|
||||
pattern: event
|
||||
|
||||
public: false
|
||||
|
||||
domain: server-domain
|
||||
|
||||
parameters:
|
||||
arguments:
|
||||
type: Dict
|
||||
description: |
|
||||
Liste des arguments utilisés.
|
||||
return:
|
||||
type: Dict
|
||||
description: |
|
||||
Retour du message.
|
|
@ -1,35 +0,0 @@
|
|||
---
|
||||
uri: server.peer-connection.update
|
||||
|
||||
description: Met à jour la date de dernière connexion d'un serveur.
|
||||
|
||||
public: false
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
pattern: rpc
|
||||
|
||||
domain: server-domain
|
||||
|
||||
parameters:
|
||||
serverid:
|
||||
type: Number
|
||||
ref: Server.ServerId
|
||||
description: Identifiant du serveur.
|
||||
|
||||
response:
|
||||
type: Boolean
|
||||
description: La mise à jour a réussi.
|
||||
|
||||
errors:
|
||||
- uri: server.error.database-not-available
|
||||
- uri: server.error.db-connection
|
||||
- uri: server.error.invalid-server-id
|
||||
- uri: server.error.unknown-server-id
|
||||
- uri: server.error.servername-not-provided
|
||||
|
||||
related:
|
||||
- servermodel.list
|
||||
- servermodel.describe
|
||||
- servermodel.create
|
||||
- servermodel.delete
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
uri: server.salt.registered
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Un serveur a été appairé
|
||||
|
||||
pattern: event
|
||||
|
||||
parameters:
|
||||
serverid:
|
||||
type: Number
|
||||
description: Identifiant du server.
|
||||
|
||||
public: false
|
||||
|
||||
domain: server-domain
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
uri: server.serverselection.list
|
||||
|
||||
description: |
|
||||
Retourne la liste des sélections de serveurs d'un serveur
|
||||
|
||||
sampleuse: |
|
||||
zephir-client server.serverselection.list
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: server-domain
|
||||
|
||||
parameters:
|
||||
serverid:
|
||||
type: Number
|
||||
ref: Server.ServerId
|
||||
description: Identifiant du serveur.
|
||||
shortarg: s
|
||||
|
||||
response:
|
||||
type: '[]ServerSelection'
|
||||
description: List des sélections de serveurs d'un serveur
|
||||
|
||||
errors:
|
||||
- uri: server.error.database_not_available
|
||||
|
||||
related:
|
||||
- serverselection.describe
|
||||
- serverselection.create
|
||||
- serverselection.delete
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
uri: server.storage.event
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Notifie l'ajout/suppression/modification d'un fichier dans le container minio.
|
||||
|
||||
pattern: event
|
||||
|
||||
parameters:
|
||||
key:
|
||||
type: String
|
||||
description: Chemin du fichier stocké (<bucket>/<objet>).
|
||||
event_type:
|
||||
type: String
|
||||
description: Type d'évènement remonté (s3:ObjectCreated:Put, s3:ObjectRemoved:Delete).
|
||||
|
||||
public: false
|
||||
|
||||
domain: server-domain
|
|
@ -1,49 +0,0 @@
|
|||
---
|
||||
uri: server.update
|
||||
|
||||
description: |
|
||||
Modifie un serveur.
|
||||
|
||||
public: true
|
||||
|
||||
sampleuse: |
|
||||
zephir-client server.update -s 1 -n toto -d "server description"
|
||||
|
||||
pattern: rpc
|
||||
|
||||
domain: server-domain
|
||||
|
||||
parameters:
|
||||
serverid:
|
||||
type: Number
|
||||
ref: Server.ServerId
|
||||
description: |
|
||||
Identifiant du serveur.
|
||||
shortarg: s
|
||||
servername:
|
||||
type: String
|
||||
description: |
|
||||
Nouveau nom du serveur.
|
||||
shortarg: n
|
||||
serverdescription:
|
||||
type: String
|
||||
description: |
|
||||
Nouvelle description du serveur.
|
||||
shortarg: d
|
||||
|
||||
response:
|
||||
type: Server
|
||||
description: Description du serveur mis à jour.
|
||||
|
||||
errors:
|
||||
- uri: server.error.database-not-available
|
||||
- uri: server.error.db-connection
|
||||
- uri: server.error.invalid-server-id
|
||||
- uri: server.error.unknown-server-id
|
||||
- uri: server.error.servername-not-provided
|
||||
|
||||
related:
|
||||
- servermodel.list
|
||||
- servermodel.describe
|
||||
- servermodel.create
|
||||
- servermodel.delete
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: server.updated
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Un serveur a été modifié.
|
||||
|
||||
pattern: event
|
||||
|
||||
public: false
|
||||
|
||||
domain: server-domain
|
||||
|
||||
parameters:
|
||||
serverid:
|
||||
type: Number
|
||||
description: |
|
||||
Identifiant du serveur.
|
|
@ -1,31 +0,0 @@
|
|||
---
|
||||
uri: servermodel.applicationservice.join
|
||||
|
||||
description: |
|
||||
Associe un service applicatif à un modèle de serveur.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client servermodel.applicationservice.join -m 1 -s 1
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: servermodel-domain
|
||||
|
||||
parameters:
|
||||
servermodelid:
|
||||
type: Number
|
||||
shortarg: m
|
||||
description: |
|
||||
Identifiant du modèle de serveur.
|
||||
applicationserviceid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
description: |
|
||||
Identifiant du service applicatif.
|
||||
|
||||
response:
|
||||
type: Servermodel
|
||||
description: Description du modèle de serveur.
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: servermodel.applicationservice.list
|
||||
|
||||
description: |
|
||||
Retourne la liste des applications service.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client servermodel.applicationservice.list -s 6
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: servermodel-domain
|
||||
|
||||
parameters:
|
||||
subreleaseid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
description: |
|
||||
Identifiant de la sous-release.
|
||||
|
||||
response:
|
||||
type: '[]Dict'
|
||||
description: Liste des applications service disponibles.
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.create.error.database_not_available
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Erreur retournée lorsque la base de données n'est pas disponible.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.create.error.duplicate_servermodel
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
La combinaison nom/source/version/release existe déjà.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.create.error.invalid_parentservermodel_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
L'identifiant ServerModelId du parent n'est pas un entier.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.create.error.invalid_source_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
L'identifiant ServerModelSourceId n'est pas un entier.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.create.error.servermodelname_not_provided
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Le nom du modèle de serveur n'est pas fourni.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.create.error.unknown_parentservermodel_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
L'identifiant ServerModelId du parent ne correspond a aucun enregistrement dans la base.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.create.error.unknown_parentservermodel_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
L'identifiant SourceId ne correspond a aucun enregistrement dans la base.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,52 +0,0 @@
|
|||
---
|
||||
uri: servermodel.create
|
||||
|
||||
description: |
|
||||
Crée un modèle de serveur.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client servermodel.create -p 1 -n "MonServeurModele" -d "Ma description" -s 1
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: servermodel-domain
|
||||
|
||||
parameters:
|
||||
servermodelparentsid:
|
||||
type: "[]Number"
|
||||
ref: Servermodel.ServermodelId
|
||||
shortarg: p
|
||||
description: |
|
||||
Identifiants des modèles de serveur parents auquels rattacher le nouveau modèle.
|
||||
servermodelname:
|
||||
type: String
|
||||
shortarg: n
|
||||
description: |
|
||||
Nom du modèle de serveur à créer.
|
||||
servermodeldescription:
|
||||
type: String
|
||||
shortarg: d
|
||||
description: |
|
||||
Description du modèle de serveur à créer.
|
||||
|
||||
response:
|
||||
type: Servermodel
|
||||
description: Informations sur le modèle de serveur créé.
|
||||
|
||||
errors:
|
||||
- uri: servermodel.create.error.database_not_available
|
||||
- uri: servermodel.create.error.duplicate_servermodel
|
||||
- uri: servermodel.create.error.invalid_parentservermodel_id
|
||||
- uri: servermodel.create.error.invalid_source_id
|
||||
- uri: servermodel.create.error.unknown_parentservermodel_id
|
||||
- uri: servermodel.create.error.unknown_source_id
|
||||
- uri: servermodel.create.error.servermodelname_not_provided
|
||||
|
||||
related:
|
||||
- servermodel.list
|
||||
- servermodel.describe
|
||||
- servermodel.update
|
||||
- servermodel.delete
|
||||
- servermodel.event
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.describe.error.database_not_available
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
Erreur retournée lorsque la base de données n'est pas disponible.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.describe.error.invalid_servermodel_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
L'argument ServerModelID fourni n'est pas du type Integer.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.describe.error.unknown_servermodel_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
L'identifiant ServerModelID ne correspond a aucun enregistrement dans la base.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,45 +0,0 @@
|
|||
---
|
||||
uri: servermodel.event
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Notifie l'ajout/suppression/modification/liste/description d'un modèle de serveur.
|
||||
|
||||
pattern: event
|
||||
|
||||
parameters:
|
||||
method:
|
||||
type: String
|
||||
description: |
|
||||
Méthode utilisée parmi : list / describe / create / update / delete.
|
||||
parameters:
|
||||
type: Dict
|
||||
description: |
|
||||
list => non requis
|
||||
describe => servermodelid: Integer
|
||||
create => servermodelparentsid: Integer
|
||||
servermodelname: String
|
||||
sourceid: Integer
|
||||
update => servermodelid: Integer
|
||||
servermodelname: String
|
||||
delete => servermodelid: Integer
|
||||
result:
|
||||
type: String
|
||||
description: |
|
||||
list => non requis
|
||||
describe => non requis
|
||||
create => Integer
|
||||
update => String
|
||||
delete => String
|
||||
|
||||
public: false
|
||||
|
||||
domain: server-domain
|
||||
|
||||
related:
|
||||
- servermodel.list
|
||||
- servermodel.describe
|
||||
- servermodel.create
|
||||
- servermodel.update
|
||||
- servermodel.delete
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: servermodel.list.error.database_not_available
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
Erreur retournée lorsque la base de données n'est pas disponible.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: servermodel-domain
|
|
@ -1,18 +0,0 @@
|
|||
---
|
||||
uri: servermodel.subrelease.list
|
||||
|
||||
description: |
|
||||
Retourne la liste des subreleases.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client servermodel.subrelease.list
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: servermodel-domain
|
||||
|
||||
response:
|
||||
type: '[]Dict'
|
||||
description: Liste des sous-releases disponibles.
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: serverselection.create.error.duplicate_serverselection
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
Le nom de la Sélection de serveurs existe déjà.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: serverselection-domain
|
|
@ -1,39 +0,0 @@
|
|||
---
|
||||
uri: serverselection.create
|
||||
|
||||
description: |
|
||||
Crée un sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.create -n Select1 -d "Ma description"
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionname:
|
||||
type: String
|
||||
shortarg: n
|
||||
ref: ServerSelection.ServerSelectionName
|
||||
description: |
|
||||
Nom de la sélection de serveurs.
|
||||
serverselectiondescription:
|
||||
type: String
|
||||
shortarg: d
|
||||
description: |
|
||||
Description de la sélection de serveurs.
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection créée.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.create.error.duplicate_serverselection
|
||||
related:
|
||||
- serverselection.describe
|
||||
- serverselection.delete
|
||||
- serverselection.list
|
|
@ -1,34 +0,0 @@
|
|||
---
|
||||
uri: serverselection.delete
|
||||
|
||||
description: |
|
||||
Supprime une sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.delete -s 1
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
ref: ServerSelection.ServerSelectionId
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection supprimée.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
|
||||
related:
|
||||
- serverselection.describe
|
||||
- serverselection.create
|
||||
- serverselection.list
|
|
@ -1,35 +0,0 @@
|
|||
---
|
||||
uri: serverselection.describe
|
||||
|
||||
description: |
|
||||
Retourne les attributs détaillés d'une sélection de serveurs.
|
||||
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.describe -s 1
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection de serveurs.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
|
||||
related:
|
||||
- serverselection.delete
|
||||
- serverselection.create
|
||||
- serverselection.list
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: serverselection.error.database_not_available
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
Erreur retournée lorsque la base de données n'est pas disponible.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: serverselection-domain
|
|
@ -1,28 +0,0 @@
|
|||
---
|
||||
uri: serverselection.error.db-connection
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
description: |
|
||||
Erreur de connexion à la base de données.
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
related:
|
||||
- serverselection.static.list
|
||||
- serverselection.static.describe
|
||||
- serverselection.static.create
|
||||
- serverselection.static.update
|
||||
- serverselection.static.delete
|
||||
- serverselection.static.add
|
||||
- serverselection.static.remove
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: serverselection.error.invalid_server_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
L'argument ServerID fourni n'est pas du type Integer.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: serverselection-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: serverselection.error.invalid_serverselection_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
L'argument ServerSelectionID fourni n'est pas du type Integer.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: serverselection-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: serverselection.error.unknown_server_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
L'argument ServerID fourni est inconnu.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: serverselection-domain
|
|
@ -1,19 +0,0 @@
|
|||
---
|
||||
uri: serverselection.error.unknown_serverselection_id
|
||||
|
||||
sampleuse: ~
|
||||
|
||||
public: true
|
||||
|
||||
pattern: error
|
||||
|
||||
description: |
|
||||
L'argument ServerSelectionID est inconnu.
|
||||
|
||||
parameters:
|
||||
reason:
|
||||
type: String
|
||||
description: |
|
||||
Description supplémentaire des causes de l'erreur.
|
||||
|
||||
domain: serverselection-domain
|
|
@ -1,30 +0,0 @@
|
|||
---
|
||||
uri: serverselection.exec.command
|
||||
|
||||
description: |
|
||||
Transmet une commande à exécuter sur une sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.exec.command -s 1 -c reconfigure
|
||||
|
||||
domain: server-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
parameters:
|
||||
serverselection_id:
|
||||
type: Number
|
||||
description: Identifiant de la sélection de serveurs sur laquelle la commande sera exécutée.
|
||||
shortarg: s
|
||||
ref: Server.ServerId
|
||||
command:
|
||||
type: String
|
||||
description: Commande à exécuter.
|
||||
shortarg: c
|
||||
ref: salt.exec.availablecommands
|
||||
|
||||
response:
|
||||
type: '[]ServerExec'
|
||||
description: Liste des jobs de la commande exécutée sur les serveurs de la sélection.
|
|
@ -1,25 +0,0 @@
|
|||
---
|
||||
uri: serverselection.exec.deploy
|
||||
|
||||
description: |
|
||||
Déploie la configuration sur les serveurs d'une sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.exec.deploy -s 1
|
||||
|
||||
domain: server-domain
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
parameters:
|
||||
serverselection_id:
|
||||
type: Number
|
||||
description: Identifiant de la sélection de serveurs sur laquelle la commande sera exécutée.
|
||||
shortarg: s
|
||||
ref: Server.ServerId
|
||||
|
||||
response:
|
||||
type: '[]ServerExec'
|
||||
description: Liste des jobs de la commande exécutée sur les serveurs de la sélection.
|
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
uri: serverselection.list
|
||||
|
||||
description: |
|
||||
Retourne la liste des sélections de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.list
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
response:
|
||||
type: '[]ServerSelection'
|
||||
description: List des sélections de serveurs de l'utilisateur.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
|
||||
related:
|
||||
- serverselection.describe
|
||||
- serverselection.create
|
||||
- serverselection.delete
|
|
@ -1,42 +0,0 @@
|
|||
---
|
||||
uri: serverselection.server.add
|
||||
|
||||
description: |
|
||||
Ajoute un serveur à une sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.add.server -s 1 -i 1
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
ref: ServerSelection.ServerSelectionId
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
serverid:
|
||||
type: Number
|
||||
shortarg: i
|
||||
ref: ServerSelection.SelectionServers
|
||||
description: |
|
||||
Identifiant du serveur à ajouter à la sélection.
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection modifiée.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
- uri: serverselection.error.invalid_server_id
|
||||
|
||||
related:
|
||||
- serverselection.describe
|
||||
- serverselection.delete
|
||||
- serverselection.list
|
|
@ -1,42 +0,0 @@
|
|||
---
|
||||
uri: serverselection.server.remove
|
||||
|
||||
description: |
|
||||
Supprime un serveur d'une sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.remove.server -s 1 -i 1
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
ref: ServerSelection.ServerSelectionId
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
serverid:
|
||||
type: Number
|
||||
shortarg: i
|
||||
ref: ServerSelection.SelectionServers
|
||||
description: |
|
||||
Identifiant du serveur à supprimer de la sélection.
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection modifiée.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
- uri: serverselection.error.invalid_server_id
|
||||
|
||||
related:
|
||||
- serverselection.delete
|
||||
- serverselection.create
|
||||
- serverselection.list
|
|
@ -1,41 +0,0 @@
|
|||
---
|
||||
uri: serverselection.server.set
|
||||
|
||||
description: |
|
||||
Renseigne une liste de serveur dans une sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.server.set -s 1 -i 1
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
ref: ServerSelection.ServerSelectionId
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
serveridlist:
|
||||
type: String
|
||||
shortarg: l
|
||||
description: |
|
||||
Liste d'identifiants de serveurs sous forme de list x,y,z
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection modifiée.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
- uri: serverselection.error.invalid_server_id
|
||||
|
||||
related:
|
||||
- serverselection.describe
|
||||
- serverselection.delete
|
||||
- serverselection.list
|
|
@ -1,57 +0,0 @@
|
|||
---
|
||||
uri: serverselection.update
|
||||
|
||||
description: |
|
||||
Modifie une sélection de serveur.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.update -s 1 -n Select1 -d "Ma description"
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
ref: ServerSelection.ServerSelectionId
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
serverselectionname:
|
||||
type: String
|
||||
shortarg: n
|
||||
ref: ServerSelection.ServerSelectionName
|
||||
description: |
|
||||
Nouveau nom de la sélection de serveurs.
|
||||
serverselectiondescription:
|
||||
type: String
|
||||
shortarg: d
|
||||
description: |
|
||||
Nouvelle description de la sélection de serveurs.
|
||||
dynamique:
|
||||
type: Boolean
|
||||
shortarg: y
|
||||
description: |
|
||||
Rend la sélection de serveurs dynamique.
|
||||
default: false
|
||||
requete:
|
||||
type: String
|
||||
shortarg: r
|
||||
description: |
|
||||
Nouvelle Requete de la sélection de serveurs.
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection modifiée.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.create.error.duplicate_serverselection
|
||||
related:
|
||||
- serverselection.describe
|
||||
- serverselection.delete
|
||||
- serverselection.list
|
||||
- serverselection.create
|
|
@ -1,46 +0,0 @@
|
|||
---
|
||||
uri: serverselection.user.add
|
||||
|
||||
description: |
|
||||
Associe un utilisateur à une sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.add.user -s 1 -u yo -r admin
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
ref: ServerSelection.ServerSelectionId
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
username:
|
||||
type: String
|
||||
shortarg: u
|
||||
description: |
|
||||
Nom de l'utilisateur à associer à la sélection de serveurs.
|
||||
role:
|
||||
type: String
|
||||
shortarg: r
|
||||
description: |
|
||||
Rôle de l'utilisateur (root, admin, manager, viewer).
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection modifiée.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
- uri: serverselection.error.invalid_server_id
|
||||
|
||||
related:
|
||||
- serverselection.delete
|
||||
- serverselection.create
|
||||
- serverselection.list
|
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
uri: serverselection.user.default
|
||||
|
||||
description: |
|
||||
Retourne la sélection de serveurs par défaut de l'utilisateur.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.user.default
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: false
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Sélection de serveurs par défaut de l'utilisateur.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
|
||||
related:
|
||||
- serverselection.delete
|
||||
- serverselection.create
|
||||
- serverselection.list
|
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
uri: serverselection.user.list
|
||||
|
||||
description: |
|
||||
Retourne les sélections de serveurs dont l'utilisateur fait parti.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.user.list
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
response:
|
||||
type: '[]ServerSelection'
|
||||
description: Liste des sélections de serveurs de l'utilisateur.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
|
||||
related:
|
||||
- serverselection.delete
|
||||
- serverselection.create
|
||||
- serverselection.list
|
|
@ -1,41 +0,0 @@
|
|||
---
|
||||
uri: serverselection.user.remove
|
||||
|
||||
description: |
|
||||
Dissocie un utilisateur d'une sélection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.remove.user -s 1 -u yo
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: true
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
shortarg: s
|
||||
ref: ServerSelection.ServerSelectionId
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
username:
|
||||
type: String
|
||||
shortarg: u
|
||||
description: |
|
||||
Nom de l'utilisateur auquel appartient la sélection de serveurs.
|
||||
|
||||
response:
|
||||
type: ServerSelection
|
||||
description: Description de la sélection modifiée.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
- uri: serverselection.error.invalid_server_id
|
||||
|
||||
related:
|
||||
- serverselection.delete
|
||||
- serverselection.create
|
||||
- serverselection.list
|
|
@ -1,38 +0,0 @@
|
|||
---
|
||||
uri: serverselection.user.role.get
|
||||
|
||||
description: |
|
||||
Retourne le rôle d'utilisateur sur une selection de serveurs.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.user.role.get -d '{}'
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: false
|
||||
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverselectionid:
|
||||
type: Number
|
||||
ref: ServerSelection.ServerSelectionId
|
||||
description: |
|
||||
Identifiant de la sélection de serveurs.
|
||||
username:
|
||||
type: String
|
||||
description: |
|
||||
Nom de l'utilisateur.
|
||||
|
||||
response:
|
||||
type: ServerSelectionUserRole
|
||||
description: Rôles de l'utilisateur dans les sélections de serveurs.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
|
||||
related:
|
||||
- serverselection.delete
|
||||
- serverselection.create
|
||||
- serverselection.list
|
|
@ -1,36 +0,0 @@
|
|||
---
|
||||
uri: serverselection.user.role.server.get
|
||||
|
||||
description: |
|
||||
Retourne le rôle d'un utlisateur sur un serveur.
|
||||
|
||||
sampleuse: |
|
||||
zephir-client serverselection.user.role.server.get -d '{}'
|
||||
|
||||
pattern: rpc
|
||||
|
||||
public: false
|
||||
domain: serverselection-domain
|
||||
|
||||
parameters:
|
||||
serverid:
|
||||
type: Number
|
||||
description: |
|
||||
Identifiant du serveur.
|
||||
username:
|
||||
type: String
|
||||
description: |
|
||||
Nom de l'utilisateur.
|
||||
|
||||
response:
|
||||
type: ServerSelectionUserRole
|
||||
description: Rôles de l'utilisateur dans les sélections de serveurs.
|
||||
|
||||
errors:
|
||||
- uri: serverselection.error.database_not_available
|
||||
- uri: serverselection.error.invalid_serverselection_id
|
||||
|
||||
related:
|
||||
- serverselection.delete
|
||||
- serverselection.create
|
||||
- serverselection.list
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue