Skip to Content

Crear una categoría

Crear una categoría se realiza enviando una solicitud POST al endpoint /categories.

Crear objeto de categoría

curl -X POST https://app.ignitevideo.cloud/api/categories \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"title": "Your category title", "slug":"your-category-slug"}'

Respuesta

La respuesta es el objeto de categoría recién creado.

{ "id": "[CATEGORY_ID]", "title": "Your category title", "slug": "your-category-slug", }