Salta al contenuto

Martedì 19 Marzo 2024

Cerca nel sito del Comune di Cagliari

Indice


Breadcrumbs
Corpo della pagina
Contenuti principali

Risorsa /jacms/content

The representation of the content
Dettaglio risorsa
Nome: content
Namespace: jacms
Sorgente: plugins, CMS (jacms)
Estensione: '.xml' per la risposta in formato xml e '.json' per la risposta in formato json.
  • GET

    Metodo: Disponibile
    Descrizione: Return a public content
    Autorizzazione:  Nessuna, questo metodo è pubblico
    Schema XML:  Risposta
    Nome Descrizione Obbligatorio
    id The Id of the content to return (Example: "CNG34", or "NEW45") Si
    modelId The Id of the content model used to render each content in the HTML section of the response. Must be an integer, 'default' or 'list' No
  • POST

    Metodo: Disponibile
    Descrizione: Add a content
    Autorizzazione:  Utenti registrati con permesso Supervision of contents
    Schema XML:  Richiesta Risposta
    Nome Descrizione Obbligatorio
    insertOnLine If 'true', insert the new content online. Entries 'true' or 'false', default value 'false' No
  • PUT

    Metodo: Disponibile
    Descrizione: Update a content
    Autorizzazione:  Utenti registrati con permesso Supervision of contents
    Schema XML:  Richiesta Risposta
    Nome Descrizione Obbligatorio
    insertOnLine If 'true', update the new content online. Entries 'true' or 'false', default value 'false' No
  • DELETE

    Metodo: Disponibile
    Descrizione: Delete a content
    Autorizzazione:  Utenti registrati con permesso Supervision of contents
    Schema XML:  Risposta
    Nome Descrizione Obbligatorio
    id The Id of the content to delete (Example: "CNG34", or "NEW45") Si
    removeWorkVersion If 'true', remove also the work version. Entries 'true' or 'false', default value 'false' No