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

# Categories: Discourse Categories

`read only` `REST`

- Katalog: `Discourse`
- Schema: `Categories`
- Label: Categories

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

Es können nur Daten abgerufen werden.

## Zusammenfassung

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

## API-Quelle

- Endpunkt: `/categories.json`
- Operation: `get /categories.json`

## Leistungsmerkmale

| Characteristic | Value |
|---|---:|
| Durchschnittliche Zugriffsverzögerung (ms) | 243 |
| Zeilen pro Minute schreiben | 219 |

Das Ergebnis kann auf dem Client im Cache zwischengespeichert werden.

## Tabellenspalten

Die Spalten der Tabelle `Categories` sind unten aufgeführt. Jede Spalte hat einen SQL-Datentyp. Beim Einfügen und Aktualisieren muss für jede erforderliche Spalte jederzeit ein neuer Wert angegeben werden der nicht Null ist.

| Name | Datentyp | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `background_url` | `varchar2` | Hintergrund-URL | [ ] | writable, `background_url` |  |
| `can_create_category` | `char` | Kategorie anlegen | [ ] | filters on the platform, writable, `::ancestor.can_create_category` |  |
| `can_create_topic` | `char` | Thema erstellen | [ ] | filters on the platform, writable, `::ancestor.can_create_topic` |  |
| `can_edit` | `char` | Kann bearbeiten | [ ] | writable, `can_edit` |  |
| `can_vote` | `char` | Ist wahlberechtigt | [ ] | filters on the platform, writable, `can_vote` |  |
| `color` | `varchar2` | Colour | [ ] | writable, `color` |  |
| `default_list_filter` | `varchar2` | Standardfilter für die Liste | [ ] | filters on the platform, writable, `default_list_filter` |  |
| `default_top_period` | `varchar2` | Standard-Top-Zeitraum | [ ] | filters on the platform, writable, `default_top_period` |  |
| `default_view` | `varchar2` | Standard View | [ ] | filters on the platform, writable, `default_view` |  |
| `description` | `varchar2` | Description | [ ] | writable, `description` |  |
| `description_excerpt` | `varchar2` | Auszug aus der Beschreibung | [ ] | writable, `description_excerpt` |  |
| `description_text` | `varchar2` | Beschreibungstext | [ ] | writable, `description_text` |  |
| `draft` | `char` | Draft | [ ] | filters on the platform, writable, `::ancestor.draft` |  |
| `draft_key` | `varchar2` | Entwurfsschlüssel | [ ] | filters on the platform, writable, `::ancestor.draft_key` |  |
| `draft_sequence` | `int64` | Entwurfssequenz | [ ] | filters on the platform, writable, `::ancestor.draft_sequence` |  |
| `has_children` | `char` | Hat Kinder | [ ] | writable, `has_children` |  |
| `id` | `int64` | ID | [ ] | writable, `id` |  |
| `is_uncategorized` | `char` | Ist „Unkategorisiert“ | [ ] | filters on the platform, writable, `is_uncategorized` |  |
| `logo_url` | `varchar2` | Logo URL | [ ] | writable, `logo_url` |  |
| `minimum_required_tags` | `int32` | Erforderliche Mindestanzahl an Tags | [ ] | filters on the platform, writable, `minimum_required_tags` |  |
| `name` | `varchar2` | Name | [ ] | writable, `name` |  |
| `navigate_to_first_post_after_read` | `char` | Zum ersten Beitrag nach dem Gelesenen springen | [ ] | filters on the platform, writable, `navigate_to_first_post_after_read` |  |
| `notification_level` | `varchar2` | Benachrichtigungsstufe | [ ] | writable, `notification_level` |  |
| `num_featured_topics` | `int32` | Anzahl der vorgestellten Themen | [ ] | filters on the platform, writable, `num_featured_topics` |  |
| `permission` | `int64` | Permission | [ ] | writable, `permission` |  |
| `position` | `int64` | Position | [ ] | writable, `position` |  |
| `post_count` | `int64` | #Posts | [ ] | writable, `post_count` |  |
| `read_restricted` | `char` | Zugriff eingeschränkt | [ ] | writable, `read_restricted` |  |
| `show_subcategory_list` | `char` | Unterkategorienliste anzeigen | [ ] | filters on the platform, writable, `show_subcategory_list` |  |
| `slug` | `varchar2` | Slug | [ ] | writable, `slug` |  |
| `sort_order` | `varchar2` | Sortierungsrichtung | [ ] | filters on the platform, writable, `sort_order` |  |
| `subcategory_list_style` | `varchar2` | Stil der Unterkategorienliste | [ ] | filters on the platform, writable, `subcategory_list_style` |  |
| `text_color` | `varchar2` | Textfarbe | [ ] | writable, `text_color` |  |
| `topic_count` | `int64` | #Topics | [ ] | writable, `topic_count` |  |
| `topic_template` | `varchar2` | Themen-Schablone | [ ] | writable, `topic_template` |  |
| `topic_url` | `varchar2` | Themen-URL | [ ] | writable, `topic_url` |  |
| `topics_all_time` | `int64` | Themen aller Zeiten | [ ] | writable, `topics_all_time` |  |
| `topics_day` | `int64` | Thementag | [ ] | writable, `topics_day` |  |
| `topics_month` | `int64` | Themenmonat | [ ] | writable, `topics_month` |  |
| `topics_week` | `int64` | Themenwoche | [ ] | writable, `topics_week` |  |
| `topics_year` | `int64` | Themen Jahr | [ ] | writable, `topics_year` |  |
| `uploaded_logo_height` | `int32` | Höhe des hochgeladenen Logos | [ ] | filters on the platform, writable, `uploaded_logo.height` |  |
| `uploaded_logo_id` | `int32` | Hochgeladene Logo-ID | [ ] | filters on the platform, writable, `uploaded_logo.id` |  |
| `uploaded_logo_url` | `varchar2` | URL des hochgeladenen Logos | [ ] | filters on the platform, writable, `uploaded_logo.url` |  |
| `uploaded_logo_width` | `int32` | Breite des hochgeladenen Logos | [ ] | filters on the platform, writable, `uploaded_logo.width` |  |

