2022-10-11 00:09:26 +02:00
|
|
|
# bruno-schema
|
|
|
|
|
|
|
|
The schema definition for collections
|
|
|
|
|
|
|
|
### Collection schema
|
2022-10-11 00:20:48 +02:00
|
|
|
```bash
|
|
|
|
id Unique id (when persisted to a db)
|
|
|
|
uid Unique id
|
|
|
|
name collection name
|
|
|
|
items Items (folders and requests)
|
|
|
|
|-uid A unique id
|
2022-10-14 23:18:06 +02:00
|
|
|
|-name Item name
|
|
|
|
|-type Item type (folder, http-request, graphql-request)
|
2022-10-11 00:20:48 +02:00
|
|
|
|-request Request object
|
|
|
|
|-url Request url
|
|
|
|
|-method Request method
|
|
|
|
|-headers Request headers (array of key-val)
|
|
|
|
|-params Request params (array of key-val)
|
|
|
|
|-body Request body object
|
|
|
|
|-mode Request body mode
|
|
|
|
|-json Request json body
|
|
|
|
|-text Request text body
|
|
|
|
|-xml Request xml body
|
|
|
|
|-multipartForm Request multipartForm body
|
|
|
|
|-formUrlEncoded Request formUrlEncoded body
|
|
|
|
```
|