lecoffre-back/doc/Le Coffre Api.postman_collection.json
2023-10-23 17:39:35 +02:00

21780 lines
690 KiB
JSON

{
"info": {
"_postman_id": "cc754510-3aeb-422d-b5bf-31c71400bbac",
"name": "Le Coffre Api",
"description": "You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "19082188"
},
"item": [
{
"name": "notary",
"item": [
{
"name": "customers",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find customer by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all customers",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"customers"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "deeds",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find deed by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all deeds",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deeds"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "deed-types",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find deed type by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed type to return"
}
]
},
"description": "Returns a single deed type"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing deed type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed type to return"
}
]
},
"description": "Returns a single deed type updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all deed types",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new deed type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"deed-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "documents",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find document by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all documents",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"documents"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "document-types",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find document type by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all document types",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"document-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "files",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find file by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing file",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "download",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Download file by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "Get all files",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/files",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/files",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/files",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"files"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "anchors",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find anchor by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
},
"description": "Returns a single anchor"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new anchor",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "download",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Download anchor by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
},
"description": "Returns a single anchor"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "Get all anchors",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"anchors"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "folders",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Update an existing folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
]
},
"description": "Returns a single folder updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
]
},
"description": "Returns a single folder deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Find folder by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single folder"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all folders",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/notary/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"folders"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "office-roles",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find office role by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office role"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all office roles",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"office-roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"office-roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"office-roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "offices",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find office by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all offices",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"offices"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"offices"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"offices"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "roles",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find role by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single role"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all roles",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "notifications",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Update an existing notification",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
]
},
"description": "Returns a single notification updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/notary/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Find notification by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single notification"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all notifications",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"notifications"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "users",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find user by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n },\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all users",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/notary/users",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"users"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/users",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"users"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n },\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/notary/users",
"host": [
"{{baseUrl}}"
],
"path": [
"notary",
"users"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "customer",
"item": [
{
"name": "documents",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find document by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/customer/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all documents",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/customer/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/customer/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/customer/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/customer/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"documents"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "files",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find file by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing file",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"path\": \"<string>\",\n \"size\": \"<string>\",\n \"mime_type\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"path\": \"<string>\",\n \"size\": \"<string>\",\n \"mime_type\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"path\": \"<string>\",\n \"size\": \"<string>\",\n \"mime_type\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing file",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all files",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/customer/files",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/files",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/files",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new file",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "multipart/form-data"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"value": "<string>",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/customer/files",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files"
],
"variable": [
{
"key": "q",
"value": "document,[object Object]",
"description": "(Required) requested document object"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "multipart/form-data"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"value": "<string>",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/customer/files",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "multipart/form-data"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "file",
"value": "<string>",
"type": "text"
}
]
},
"url": {
"raw": "{{baseUrl}}/customer/files",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"files"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "folders",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find folder by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/customer/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"folders",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
]
},
"description": "Returns a single folder"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all folders",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/customer/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"folders"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"folders"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/customer/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"customer",
"folders"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "admin",
"item": [
{
"name": "customers",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find customer by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all customers",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"customers"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "deeds",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find deed by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all deeds",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deeds"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "deed-types",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find deed type by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed type to return"
}
]
},
"description": "Returns a single deed type"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing deed type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed type to return"
}
]
},
"description": "Returns a single deed type updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all deed types",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new deed type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"deed-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "documents",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find document by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all documents",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"documents"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "document-types",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find document type by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all document types",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"document-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "files",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find file by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing file",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "download",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Download file by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "Get all files",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/files",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/files",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/files",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"files"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "anchors",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find anchor by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
},
"description": "Returns a single anchor"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new anchor",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "download",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Download anchor by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
},
"description": "Returns a single anchor"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "Get all anchors",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"anchors"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "folders",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Update an existing folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
]
},
"description": "Returns a single folder updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
]
},
"description": "Returns a single folder deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Find folder by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single folder"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all folders",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"folders"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "office-roles",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find office role by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office role"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing office role",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office role updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all office roles",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new office role",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"office-roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "offices",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find office by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all offices",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"offices"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"offices"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"offices"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "roles",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find role by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single role"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all roles",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "notifications",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Update an existing notification",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
]
},
"description": "Returns a single notification updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Find notification by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single notification"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all notifications",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"notifications"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "users",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find user by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n },\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing user",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all users",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/admin/users",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/users",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n },\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/admin/users",
"host": [
"{{baseUrl}}"
],
"path": [
"admin",
"users"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "super-admin",
"item": [
{
"name": "customers",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find customer by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of customer to return"
}
]
},
"description": "Returns a single customer deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all customers",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new customer",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"status\": \"<string>\",\n \"contact\": {\n \"civility\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/customers",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"customers"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "deeds",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find deed by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed to return"
}
]
},
"description": "Returns a single deed deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all deeds",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new deed",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n \"document_types\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"public_description\": \"<string>\",\n \"private_description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deeds",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deeds"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "deed-types",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find deed type by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed type to return"
}
]
},
"description": "Returns a single deed type"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing deed type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of deed type to return"
}
]
},
"description": "Returns a single deed type updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all deed types",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new deed type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/deed-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"deed-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "documents",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find document by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document to return"
}
]
},
"description": "Returns a single document deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all documents",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new document",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"file\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"folder\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/documents",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"documents"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "document-types",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find document type by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of document type to return"
}
]
},
"description": "Returns a single document type deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all document types",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new document type",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/document-types",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"document-types"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "files",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find file by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing file",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/files/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "download",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Download file by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of file to return"
}
]
},
"description": "Returns a single file"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/files/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "Get all files",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/files",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/files",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/files",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"files"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "anchors",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find anchor by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
},
"description": "Returns a single anchor"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new anchor",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Anchor not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "download",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Download anchor by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of anchor to return"
}
]
},
"description": "Returns a single anchor"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors/download/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors",
"download",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
},
{
"name": "Get all anchors",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/anchors",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"anchors"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "folders",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Update an existing folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
]
},
"description": "Returns a single folder updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Delete an existing folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
]
},
"description": "Returns a single folder deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Find folder by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single folder"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/folders/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of folder to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all folders",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new folder",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"deed\": {\n \"uid\": \"<string>\",\n \"deed_type\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"archived_at\": \"<string>\",\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n }\n },\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n \"createdAt\": \"<string>\",\n \"updatedAt\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/folders",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"folders"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "office-roles",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find office role by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office role"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing office role",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office role updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all office roles",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new office role",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/office-roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"office-roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "offices",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find office by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing office",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single office updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/offices/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of office to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all offices",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new office",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/offices",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"offices"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "roles",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find role by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single role"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing role",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single role updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/roles/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of role to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all roles",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Add a new role",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/roles",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"roles"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "notifications",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Update an existing notification",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
]
},
"description": "Returns a single notification updated"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/notifications/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Find notification by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
},
"description": "Returns a single notification"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/notifications/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of notification to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all notifications",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Notification not found in the OpenAPI spec\"\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/notifications",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"notifications"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "users",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Find user by ID",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n },\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
},
{
"name": "Update an existing user",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "PUT",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/users/:uid?uid=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users",
":uid"
],
"query": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of user to return"
}
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Get all users",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/users",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/users",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [],
"body": "[\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n },\n {\n \"uid\": \"<string>\",\n \"idNot\": \"<string>\",\n \"contact\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"email\": \"<string>\",\n \"cell_phone_number\": \"<string>\"\n },\n \"office_folders\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n ],\n \"role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ]\n },\n \"office_role\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\",\n \"rules\": [\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n },\n {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n ],\n \"office\": {\n \"uid\": \"<string>\",\n \"name\": \"<string>\"\n }\n }\n }\n]"
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/users",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"users"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "live-votes",
"item": [
{
"name": "{uid}",
"item": [
{
"name": "Delete an existing live vote",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "DELETE",
"header": [],
"url": {
"raw": "{{baseUrl}}/super-admin/live-votes/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"live-votes",
":uid"
],
"variable": [
{
"key": "uid",
"value": "<string>",
"description": "(Required) ID of live vote to return"
}
]
},
"description": "Returns a single live vote deleted"
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/live-votes/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"live-votes",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "DELETE",
"header": [
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"url": {
"raw": "{{baseUrl}}/super-admin/live-votes/:uid",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"live-votes",
":uid"
],
"variable": [
{
"key": "uid"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
},
{
"name": "Add a new live vote",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{bearerToken}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/LiveVote not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/live-votes",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"live-votes"
]
}
},
"response": [
{
"name": "successful operation",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/LiveVote not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/live-votes",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"live-votes"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
},
{
"name": "Invalid status value",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"description": "Added as a part of security scheme: bearer",
"key": "Authorization",
"value": "Bearer <token>"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"value\": \"reference #/components/schemas/LiveVote not found in the OpenAPI spec\"\n}",
"options": {
"raw": {
"headerFamily": "json",
"language": "json"
}
}
},
"url": {
"raw": "{{baseUrl}}/super-admin/live-votes",
"host": [
"{{baseUrl}}"
],
"path": [
"super-admin",
"live-votes"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [],
"cookie": [],
"body": ""
}
]
}
]
}
]
}
],
"variable": [
{
"key": "baseUrl",
"value": "https://api.stg.lecoffre.smart-chain.fr"
}
]
}