---
title: "CategorySettings (Discourse)"
description: "Category Settings"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/discourse/Discourse.Categories.CategorySettings
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Categories.CategorySettings
updated: 2026-11-16T20:47:02Z
license: https://documentation.invantive.eu/it/
---

# CategorySettings: Discourse Category Settings

`insert` `REST`

- Catalogo: `Discourse`
- Schema: `Categories`
- Label: Category Settings

Get a list of categories The Categories endpoint returns a list of all the categories for your discourse site that you have access to.

È possibile recuperare e modificare i dati utilizzando `insert`.

## Riepilogo

The Categories endpoint returns a list of all the categories for your discourse site that you have access to.

## Codice sorgente dell'API

- Punto finale: `/categories.json`
- Operazione: `get /categories.json`

## Caratteristiche prestazionali

| Characteristic | Value |
|---|---:|
| Latenza media di accesso (ms) | 243 |
| Scrittura di righe al minuto | 219 |

Il risultato può essere memorizzato nella memoria cache sul client.

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `CategorySettings`. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `can_create_category` | `char` | Può creare una categoria | [ ] | filters on the platform, writable, `can_create_category` |  |
| `can_create_topic` | `char` | Può creare un argomento | [ ] | filters on the platform, writable, `can_create_topic` |  |
| `draft` | `char` | Draft | [ ] | filters on the platform, writable, `draft` |  |
| `draft_key` | `varchar2` | Chiave di Bozza | [ ] | filters on the platform, writable, `draft_key` |  |
| `draft_sequence` | `int64` | Sequenza di bozza | [ ] | filters on the platform, writable, `draft_sequence` |  |


## Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

- [Discourse](/it/release-notes/drivers?driver=discourse)

### Modifiche apportate a questa tabella, da 26.0 a 27.0

<div class="rn-item" id="DCE-27.0-D1075">

##### Discourse.Categories.CategorySettings: modifiche al tipo

Il tipo di Discourse.Categories.CategorySettings cambia da tabella a tabella.

<div class="rn-action">

**Cosa fare**

Verificare le istruzioni, le Views e gli script che la utilizzano prima dell’aggiornamento.

</div>

<div class="rn-chips">

- **può interrompere un'istruzione**
- `table` &rarr; `tablefunction`
- importanza 3

</div>

</div>

<a id="DCE-27.0-D117"></a><a id="DCE-27.0-D118"></a><a id="DCE-27.0-D119"></a><a id="DCE-27.0-D1430"></a><a id="DCE-27.0-D1431"></a><a id="DCE-27.0-D1432"></a><a id="DCE-27.0-D1433"></a><a id="DCE-27.0-D1434"></a><a id="DCE-27.0-D1435"></a><a id="DCE-27.0-D1436"></a><a id="DCE-27.0-D1437"></a><a id="DCE-27.0-D1438"></a><a id="DCE-27.0-D1439"></a><a id="DCE-27.0-D1440"></a>

- `-` `draft`
- `-` `draft_key`
- `-` `draft_sequence`
- `+` `allow_badges` (`char`)
- `+` `color` (`varchar2`)
- `+` `emoji` (`varchar2`)
- `+` `icon` (`varchar2`)
- `+` `name` (`varchar2`)
- `+` `parent_category_id` (`int32`)
- `+` `permissions_everyone` (`int32`)
- `+` `permissions_staff` (`int32`)
- `+` `search_priority` (`int32`)
- `+` `slug` (`varchar2`)
- `+` `style_type` (`varchar2`)

<details>
<summary>

3 ulteriori modifiche

</summary>

<div class="rn-item" id="DCE-27.0-D2376">

##### Il parametro include_subcategories è stato aggiunto a Discourse.Categories.CategorySettings

Facoltativo.

<div class="rn-chips">

- importanza 2

</div>

</div>

<a id="DCE-27.0-D1441"></a><a id="DCE-27.0-D1442"></a>

- `+` `text_color` (`varchar2`)
- `+` `topic_featured_links_allowed` (`char`)

</details>

[Tutte le sostituzioni del conducente, da 26.0 a 27.0](/it/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)
