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
string
required
Must be
"kafka".string
required
A unique name for this connector, such as
local-kafka or staging-kafka.string
required
Comma-separated list of Kafka bootstrap server addresses in
host:port format.string
Optional authentication username.
string
Optional authentication password.
GET /connectors/configurations
List all saved broker connectors and their connection status. Passwords are not returned in the response. Response — 200 OKstring
The broker type:
kafka or rabbit.string
The connector name.
string
The connection endpoint. For Kafka, the bootstrap server address. For RabbitMQ,
host:port.boolean
true if the producer side of the connection is active.boolean
true if the consumer side of the connection is active.boolean
true if credentials were provided for this connector.DELETE /connectors/configurations//
Delete a broker connector by type and name. Path parametersstring
required
The broker type:
kafka or rabbit.string
required
The name of the connector to delete.
POST /db/connectors/configurations
Create a database connector. Currently, Devset supports MongoDB.string
required
The database type. Currently only
"mongodb" is supported.string
required
A unique name for this connector, such as
local-mongo or staging-mongo.string
required
A valid MongoDB connection URI, such as
mongodb://localhost:27017 or mongodb+srv://user:pass@cluster.example.net.string
required
The default database to use when a query does not specify one explicitly.
string
Optional authentication username.
string
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 OKstring
The database type. Currently always
"mongodb".string
The connector name.
string
The connection URI used by this connector.
boolean
true if the client is currently connected to the database.boolean
true if credentials were provided for this connector.DELETE /db/connectors/configurations//
Delete a database connector by type and name. Path parametersstring
required
The database type:
mongodb.string
required
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.
string
required
The name of the MongoDB connector to use.
string
required
The database containing the target collection.
string
required
The collection to query.
string
required
A MongoDB query filter document serialized as a JSON string. Use
"{}" to return all documents.string
A MongoDB projection document serialized as a JSON string, specifying which fields to include (
1) or exclude (0). Omit to return all fields.integer
Maximum number of documents to return. Use
0 or omit for no limit.array
Array of matching documents, shaped by your projection. The
_id field is included by default unless explicitly excluded.integer
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.string
required
The name of the MongoDB connector to use.
string
required
The database containing the target collection.
string
required
The collection to sample.
string
Dot-notation path of the field (e.g.
address.city).string
Inferred BSON type name (e.g.
String, Integer, Document, Array).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 parametersstring
required
The name of the MongoDB connector to query.
GET /mongodb///collections
List all collections in a specific database. Path parametersstring
required
The name of the MongoDB connector to query.
string
required
The database whose collections you want to list.