mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
docs: add single type examples
Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
This commit is contained in:
parent
44b1b302bc
commit
11aeae4dc7
@ -162,6 +162,38 @@ Here is the list of endpoints generated for each of your **Content Types**.
|
||||
|
||||
:::
|
||||
|
||||
::: tab Contact
|
||||
|
||||
`Contact` **Content Type**
|
||||
|
||||
<div id="endpoint-table">
|
||||
|
||||
| Method | Path | Description |
|
||||
| :----- | :--------- | :------------------------- |
|
||||
| GET | `/contact` | Get the contact content |
|
||||
| PUT | `/contact` | Update the contact content |
|
||||
| DELETE | `/contact` | Delete the contact content |
|
||||
|
||||
</div>
|
||||
|
||||
:::
|
||||
|
||||
::: tab About
|
||||
|
||||
`About` **Content Type**
|
||||
|
||||
<div id="endpoint-table">
|
||||
|
||||
| Method | Path | Description |
|
||||
| :----- | :------- | :----------------------- |
|
||||
| GET | `/about` | Get the about content |
|
||||
| PUT | `/about` | Update the about content |
|
||||
| DELETE | `/about` | Delete the about content |
|
||||
|
||||
</div>
|
||||
|
||||
:::
|
||||
|
||||
::::
|
||||
|
||||
### Collection Types
|
||||
|
||||
@ -15,7 +15,7 @@ It's the origin purpose of the project.
|
||||
|
||||
### Custom content structure
|
||||
|
||||
With the admin panel of Strapi, You can generate the admin panel in just a few clicks, and get your whole CMS setup in a few minutes.
|
||||
With the admin panel of Strapi, you can generate the admin panel in just a few clicks, and get your whole CMS setup in a few minutes.
|
||||
|
||||
### Manage content
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user