Plan éditorial
Gérez le plan éditorial : voix, cadence, mix de plateformes et sujets hebdomadaires.
GET
/brands/:slug/editorial-planObtient le plan éditorial actif et toute modification proposée.
Responses
200Objet du plan
curl -X GET \ https://anomalia.so/api/v1/brands/:slug/editorial-plan \ -H "Authorization: Bearer $TOKEN"
POST
/brands/:slug/editorial-plan/proposeGénère une nouvelle proposition de plan via IA.
Responses
200Proposition
curl -X POST \ https://anomalia.so/api/v1/brands/:slug/editorial-plan/propose \ -H "Authorization: Bearer $TOKEN"
POST
/brands/:slug/editorial-plan/approveApprouve le plan proposé.
Responses
200Approuvé
curl -X POST \ https://anomalia.so/api/v1/brands/:slug/editorial-plan/approve \ -H "Authorization: Bearer $TOKEN"
POST
/brands/:slug/editorial-plan/reviseDemande des révisions à l'IA avec des commentaires.
Request Body
{ "feedback": "More behind-the-scenes content" }Responses
200Révisé
curl -X POST \
https://anomalia.so/api/v1/brands/:slug/editorial-plan/revise \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "feedback": "More behind-the-scenes content" }'POST
/brands/:slug/editorial-plan/updateMet à jour le plan manuellement.
Request Body
{ "cadence": "5/week", "platform_mix": { "instagram": 0.6 } }Responses
200Mis à jour
curl -X POST \
https://anomalia.so/api/v1/brands/:slug/editorial-plan/update \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "cadence": "5/week", "platform_mix": { "instagram": 0.6 } }'POST
/brands/:slug/editorial-plan/discardRejette le plan proposé.
Responses
200Rejeté
curl -X POST \ https://anomalia.so/api/v1/brands/:slug/editorial-plan/discard \ -H "Authorization: Bearer $TOKEN"