Skip to content

Submission and revision state

POST https://api.agenticscraper.com/api/v1/mcp-market/submissions creates an entry with pending_review. Pricing events supplied in the request are also inserted as pending_review.

Admin approval changes that entry to approved and activates its pending pricing events. Rejection changes the entry status to rejected.

Non-approved owned submissions can be updated in place. Approved entries return a conflict from the update path and require:

POST https://api.agenticscraper.com/api/v1/mcp-market/submissions/{id}/revisions

The revision route creates a new pending_review entry with parentEntryId pointing to the approved entry and a generated -rev-<timestamp> slug suffix.

When an admin approves a revision, the database transaction disables the approved parent, approves the child, and activates the child’s pending pricing events.