{ "info": { "_postman_id": "12da7bd2-25b7-483f-808d-f3ad49ac97e4", "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}}notary" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/customers/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/customers/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/customers/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/customers/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/customers/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/customers/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/customers/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/customers", "host": [ "{{baseUrl}}notary" ], "path": [ "customers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/customers", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/customers", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/customers", "host": [ "{{baseUrl}}notary" ], "path": [ "customers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/customers", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/deeds/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/deeds/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/deeds", "host": [ "{{baseUrl}}notary" ], "path": [ "deeds" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/deeds", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds", "host": [ "{{baseUrl}}notary" ], "path": [ "deeds" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deeds", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/deed-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/deed-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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 \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deed-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deed-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deed-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/deed-types", "host": [ "{{baseUrl}}notary" ], "path": [ "deed-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/deed-types", "host": [ "{{baseUrl}}notary" ], "path": [ "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 \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deed-types", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deed-types", "host": [ "{{baseUrl}}notary" ], "path": [ "deed-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/deed-types", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/documents/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/documents/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/documents", "host": [ "{{baseUrl}}notary" ], "path": [ "documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/documents", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents", "host": [ "{{baseUrl}}notary" ], "path": [ "documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/documents", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/document-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/document-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/document-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/document-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/document-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/document-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/document-types/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/document-types", "host": [ "{{baseUrl}}notary" ], "path": [ "document-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/document-types", "host": [ "{{baseUrl}}notary" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/document-types", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/document-types", "host": [ "{{baseUrl}}notary" ], "path": [ "document-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/document-types", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/files/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/files/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/files/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/files/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "files", "download", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/files/download/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/files/download/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "files" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/files", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/files", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "anchors", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/anchors/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/anchors/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "anchors", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "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}}notary" ], "path": [ "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 " } ], "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}}notary" ], "path": [ "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}}notary" ], "path": [ "anchors", "download", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/anchors/download/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/anchors/download/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "anchors" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/anchors", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/anchors", "host": [ "{{baseUrl}}notary" ], "path": [ "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/folders/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "folders", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/folders/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/folders/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "folders", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/folders/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/folders/:uid", "host": [ "{{baseUrl}}notary" ], "path": [ "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=", "host": [ "{{baseUrl}}notary" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/folders/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Folder 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 " } ], "url": { "raw": "{{baseUrl}}notary/folders/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}notary" ], "path": [ "folders" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}notary/folders", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/folders", "host": [ "{{baseUrl}}notary" ], "path": [ "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/folders", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/folders", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}notary/folders", "host": [ "{{baseUrl}}notary" ], "path": [ "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=", "host": [ "{{baseUrl}}notary" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/office-roles/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole 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 " } ], "url": { "raw": "{{baseUrl}}notary/office-roles/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/office-roles", "host": [ "{{baseUrl}}notary" ], "path": [ "office-roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole 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 " } ], "url": { "raw": "{{baseUrl}}notary/office-roles", "host": [ "{{baseUrl}}notary" ], "path": [ "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=", "host": [ "{{baseUrl}}notary" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/offices/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Office 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 " } ], "url": { "raw": "{{baseUrl}}notary/offices/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/offices", "host": [ "{{baseUrl}}notary" ], "path": [ "offices" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Office 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 " } ], "url": { "raw": "{{baseUrl}}notary/offices", "host": [ "{{baseUrl}}notary" ], "path": [ "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=", "host": [ "{{baseUrl}}notary" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/roles/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Role 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 " } ], "url": { "raw": "{{baseUrl}}notary/roles/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/roles", "host": [ "{{baseUrl}}notary" ], "path": [ "roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Role 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 " } ], "url": { "raw": "{{baseUrl}}notary/roles", "host": [ "{{baseUrl}}notary" ], "path": [ "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}}notary" ], "path": [ "notifications", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "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}}notary" ], "path": [ "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 " } ], "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}}notary" ], "path": [ "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=", "host": [ "{{baseUrl}}notary" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/notifications/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/notifications/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/notifications", "host": [ "{{baseUrl}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/notifications", "host": [ "{{baseUrl}}notary" ], "path": [ "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=", "host": [ "{{baseUrl}}notary" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}notary/users/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/User 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 " } ], "url": { "raw": "{{baseUrl}}notary/users/:uid?uid=", "host": [ "{{baseUrl}}notary" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}notary" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}notary/users", "host": [ "{{baseUrl}}notary" ], "path": [ "users" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/User 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 " } ], "url": { "raw": "{{baseUrl}}notary/users", "host": [ "{{baseUrl}}notary" ], "path": [ "users" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "text", "header": [], "cookie": [], "body": "" } ] } ] } ] }, { "name": "customers", "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}}customers/documents/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}customers/documents/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}customers/documents/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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}}customers/documents", "host": [ "{{baseUrl}}customers" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}customers/documents", "host": [ "{{baseUrl}}customers" ], "path": [ "documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n]" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}customers/documents", "host": [ "{{baseUrl}}customers" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/documents", "host": [ "{{baseUrl}}customers" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/documents", "host": [ "{{baseUrl}}customers" ], "path": [ "documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/documents", "host": [ "{{baseUrl}}customers" ], "path": [ "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}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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 \"value\": \"reference #/components/schemas/File not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/File not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/File not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}customers/files/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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}}customers/files", "host": [ "{{baseUrl}}customers" ], "path": [ "files" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}customers/files", "host": [ "{{baseUrl}}customers" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}customers/files", "host": [ "{{baseUrl}}customers" ], "path": [ "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": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/File not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/files", "host": [ "{{baseUrl}}customers" ], "path": [ "files" ] } }, "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/File not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/files", "host": [ "{{baseUrl}}customers" ], "path": [ "files" ] } }, "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/File not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}customers/files", "host": [ "{{baseUrl}}customers" ], "path": [ "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}}customers/folders/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "folders", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}customers/folders/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}customers/folders/:uid", "host": [ "{{baseUrl}}customers" ], "path": [ "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}}customers/folders", "host": [ "{{baseUrl}}customers" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}customers/folders", "host": [ "{{baseUrl}}customers" ], "path": [ "folders" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Folder 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 " } ], "url": { "raw": "{{baseUrl}}customers/folders", "host": [ "{{baseUrl}}customers" ], "path": [ "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}}admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/customers/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/customers/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/customers/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/customers/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/customers/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/customers/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/customers/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/customers", "host": [ "{{baseUrl}}admin" ], "path": [ "customers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/customers", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/customers", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/customers", "host": [ "{{baseUrl}}admin" ], "path": [ "customers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/customers", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/deeds/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/deeds/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/deeds", "host": [ "{{baseUrl}}admin" ], "path": [ "deeds" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/deeds", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds", "host": [ "{{baseUrl}}admin" ], "path": [ "deeds" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deeds", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/deed-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/deed-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deed-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deed-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deed-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/deed-types", "host": [ "{{baseUrl}}admin" ], "path": [ "deed-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/deed-types", "host": [ "{{baseUrl}}admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deed-types", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deed-types", "host": [ "{{baseUrl}}admin" ], "path": [ "deed-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/deed-types", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/documents/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/documents/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/documents", "host": [ "{{baseUrl}}admin" ], "path": [ "documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/documents", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents", "host": [ "{{baseUrl}}admin" ], "path": [ "documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/documents", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/document-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/document-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/document-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/document-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/document-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/document-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/document-types/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/document-types", "host": [ "{{baseUrl}}admin" ], "path": [ "document-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/document-types", "host": [ "{{baseUrl}}admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/document-types", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/document-types", "host": [ "{{baseUrl}}admin" ], "path": [ "document-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/document-types", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/files/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/files/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/files/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/files/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "files", "download", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/files/download/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/files/download/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "files" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/files", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/files", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "anchors", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/anchors/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/anchors/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "anchors", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "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}}admin" ], "path": [ "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 " } ], "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}}admin" ], "path": [ "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}}admin" ], "path": [ "anchors", "download", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/anchors/download/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/anchors/download/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "anchors" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/anchors", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/anchors", "host": [ "{{baseUrl}}admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/folders/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "folders", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/folders/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/folders/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "folders", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/folders/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/folders/:uid", "host": [ "{{baseUrl}}admin" ], "path": [ "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=", "host": [ "{{baseUrl}}admin" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/folders/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Folder 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 " } ], "url": { "raw": "{{baseUrl}}admin/folders/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}admin" ], "path": [ "folders" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}admin/folders", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/folders", "host": [ "{{baseUrl}}admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/folders", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/folders", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/folders", "host": [ "{{baseUrl}}admin" ], "path": [ "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=", "host": [ "{{baseUrl}}admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole 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 " } ], "url": { "raw": "{{baseUrl}}admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/office-roles", "host": [ "{{baseUrl}}admin" ], "path": [ "office-roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole 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 " } ], "url": { "raw": "{{baseUrl}}admin/office-roles", "host": [ "{{baseUrl}}admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/office-roles", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/office-roles", "host": [ "{{baseUrl}}admin" ], "path": [ "office-roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/office-roles", "host": [ "{{baseUrl}}admin" ], "path": [ "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=", "host": [ "{{baseUrl}}admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/offices/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Office 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 " } ], "url": { "raw": "{{baseUrl}}admin/offices/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/offices", "host": [ "{{baseUrl}}admin" ], "path": [ "offices" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Office 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 " } ], "url": { "raw": "{{baseUrl}}admin/offices", "host": [ "{{baseUrl}}admin" ], "path": [ "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=", "host": [ "{{baseUrl}}admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/roles/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Role 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 " } ], "url": { "raw": "{{baseUrl}}admin/roles/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/roles", "host": [ "{{baseUrl}}admin" ], "path": [ "roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Role 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 " } ], "url": { "raw": "{{baseUrl}}admin/roles", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}admin" ], "path": [ "notifications", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "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}}admin" ], "path": [ "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 " } ], "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}}admin" ], "path": [ "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=", "host": [ "{{baseUrl}}admin" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/notifications/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/notifications/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/notifications", "host": [ "{{baseUrl}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/notifications", "host": [ "{{baseUrl}}admin" ], "path": [ "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=", "host": [ "{{baseUrl}}admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}admin/users/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/User 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 " } ], "url": { "raw": "{{baseUrl}}admin/users/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/users/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/users/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}admin/users/:uid?uid=", "host": [ "{{baseUrl}}admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}admin/users", "host": [ "{{baseUrl}}admin" ], "path": [ "users" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/User 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 " } ], "url": { "raw": "{{baseUrl}}admin/users", "host": [ "{{baseUrl}}admin" ], "path": [ "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}}super-admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/customers/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/customers/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/customers/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/customers/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/customers/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/customers/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "customers", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/customers/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/customers", "host": [ "{{baseUrl}}super-admin" ], "path": [ "customers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/customers", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/customers", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/customers", "host": [ "{{baseUrl}}super-admin" ], "path": [ "customers" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"status\": \"\",\n \"contact\": {\n \"civility\": \"\",\n \"first_name\": \"\",\n \"last_name\": \"\",\n \"email\": \"\",\n \"cell_phone_number\": \"\"\n },\n \"office_folders\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"documents\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/customers", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/deeds/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/deeds/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deeds", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/deeds", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deeds" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/deeds", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deeds" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"deed_type\": {\n \"uid\": \"\",\n \"name\": \"\",\n \"description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n \"document_types\": [\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n },\n {\n \"uid\": \"\",\n \"name\": \"\",\n \"public_description\": \"\",\n \"private_description\": \"\",\n \"archived_at\": \"\",\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n }\n ],\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deeds", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/deed-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/deed-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deed-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deed-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deed-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deed-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/deed-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deed-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/deed-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deed-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deed-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "deed-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/DeedType not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/deed-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/documents/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/documents/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "documents", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/documents", "host": [ "{{baseUrl}}super-admin" ], "path": [ "documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/documents", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents", "host": [ "{{baseUrl}}super-admin" ], "path": [ "documents" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"type\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"file\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"folder\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/documents", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/document-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/document-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/document-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/document-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/document-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/document-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "document-types", ":uid" ], "variable": [ { "key": "uid" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "DELETE", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/document-types/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/document-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "document-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}" }, { "name": "Invalid status value", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/document-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/document-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/document-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "document-types" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"uid\": \"\",\n \"name\": \"\",\n \"office\": {\n \"uid\": \"\",\n \"name\": \"\"\n },\n \"createdAt\": \"\",\n \"updatedAt\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/document-types", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/files/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/files/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "files", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/files/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/files/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "files", "download", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/files/download/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/files/download/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "files" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/files", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/files", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "anchors", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/anchors/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/anchors/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "anchors", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "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}}super-admin" ], "path": [ "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 " } ], "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}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "anchors", "download", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/anchors/download/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/anchors/download/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "anchors" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/anchors", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/anchors", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/folders/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "folders", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/folders/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/folders/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "folders", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/folders/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/folders/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/folders/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Folder 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/folders/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "folders", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}super-admin" ], "path": [ "folders" ] } }, "response": [ { "name": "successful operation", "originalRequest": { "method": "GET", "header": [ { "description": "Added as a part of security scheme: bearer", "key": "Authorization", "value": "Bearer " } ], "url": { "raw": "{{baseUrl}}super-admin/folders", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/folders", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/folders", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/folders", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Folder not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/folders", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/office-roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "office-roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/office-roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "office-roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/office-roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/office-roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/office-roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "office-roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/OfficeRole not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/office-roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/offices/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Office 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/offices/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/offices/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/offices/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/offices/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "offices", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/offices", "host": [ "{{baseUrl}}super-admin" ], "path": [ "offices" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Office 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/offices", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/offices", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/offices", "host": [ "{{baseUrl}}super-admin" ], "path": [ "offices" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Office not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/offices", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Role 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/roles/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "roles", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/Role 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "roles" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Role not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/roles", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "notifications", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "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}}super-admin" ], "path": [ "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 " } ], "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}}super-admin" ], "path": [ "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=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/notifications/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/notifications/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "notifications", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/notifications", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/notifications", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/users/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/User 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/users/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/users/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/users/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/users/:uid?uid=", "host": [ "{{baseUrl}}super-admin" ], "path": [ "users", ":uid" ], "query": [ { "key": "uid", "value": "", "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}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/users", "host": [ "{{baseUrl}}super-admin" ], "path": [ "users" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "[\n {\n \"value\": \"reference #/components/schemas/User not found in the OpenAPI spec\"\n },\n {\n \"value\": \"reference #/components/schemas/User 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 " } ], "url": { "raw": "{{baseUrl}}super-admin/users", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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}}super-admin" ], "path": [ "live-votes", ":uid" ], "variable": [ { "key": "uid", "value": "", "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/live-votes/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "url": { "raw": "{{baseUrl}}super-admin/live-votes/:uid", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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/Vote not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/live-votes", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Vote not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/live-votes", "host": [ "{{baseUrl}}super-admin" ], "path": [ "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 " } ], "body": { "mode": "raw", "raw": "{\n \"value\": \"reference #/components/schemas/Vote not found in the OpenAPI spec\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}super-admin/live-votes", "host": [ "{{baseUrl}}super-admin" ], "path": [ "live-votes" ] } }, "status": "Bad Request", "code": 400, "_postman_previewlanguage": "text", "header": [], "cookie": [], "body": "" } ] } ] } ] } ], "variable": [ { "key": "baseUrl", "value": "http://localhost:3000/api/v1" } ] }