Skip to main content
developer edition

((install)) - Developer Edition

A: Developer Edition includes GraphQL playground at /graphql – use ?dev=true .

curl -X POST https://api.dev.example.com/v1/items \ -H "Authorization: Bearer $EDITOR_API_KEY" \ -H "Content-Type: application/json" \ -d '"name":"dev-item","data":"test":true' 4.1 Expose local server # Using ngrok ngrok http 3000 # Forward https://abc123.ngrok.io → localhost:3000 4.2 Register webhook curl -X POST https://api.dev.example.com/v1/webhooks \ -H "Authorization: Bearer $KEY" \ -d '"url":"https://abc123.ngrok.io/webhook","events":["item.created"]' 4.3 Verify signature (security) // Express example app.post('/webhook', (req, res) => const signature = req.headers['x-editor-signature']; const expected = crypto.createHmac('sha256', webhookSecret) .update(JSON.stringify(req.body)) .digest('hex'); if (signature !== expected) return res.status(401).send('Invalid'); // process event res.sendStatus(200); ); 5. SDKs & Code Examples Node.js import EditorClient from '@editor/sdk'; const client = new EditorClient( apiKey: process.env.EDITOR_API_KEY ); const items = await client.items.list( limit: 10 ); Python from editor import Client client = Client(api_key="dev_xxxx") items = client.items.list(limit=10) Go import "github.com/editor/editor-go" client := editor.NewClient("dev_xxxx") items, _ := client.Items.List(context.Background(), nil) 6. CLI Tool (if provided) # Install npm install -g @editor/cli Login editor login --environment dev List resources editor items list --format json Trigger a webhook manually editor webhooks trigger item.created --payload '"id":"test"' Tail logs editor logs follow 7. Debugging & Troubleshooting 7.1 Enable request logging // Node process.env.DEBUG = 'editor:*'; 7.2 Inspect raw requests Use echo server : developer edition

A: Dev queue processes every 10s; production is near‑real‑time. A: Developer Edition includes GraphQL playground at /graphql

Join hundreds of thousands of subscribers, and get the best content on technology in education.

BookWidgets enables teachers to create fun and interactive lessons for tablets, smartphones, and computers.

Choose from over 40 exercise templates (quizzes, crosswords, jigsaw puzzles, ...), and adapt them with your own content.