http://localhost:8082.
POST /connectors/configurations
Create a broker connector. Devset stores the connection details and makes the connector available by name across all other APIs.- Kafka
- RabbitMQ
Must be
"kafka".A unique name for this connector, such as
local-kafka or staging-kafka.Comma-separated list of Kafka bootstrap server addresses in
host:port format.Optional authentication username.
Optional authentication password.
GET /connectors/configurations
List all saved broker connectors and their connection status. Passwords are not returned in the response. Response — 200 OKThe broker type:
kafka or rabbit.The connector name.
The connection endpoint. For Kafka, the bootstrap server address. For RabbitMQ,
host:port.true if the producer side of the connection is active.true if the consumer side of the connection is active.true if credentials were provided for this connector.DELETE /connectors/configurations//
Delete a broker connector by type and name. Path parametersThe broker type:
kafka or rabbit.The name of the connector to delete.
POST /db/connectors/configurations
Create a database connector. Currently, Devset supports MongoDB.The database type. Currently only
"mongodb" is supported.A unique name for this connector, such as
local-mongo or staging-mongo.A valid MongoDB connection URI, such as
mongodb://localhost:27017 or mongodb+srv://user:pass@cluster.example.net.The default database to use when a query does not specify one explicitly.
Optional authentication username.
Optional authentication password.
GET /db/connectors/configurations
List all saved database connectors and their connection status. Connection string credentials are not returned in the response. Response — 200 OKThe database type. Currently always
"mongodb".The connector name.
The connection URI used by this connector.
true if the client is currently connected to the database.true if credentials were provided for this connector.DELETE /db/connectors/configurations//
Delete a database connector by type and name. Path parametersThe database type:
mongodb.The name of the connector to delete.
POST /mongodb/query
Run a MongoDBfind query against a collection. Devset connects using the named connector and returns matching documents along with the total count.
The name of the MongoDB connector to use.
The database containing the target collection.
The collection to query.
A MongoDB query filter document serialized as a JSON string. Use
"{}" to return all documents.A MongoDB projection document serialized as a JSON string, specifying which fields to include (
1) or exclude (0). Omit to return all fields.Maximum number of documents to return. Use
0 or omit for no limit.Array of matching documents, shaped by your projection. The
_id field is included by default unless explicitly excluded.Total number of documents returned.
POST /mongodb/schema
Discover the field structure of a collection by sampling one document. Devset inspects the document and returns a list of fields with their paths, inferred BSON types, and any nested children for embedded documents. Use this to understand collection shape before writing a query or workflow stage.The name of the MongoDB connector to use.
The database containing the target collection.
The collection to sample.
Dot-notation path of the field (e.g.
address.city).Inferred BSON type name (e.g.
String, Integer, Document, Array).Nested field descriptors when
type is Document. Empty for all other types.Schema discovery samples a single document. If your collection has documents with varying shapes, the result may not reflect all possible fields. Run queries against several documents to build a complete picture.
GET /mongodb//databases
List all databases accessible with the given MongoDB connector. Path parametersThe name of the MongoDB connector to query.
GET /mongodb///collections
List all collections in a specific database. Path parametersThe name of the MongoDB connector to query.
The database whose collections you want to list.