docs: add single type examples

Signed-off-by: Jim LAURIE <j.laurie6993@gmail.com>
This commit is contained in:
Jim LAURIE 2020-03-10 16:47:41 +01:00
parent 44b1b302bc
commit 11aeae4dc7
2 changed files with 33 additions and 1 deletions

View File

@ -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

View File

@ -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