diff --git a/docs/3.0.0-beta.x/content-api/api-endpoints.md b/docs/3.0.0-beta.x/content-api/api-endpoints.md index 5257155559..a195988f69 100644 --- a/docs/3.0.0-beta.x/content-api/api-endpoints.md +++ b/docs/3.0.0-beta.x/content-api/api-endpoints.md @@ -1,8 +1,12 @@ # API Endpoints -When you create a `Content Type` you will have a certain number of REST API endpoints available to interact with it. +When you create a `Content Type` you will have a certain number of **REST API endpoints** available to interact with it. -As an example let's consider the `Restaurant` Content Type for the next steps. +As an **example** let's consider the `Restaurant` as a **Content Type** and `Openning_hours` as a **Group** for the next steps. + +:::: tabs cache-lifetime="10" :options="{ useUrlFragment: false }" + +::: tab "Content Type" id="content-type" ### `Restaurant` Content Type @@ -12,6 +16,10 @@ As an example let's consider the `Restaurant` Content Type for the next steps. | cover | media | Restaurant's cover image | | | opening_hours | group | Restaurant's opening hours group | `repeatable` | +::: + +::: tab "Group" id="group" + ### `Opening_hours` Group | Fields | Type | Description | @@ -20,10 +28,14 @@ As an example let's consider the `Restaurant` Content Type for the next steps. | opening_hour | string | Meta's opening hour | | closing_hour | string | Meta's closing hour | ---- +::: + +:::: ## Endpoints +Here is the list of endpoints generated for each of your **Content Types** +