Questo contenuto non è disponibile nella lingua selezionata.

13.2.5. Get Cartridge Status


Description

Retrieve the status_messages string as an array for the specified cartridge in an application.

Method and URL Structure

Expand
Method Resource URL
GET /broker/rest/domain/:name/applications/:name/cartridge/:name

Request Parameters

Not applicable

cURL Command Example

$ curl -X GET https://openshift.redhat.com/broker/rest/domain/mydomain/applications/myapp/cartridge/mysql-5.5?include=status_messages --user user@example.com
Copy to Clipboard Toggle word wrap

JSON Response

The API returns the status_messages string as an array for the specified cartridge in an application. Unnecessary information and related resource links returned by the API have been removed for brevity.

"status_messages": [
            {
                "gear_id": "51142f5adbd93ce16a0005c4",
                "message": "MySQL is running\n"
            }
        ],
Copy to Clipboard Toggle word wrap

Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat