GET /katello/api/organizations
Elenca tutte le organizzazioni

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

search
opzionale

Cerca stringa

Validations:

  • String

page
opzionale

Numero pagina, iniziando da 1

Validations:

  • Must be a number.

per_page
opzionale

Numero di risultati per pagina da ritornare

Validations:

  • Must be a number.

order
opzionale

Sort field and order, eg. 'id DESC'

Validations:

  • String

full_result
opzionale

Indica se mostrare tutti i risultati

Validations:

  • Must be one of: true, false, 1, 0

sort
opzionale

Versione hash del parametro 'order'

Validations:

  • Hash

sort[by]
opzionale

Campo nel quale ordinare i risultati

Validations:

  • String

sort[order]
opzionale

Come ordinare i risultati (es. ASC per ascendente)

Validations:

  • String


GET /katello/api/organizations/:id
Mostra organizzazione

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

ID organizzazione

Validations:

  • Must be a number.


POST /katello/api/organizations
Crea organizzazione

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

name
richiesto

nome

Validations:

  • String

label
opzionale

etichetta unica

Validations:

  • String

description
opzionale

descrizione

Validations:

  • String

organization
richiesto

Validations:

  • Hash

organization[name]
richiesto

Validations:

  • String

organization[description]
opzionale , consentito nil

Validations:

  • String

organization[user_ids]
opzionale , consentito nil

ID Utenti

Validations:

  • Must be an array of any type

organization[smart_proxy_ids]
opzionale , consentito nil

ID Smart proxy

Validations:

  • Must be an array of any type

organization[compute_resource_ids]
opzionale , consentito nil

ID risorsa di calcolo

Validations:

  • Must be an array of any type

organization[medium_ids]
opzionale , consentito nil

Medium IDs

Validations:

  • Must be an array of any type

organization[config_template_ids]
opzionale , consentito nil

ID template di provisioning

Validations:

  • Must be an array of any type

organization[ptable_ids]
opzionale , consentito nil

Partition template IDs

Validations:

  • Must be an array of any type

organization[provisioning_template_ids]
opzionale , consentito nil

ID template di provisioning

Validations:

  • Must be an array of any type

organization[domain_ids]
opzionale , consentito nil

ID del dominio

Validations:

  • Must be an array of any type

organization[realm_ids]
opzionale , consentito nil

ID realm

Validations:

  • Must be an array of any type

organization[hostgroup_ids]
opzionale , consentito nil

ID gruppo di host

Validations:

  • Must be an array of any type

organization[environment_ids]
opzionale , consentito nil

ID ambiente

Validations:

  • Must be an array of any type

organization[subnet_ids]
opzionale , consentito nil

ID sottoreti

Validations:

  • Must be an array of any type

organization[label]
opzionale , consentito nil

Validations:

  • String


PUT /katello/api/organizations/:id
Aggiorna organizzazione

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

ID organizzazione

Validations:

  • Must be a number.

redhat_repository_url
opzionale

Red Hat CDN URL

Validations:

  • String

organization
richiesto

Validations:

  • Hash

organization[name]
opzionale

Validations:

  • String

organization[description]
opzionale , consentito nil

Validations:

  • String

organization[user_ids]
opzionale , consentito nil

ID Utenti

Validations:

  • Must be an array of any type

organization[smart_proxy_ids]
opzionale , consentito nil

ID Smart proxy

Validations:

  • Must be an array of any type

organization[compute_resource_ids]
opzionale , consentito nil

ID risorsa di calcolo

Validations:

  • Must be an array of any type

organization[medium_ids]
opzionale , consentito nil

Medium IDs

Validations:

  • Must be an array of any type

organization[config_template_ids]
opzionale , consentito nil

ID template di provisioning

Validations:

  • Must be an array of any type

organization[ptable_ids]
opzionale , consentito nil

Partition template IDs

Validations:

  • Must be an array of any type

organization[provisioning_template_ids]
opzionale , consentito nil

ID template di provisioning

Validations:

  • Must be an array of any type

organization[domain_ids]
opzionale , consentito nil

ID del dominio

Validations:

  • Must be an array of any type

organization[realm_ids]
opzionale , consentito nil

ID realm

Validations:

  • Must be an array of any type

organization[hostgroup_ids]
opzionale , consentito nil

ID gruppo di host

Validations:

  • Must be an array of any type

organization[environment_ids]
opzionale , consentito nil

ID ambiente

Validations:

  • Must be an array of any type

organization[subnet_ids]
opzionale , consentito nil

ID sottoreti

Validations:

  • Must be an array of any type

organization[parent_id]
opzionale , consentito nil

Parent ID

Validations:

  • Must be a number.

organization[ignore_types]
opzionale , consentito nil

List of resources types that will be automatically associated

Validations:

  • Must be an array of any type


DELETE /katello/api/organizations/:id
Cancella organizzazione

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

ID organizzazione

Validations:

  • Must be a number.


PUT /katello/api/organizations/:id/repo_discover
Trova repositori

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

ID organizzazione

Validations:

  • Must be a number.

url
opzionale

Base URL to perform repo discovery on

Validations:

  • String

content_type
opzionale

One of yum or docker

Validations:

  • String

upstream_username
opzionale

Username to access URL

Validations:

  • String

upstream_password
opzionale

Password to access URL

Validations:

  • String


PUT /katello/api/organizations/:label/cancel_repo_discover
Cancella scoperta repositorio

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

label
opzionale

Etichetta organizzazione

Validations:

  • String

url
opzionale

url di base sul quale eseguire la scoperta dei repositori

Validations:

  • String


GET /katello/api/organizations/:label/download_debug_certificate
Scarica un certificato di debug

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

label
opzionale

Etichetta organizzazione

Validations:

  • String


GET /katello/api/organizations/:id/releases
List available releases in the organization

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer

id
richiesto

ID of the Organization

Validations:

  • String


POST /katello/api/organizations/:id/autoattach_subscriptions DEPRECATED
Auto-attach available subscriptions to all hosts within an organization. Asynchronous operation.

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer


GET /katello/api/organizations/:id/redhat_provider
Elenca tutte le :resource_id

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Integer