## Verwiesen von

- [Posts](Discourse.Posts.Posts) `category_id` (Candidate)
- [Posts_Latest_postsActions_summary](Discourse.Posts.Posts_Latest_postsActions_summary) `category_id` (Candidate)
- [Top_Topic_listTopics](Discourse.Topics.Top_Topic_listTopics) `category_id` (Candidate)
- [Top_Topic_listTopicsPosters](Discourse.Topics.Top_Topic_listTopicsPosters) `category_id` (Candidate)


## Anmerkungen zu dieser Version

Was hat sich in den Tabellen, Spalten, Attributen und Funktionen des Treibers mit jeder neuen Version geändert:

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

### Änderungen an dieser Tabelle, 26.0 bis 27.0

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

##### Discourse.Categories.Categories: Typänderungen

Der Typ von „Discourse.Categories.Categories“ ändert sich von „Tabelle“ zu „Tabellefunction“.

<div class="rn-action">

**Was ist zu tun?**

Überprüfen Sie vor dem Upgrade alle Statements, Views und Skripte, die diese Spalte verwenden.

</div>

<div class="rn-chips">

- **kann ein Statement unterbrechen**
- `table` &rarr; `tablefunction`
- Bedeutung 3

</div>

</div>

<a id="DCE-27.0-D106"></a><a id="DCE-27.0-D107"></a><a id="DCE-27.0-D108"></a><a id="DCE-27.0-D109"></a><a id="DCE-27.0-D110"></a><a id="DCE-27.0-D111"></a><a id="DCE-27.0-D112"></a><a id="DCE-27.0-D113"></a><a id="DCE-27.0-D114"></a><a id="DCE-27.0-D115"></a><a id="DCE-27.0-D116"></a><a id="DCE-27.0-D1420"></a><a id="DCE-27.0-D1421"></a><a id="DCE-27.0-D1422"></a>

- `-` `background_url`
- `-` `draft`
- `-` `draft_key`
- `-` `draft_sequence`
- `-` `logo_url`
- `~` `minimum_required_tags` (`database_data_type`: `int32` &rarr; `int64`)
- `~` `minimum_required_tags` (`dotnet_data_type`: `int32` &rarr; `int64`)
- `~` `notification_level` (`database_data_type`: `varchar2` &rarr; `int64`)
- `~` `notification_level` (`dotnet_data_type`: `string` &rarr; `int64`)
- `~` `num_featured_topics` (`database_data_type`: `int32` &rarr; `int64`)
- `~` `num_featured_topics` (`dotnet_data_type`: `int32` &rarr; `int64`)
- `+` `emoji` (`varchar2`)
- `+` `icon` (`varchar2`)
- `+` `sort_ascending` (`varchar2`)

<details>
<summary>

8 weitere Änderungen

</summary>

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

##### Der Parameter include_subcategories wird zu „Discourse.Categories.Categories“ hinzugefügt.

Optional.

<div class="rn-chips">

- Bedeutung 2

</div>

</div>

<a id="DCE-27.0-D1423"></a><a id="DCE-27.0-D1424"></a><a id="DCE-27.0-D1425"></a><a id="DCE-27.0-D1426"></a><a id="DCE-27.0-D1427"></a><a id="DCE-27.0-D1428"></a><a id="DCE-27.0-D1429"></a>

- `+` `style_type` (`varchar2`)
- `+` `subcategory_count` (`int64`)
- `+` `topic_title_placeholder` (`varchar2`)
- `+` `uploaded_background` (`varchar2`)
- `+` `uploaded_background_dark` (`varchar2`)
- `+` `uploaded_logo` (`varchar2`)
- `+` `uploaded_logo_dark` (`varchar2`)

</details>

[Alle Treiberwechsel, 26.0 bis 27.0](/de/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)
