Delete a publication of your school's knowledge base when your own system drops the guide or the link it comes from, so that it disappears from Edusign and from the student app without a manual delete in Edusign. No body.
Your school needs the API option and the knowledge base feature.
The delete is permanent: a deleted publication cannot be restored. The items that follow it in its category move up one position. The other publications and the category are not changed.
Chatbot
The campus chatbot cannot forget a document yet. When your school has the campus chatbot and the publication is synced with it, the request answers 409 KNOWLEDGE_BASE_CHATBOT_SYNCED and nothing is deleted; errors names the synced publication. Turn its sync off first in Edusign: Application › Knowledge base, set the Chatbot switch of the publication to Not synced, then send the delete again. Turning the sync off leaves the document in the chatbot index for now. Nothing is ever sent to the chatbot by this route, and the sync setting is not changed. When your school does not have the campus chatbot, the sync setting is ignored and the publication is deleted.
Cover
The cover image is removed from the storage before the publication is deleted. When the storage refuses, the request answers 502 KNOWLEDGE_BASE_COVER_DELETE_FAILED and the publication is still there, though its cover may already be partly gone: send the same request again later, a cover already removed counts as removed.
Concurrent changes
The checks run on the publication as the request reads it, and the delete happens only while its chatbot sync and its cover still read the same under the lock: when one of them changed meanwhile, the request answers 409 KNOWLEDGE_BASE_PUBLICATION_CONFLICT, nothing is deleted and no cover is removed; send the request again. The cover is removed under that lock, so a cover replaced at the same instant cannot be lost.
Items filed inside a publication by Edusign (the API never files any there) are deleted with it, as in Edusign, and are checked and cleaned the same way: a synced one refuses the delete, their covers are removed first.
A publication is found in your school only: an unknown or malformed id, another school's publication or a category answers 404 KNOWLEDGE_BASE_PUBLICATION_NOT_FOUND.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||

