diff --git a/doc/Le Coffre Api.postman_collection.json b/doc/Le Coffre Api.postman_collection.json new file mode 100644 index 00000000..1ed9601f --- /dev/null +++ b/doc/Le Coffre Api.postman_collection.json @@ -0,0 +1,21275 @@ +{ + "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" + } + ] +} \ No newline at end of file diff --git a/doc/swagger.json b/doc/swagger.json new file mode 100644 index 00000000..7c9bddfc --- /dev/null +++ b/doc/swagger.json @@ -0,0 +1,6194 @@ +{ + "swagger": "2.0", + "info": { + "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/).", + "version": "1.0.0", + "title": "Le Coffre Api" + }, + "host": "localhost:3000", + "basePath": "/api/v1", + "tags": [ + { + "name": "customer" + }, + { + "name": "notary" + }, + { + "name": "admin" + }, + { + "name": "super-admin" + } + ], + "schemes": ["http", "https"], + "paths": { + "notary/customers": { + "get": { + "tags": ["notary"], + "summary": "Get all customers", + "description": "", + "operationId": "getCustomers", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["notary"], + "summary": "Add a new customer", + "description": "", + "operationId": "addCustomer", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Customer object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Customer" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/customers/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find customer by ID", + "description": "Returns a single customer", + "operationId": "getCustomerById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["notary"], + "summary": "Update an existing customer", + "description": "Returns a single customer updated", + "operationId": "updateCustomer", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Customer object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Customer" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["notary"], + "summary": "Delete an existing customer", + "description": "Returns a single customer deleted", + "operationId": "deleteCustomer", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/deeds": { + "get": { + "tags": ["notary"], + "summary": "Get all deeds", + "description": "", + "operationId": "getDeeds", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["notary"], + "summary": "Add a new deed", + "description": "", + "operationId": "addDeed", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/deeds/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find deed by ID", + "description": "Returns a single deed", + "operationId": "getDeedById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["notary"], + "summary": "Update an existing deed", + "description": "Returns a single deed updated", + "operationId": "updateDeed", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["notary"], + "summary": "Delete an existing deed", + "description": "Returns a single deed deleted", + "operationId": "deleteDeed", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/deed-types": { + "get": { + "tags": ["notary"], + "summary": "Get all deed types", + "description": "", + "operationId": "getDeedTypes", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["notary"], + "summary": "Add a new deed type", + "description": "", + "operationId": "addDeedType", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "DeedType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DeedType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/deed-types/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find deed type by ID", + "description": "Returns a single deed type", + "operationId": "getDeedTypeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["notary"], + "summary": "Update an existing deed type", + "description": "Returns a single deed type updated", + "operationId": "updateDeedType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed type to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "DeedType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DeedType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/documents": { + "get": { + "tags": ["notary"], + "summary": "Get all documents", + "description": "", + "operationId": "getDocuments", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["notary"], + "summary": "Add a new document", + "description": "", + "operationId": "addDocument", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/documents/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find document by ID", + "description": "Returns a single document", + "operationId": "getDocumentById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["notary"], + "summary": "Update an existing document", + "description": "Returns a single document updated", + "operationId": "updateDocument", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["notary"], + "summary": "Delete an existing document", + "description": "Returns a single document deleted", + "operationId": "deleteDocument", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/document-types": { + "get": { + "tags": ["notary"], + "summary": "Get all document types", + "description": "", + "operationId": "getDocumentTypes", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["notary"], + "summary": "Add a new document type", + "description": "", + "operationId": "addDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "DocumentType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DocumentType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/document-types/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find document type by ID", + "description": "Returns a single document type", + "operationId": "getDocumentTypeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["notary"], + "summary": "Update an existing document type", + "description": "Returns a single document type updated", + "operationId": "updateDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "DocumentType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DocumentType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["notary"], + "summary": "Delete an existing document type", + "description": "Returns a single document type deleted", + "operationId": "deleteDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/files": { + "get": { + "tags": ["notary"], + "summary": "Get all files", + "description": "", + "operationId": "getFiles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/files/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find file by ID", + "description": "Returns a single file", + "operationId": "getFileById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["notary"], + "summary": "Delete an existing file", + "description": "Returns a single file deleted", + "operationId": "deleteFile", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/files/download/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Download file by ID", + "description": "Returns a single file", + "operationId": "downloadFileById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/anchors": { + "get": { + "tags": ["notary"], + "summary": "Get all anchors", + "description": "", + "operationId": "getAnchors", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/anchors/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find anchor by ID", + "description": "Returns a single anchor", + "operationId": "getAnchorById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["notary"], + "summary": "Add a new anchor", + "description": "", + "operationId": "addAnchor", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Anchor object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Anchor" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/anchors/download/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Download anchor by ID", + "description": "Returns a single anchor", + "operationId": "downloadAnchorById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/folders": { + "get": { + "tags": ["notary"], + "summary": "Get all folders", + "description": "", + "operationId": "getFolders", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["notary"], + "summary": "Add a new folder", + "description": "", + "operationId": "addFolder", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Folder object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Folder" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/folders/{uid}": { + "put": { + "tags": ["notary"], + "summary": "Update an existing folder", + "description": "Returns a single folder updated", + "operationId": "updateFolder", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of folder to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Folder object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Folder" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["notary"], + "summary": "Delete an existing folder", + "description": "Returns a single folder deleted", + "operationId": "deleteFolder", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of folder to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "get": { + "tags": ["notary"], + "summary": "Find folder by ID", + "description": "Returns a single folder", + "operationId": "getFolderById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of folder to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Folder" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/office-roles": { + "get": { + "tags": ["notary"], + "summary": "Get all office roles", + "description": "", + "operationId": "getOfficeRoles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/office-roles/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find office role by ID", + "description": "Returns a single office role", + "operationId": "getOfficeRoleById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office role to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "notary/offices": { + "get": { + "tags": ["notary"], + "summary": "Get all offices", + "description": "", + "operationId": "getOffices", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Office" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/offices/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find office by ID", + "description": "Returns a single office", + "operationId": "getOfficeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Office" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/roles": { + "get": { + "tags": ["notary"], + "summary": "Get all roles", + "description": "", + "operationId": "getRoles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/roles/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find role by ID", + "description": "Returns a single role", + "operationId": "getRoleById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of role to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/notifications": { + "get": { + "tags": ["notary"], + "summary": "Get all notifications", + "description": "", + "operationId": "getNotifications", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Notification" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/notifications/{uid}": { + "put": { + "tags": ["notary"], + "summary": "Update an existing notification", + "description": "Returns a single notification updated", + "operationId": "updateNotification", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of notification to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Notification object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Notification" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "get": { + "tags": ["notary"], + "summary": "Find notification by ID", + "description": "Returns a single notification", + "operationId": "getNotificationById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of notification to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Notification" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/users": { + "get": { + "tags": ["notary"], + "summary": "Get all users", + "description": "", + "operationId": "getUsers", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "notary/users/{uid}": { + "get": { + "tags": ["notary"], + "summary": "Find user by ID", + "description": "", + "operationId": "getUserById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of user to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "customers/documents": { + "get": { + "tags": ["customer"], + "summary": "Get all documents", + "description": "", + "operationId": "getDocuments", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Document" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["customer"], + "summary": "Add a new document", + "description": "", + "operationId": "addDocument", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "customers/documents/{uid}": { + "get": { + "tags": ["customer"], + "summary": "Find document by ID", + "description": "Returns a single document", + "operationId": "getDocumentById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "customers/files": { + "get": { + "tags": ["customer"], + "summary": "Get all files", + "description": "", + "operationId": "getFiles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["customer"], + "summary": "Add a new file", + "description": "", + "operationId": "addFile", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "File object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/File" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "customers/files/{uid}": { + "get": { + "tags": ["customer"], + "summary": "Find file by ID", + "description": "Returns a single file", + "operationId": "getFileById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["customer"], + "summary": "Update an existing file", + "description": "Returns a single file updated", + "operationId": "updateFile", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "File object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/File" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["customer"], + "summary": "Delete an existing file", + "description": "Returns a single file deleted", + "operationId": "deleteFile", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "customers/folders": { + "get": { + "tags": ["customer"], + "summary": "Get all folders", + "description": "", + "operationId": "getFolders", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Folder" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "customers/folders/{uid}": { + "get": { + "tags": ["customer"], + "summary": "Find folder by ID", + "description": "Returns a single folder", + "operationId": "getFolderById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of folder to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/customers": { + "get": { + "tags": ["admin"], + "summary": "Get all customers", + "description": "", + "operationId": "getCustomers", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["admin"], + "summary": "Add a new customer", + "description": "", + "operationId": "addCustomer", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Customer object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Customer" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/customers/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find customer by ID", + "description": "Returns a single customer", + "operationId": "getCustomerById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["admin"], + "summary": "Update an existing customer", + "description": "Returns a single customer updated", + "operationId": "updateCustomer", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Customer object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Customer" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["admin"], + "summary": "Delete an existing customer", + "description": "Returns a single customer deleted", + "operationId": "deleteCustomer", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/deeds": { + "get": { + "tags": ["admin"], + "summary": "Get all deeds", + "description": "", + "operationId": "getDeeds", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["admin"], + "summary": "Add a new deed", + "description": "", + "operationId": "addDeed", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/deeds/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find deed by ID", + "description": "Returns a single deed", + "operationId": "getDeedById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["admin"], + "summary": "Update an existing deed", + "description": "Returns a single deed updated", + "operationId": "updateDeed", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["admin"], + "summary": "Delete an existing deed", + "description": "Returns a single deed deleted", + "operationId": "deleteDeed", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/deed-types": { + "get": { + "tags": ["admin"], + "summary": "Get all deed types", + "description": "", + "operationId": "getDeedTypes", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["admin"], + "summary": "Add a new deed type", + "description": "", + "operationId": "addDeedType", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "DeedType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DeedType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/deed-types/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find deed type by ID", + "description": "Returns a single deed type", + "operationId": "getDeedTypeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["admin"], + "summary": "Update an existing deed type", + "description": "Returns a single deed type updated", + "operationId": "updateDeedType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed type to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "DeedType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DeedType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/documents": { + "get": { + "tags": ["admin"], + "summary": "Get all documents", + "description": "", + "operationId": "getDocuments", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["admin"], + "summary": "Add a new document", + "description": "", + "operationId": "addDocument", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/documents/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find document by ID", + "description": "Returns a single document", + "operationId": "getDocumentById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["admin"], + "summary": "Update an existing document", + "description": "Returns a single document updated", + "operationId": "updateDocument", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["admin"], + "summary": "Delete an existing document", + "description": "Returns a single document deleted", + "operationId": "deleteDocument", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/document-types": { + "get": { + "tags": ["admin"], + "summary": "Get all document types", + "description": "", + "operationId": "getDocumentTypes", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["admin"], + "summary": "Add a new document type", + "description": "", + "operationId": "addDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "DocumentType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DocumentType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/document-types/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find document type by ID", + "description": "Returns a single document type", + "operationId": "getDocumentTypeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["admin"], + "summary": "Update an existing document type", + "description": "Returns a single document type updated", + "operationId": "updateDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "DocumentType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DocumentType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["admin"], + "summary": "Delete an existing document type", + "description": "Returns a single document type deleted", + "operationId": "deleteDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/files": { + "get": { + "tags": ["admin"], + "summary": "Get all files", + "description": "", + "operationId": "getFiles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/files/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find file by ID", + "description": "Returns a single file", + "operationId": "getFileById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["admin"], + "summary": "Delete an existing file", + "description": "Returns a single file deleted", + "operationId": "deleteFile", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/files/download/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Download file by ID", + "description": "Returns a single file", + "operationId": "downloadFileById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/anchors": { + "get": { + "tags": ["admin"], + "summary": "Get all anchors", + "description": "", + "operationId": "getAnchors", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/anchors/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find anchor by ID", + "description": "Returns a single anchor", + "operationId": "getAnchorById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["admin"], + "summary": "Add a new anchor", + "description": "", + "operationId": "addAnchor", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Anchor object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Anchor" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/anchors/download/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Download anchor by ID", + "description": "Returns a single anchor", + "operationId": "downloadAnchorById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/folders": { + "get": { + "tags": ["admin"], + "summary": "Get all folders", + "description": "", + "operationId": "getFolders", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["admin"], + "summary": "Add a new folder", + "description": "", + "operationId": "addFolder", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Folder object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Folder" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/folders/{uid}": { + "put": { + "tags": ["admin"], + "summary": "Update an existing folder", + "description": "Returns a single folder updated", + "operationId": "updateFolder", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of folder to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Folder object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Folder" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["admin"], + "summary": "Delete an existing folder", + "description": "Returns a single folder deleted", + "operationId": "deleteFolder", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of folder to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "get": { + "tags": ["admin"], + "summary": "Find folder by ID", + "description": "Returns a single folder", + "operationId": "getFolderById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of folder to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Folder" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/office-roles": { + "get": { + "tags": ["admin"], + "summary": "Get all office roles", + "description": "", + "operationId": "getOfficeRoles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["admin"], + "summary": "Add a new office role", + "description": "", + "operationId": "addOfficeRole", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "OfficeRole object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/OfficeRole" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/office-roles/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find office role by ID", + "description": "Returns a single office role", + "operationId": "getOfficeRoleById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office role to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["admin"], + "summary": "Update an existing office role", + "description": "Returns a single office role updated", + "operationId": "updateOfficeRole", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office role to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "OfficeRole object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/OfficeRole" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/offices": { + "get": { + "tags": ["admin"], + "summary": "Get all offices", + "description": "", + "operationId": "getOffices", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Office" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/offices/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find office by ID", + "description": "Returns a single office", + "operationId": "getOfficeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Office" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/roles": { + "get": { + "tags": ["admin"], + "summary": "Get all roles", + "description": "", + "operationId": "getRoles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/roles/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find role by ID", + "description": "Returns a single role", + "operationId": "getRoleById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of role to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/notifications": { + "get": { + "tags": ["admin"], + "summary": "Get all notifications", + "description": "", + "operationId": "getNotifications", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Notification" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/notifications/{uid}": { + "put": { + "tags": ["admin"], + "summary": "Update an existing notification", + "description": "Returns a single notification updated", + "operationId": "updateNotification", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of notification to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Notification object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Notification" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "get": { + "tags": ["admin"], + "summary": "Find notification by ID", + "description": "Returns a single notification", + "operationId": "getNotificationById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of notification to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Notification" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/users": { + "get": { + "tags": ["admin"], + "summary": "Get all users", + "description": "", + "operationId": "getUsers", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "admin/users/{uid}": { + "get": { + "tags": ["admin"], + "summary": "Find user by ID", + "description": "", + "operationId": "getUserById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of user to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["admin"], + "summary": "Update an existing user", + "description": "", + "operationId": "updateUser", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of user to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "User object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/User" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/customers": { + "get": { + "tags": ["super-admin"], + "summary": "Get all customers", + "description": "", + "operationId": "getCustomers", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new customer", + "description": "", + "operationId": "addCustomer", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Customer object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Customer" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/customers/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find customer by ID", + "description": "Returns a single customer", + "operationId": "getCustomerById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing customer", + "description": "Returns a single customer updated", + "operationId": "updateCustomer", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Customer object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Customer" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["super-admin"], + "summary": "Delete an existing customer", + "description": "Returns a single customer deleted", + "operationId": "deleteCustomer", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of customer to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Customer" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/deeds": { + "get": { + "tags": ["super-admin"], + "summary": "Get all deeds", + "description": "", + "operationId": "getDeeds", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new deed", + "description": "", + "operationId": "addDeed", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/deeds/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find deed by ID", + "description": "Returns a single deed", + "operationId": "getDeedById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing deed", + "description": "Returns a single deed updated", + "operationId": "updateDeed", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["super-admin"], + "summary": "Delete an existing deed", + "description": "Returns a single deed deleted", + "operationId": "deleteDeed", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Deed object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Deed" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Deed" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/deed-types": { + "get": { + "tags": ["super-admin"], + "summary": "Get all deed types", + "description": "", + "operationId": "getDeedTypes", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new deed type", + "description": "", + "operationId": "addDeedType", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "DeedType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DeedType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/deed-types/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find deed type by ID", + "description": "Returns a single deed type", + "operationId": "getDeedTypeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing deed type", + "description": "Returns a single deed type updated", + "operationId": "updateDeedType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of deed type to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "DeedType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DeedType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DeedType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/documents": { + "get": { + "tags": ["super-admin"], + "summary": "Get all documents", + "description": "", + "operationId": "getDocuments", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new document", + "description": "", + "operationId": "addDocument", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/documents/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find document by ID", + "description": "Returns a single document", + "operationId": "getDocumentById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing document", + "description": "Returns a single document updated", + "operationId": "updateDocument", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["super-admin"], + "summary": "Delete an existing document", + "description": "Returns a single document deleted", + "operationId": "deleteDocument", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Document object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Document" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Document" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/document-types": { + "get": { + "tags": ["super-admin"], + "summary": "Get all document types", + "description": "", + "operationId": "getDocumentTypes", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new document type", + "description": "", + "operationId": "addDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "DocumentType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DocumentType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/document-types/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find document type by ID", + "description": "Returns a single document type", + "operationId": "getDocumentTypeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing document type", + "description": "Returns a single document type updated", + "operationId": "updateDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "DocumentType object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/DocumentType" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["super-admin"], + "summary": "Delete an existing document type", + "description": "Returns a single document type deleted", + "operationId": "deleteDocumentType", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of document type to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/DocumentType" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/files": { + "get": { + "tags": ["super-admin"], + "summary": "Get all files", + "description": "", + "operationId": "getFiles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/files/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find file by ID", + "description": "Returns a single file", + "operationId": "getFileById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["super-admin"], + "summary": "Delete an existing file", + "description": "Returns a single file deleted", + "operationId": "deleteFile", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/files/download/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Download file by ID", + "description": "Returns a single file", + "operationId": "downloadFileById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of file to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/anchors": { + "get": { + "tags": ["super-admin"], + "summary": "Get all anchors", + "description": "", + "operationId": "getAnchors", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/anchors/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find anchor by ID", + "description": "Returns a single anchor", + "operationId": "getAnchorById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new anchor", + "description": "", + "operationId": "addAnchor", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Anchor object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Anchor" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/anchors/download/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Download anchor by ID", + "description": "Returns a single anchor", + "operationId": "downloadAnchorById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of anchor to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/folders": { + "get": { + "tags": ["super-admin"], + "summary": "Get all folders", + "description": "", + "operationId": "getFolders", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new folder", + "description": "", + "operationId": "addFolder", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Folder object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Folder" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/folders/{uid}": { + "put": { + "tags": ["super-admin"], + "summary": "Update an existing folder", + "description": "Returns a single folder updated", + "operationId": "updateFolder", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of folder to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Folder object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Folder" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "delete": { + "tags": ["super-admin"], + "summary": "Delete an existing folder", + "description": "Returns a single folder deleted", + "operationId": "deleteFolder", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of folder to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "get": { + "tags": ["super-admin"], + "summary": "Find folder by ID", + "description": "Returns a single folder", + "operationId": "getFolderById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of folder to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Folder" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/office-roles": { + "get": { + "tags": ["super-admin"], + "summary": "Get all office roles", + "description": "", + "operationId": "getOfficeRoles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new office role", + "description": "", + "operationId": "addOfficeRole", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "OfficeRole object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/OfficeRole" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/office-roles/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find office role by ID", + "description": "Returns a single office role", + "operationId": "getOfficeRoleById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office role to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing office role", + "description": "Returns a single office role updated", + "operationId": "updateOfficeRole", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office role to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "OfficeRole object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/OfficeRole" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/OfficeRole" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/offices": { + "get": { + "tags": ["super-admin"], + "summary": "Get all offices", + "description": "", + "operationId": "getOffices", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Office" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new office", + "description": "", + "operationId": "addOffice", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Office object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Office" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Office" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/offices/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find office by ID", + "description": "Returns a single office", + "operationId": "getOfficeById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Office" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing office", + "description": "Returns a single office updated", + "operationId": "updateOffice", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of office to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Office object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Office" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Office" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/roles": { + "get": { + "tags": ["super-admin"], + "summary": "Get all roles", + "description": "", + "operationId": "getRoles", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "post": { + "tags": ["super-admin"], + "summary": "Add a new role", + "description": "", + "operationId": "addRole", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "Role object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Role" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Role" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/roles/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find role by ID", + "description": "Returns a single role", + "operationId": "getRoleById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of role to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Role" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing role", + "description": "Returns a single role updated", + "operationId": "updateRole", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of role to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Role object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Role" + } + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "$ref": "#/definitions/Role" + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/notifications": { + "get": { + "tags": ["super-admin"], + "summary": "Get all notifications", + "description": "", + "operationId": "getNotifications", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Notification" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/notifications/{uid}": { + "put": { + "tags": ["super-admin"], + "summary": "Update an existing notification", + "description": "Returns a single notification updated", + "operationId": "updateNotification", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of notification to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "Notification object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Notification" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "get": { + "tags": ["super-admin"], + "summary": "Find notification by ID", + "description": "Returns a single notification", + "operationId": "getNotificationById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of notification to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/Notification" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/users": { + "get": { + "tags": ["super-admin"], + "summary": "Get all users", + "description": "", + "operationId": "getUsers", + "produces": ["application/json"], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/users/{uid}": { + "get": { + "tags": ["super-admin"], + "summary": "Find user by ID", + "description": "", + "operationId": "getUserById", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of user to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/User" + } + } + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + }, + "put": { + "tags": ["super-admin"], + "summary": "Update an existing user", + "description": "", + "operationId": "updateUser", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "query", + "description": "ID of user to return", + "required": true, + "type": "string" + }, + { + "in": "body", + "name": "body", + "description": "User object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/User" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/live-votes": { + "post": { + "tags": ["super-admin"], + "summary": "Add a new live vote", + "description": "", + "operationId": "addLiveVote", + "produces": ["application/json"], + "parameters": [ + { + "in": "body", + "name": "body", + "description": "LiveVote object that needs to be added to the store", + "required": true, + "schema": { + "$ref": "#/definitions/Vote" + } + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "super-admin/live-votes/{uid}": { + "delete": { + "tags": ["super-admin"], + "summary": "Delete an existing live vote", + "description": "Returns a single live vote deleted", + "operationId": "deleteLiveVote", + "produces": ["application/json"], + "parameters": [ + { + "name": "uid", + "in": "path", + "description": "ID of live vote to return", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "successful operation" + }, + "400": { + "description": "Invalid status value" + } + }, + "security": [ + { + "bearerAuth": [] + } + ] + } + } + }, + "securityDefinitions": { + "bearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT" + } + }, + "responses": { + "UnauthorizedError": { + "description": "Authentication information is missing or invalid", + "headers": { + "WWW_Authenticate": { + "type": "string" + } + } + } + }, + "definitions": { + "Customer": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "status": { + "type": "string" + }, + "contact": { + "type": "object", + "properties": { + "civility": { + "type": "string" + }, + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "cell_phone_number": { + "type": "string" + } + } + }, + "office_folders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + }, + "documents": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "file": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "folder": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Document": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "file": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "folder": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "DocumentType": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Deed": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "deed_type": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "archived_at": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "document_types": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "public_description": { + "type": "string" + }, + "private_description": { + "type": "string" + }, + "archived_at": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + } + }, + "office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + }, + "folder": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "DeedType": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "archived_at": { + "type": "string" + }, + "office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "File": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "path": { + "type": "string" + }, + "size": { + "type": "string" + }, + "mime_type": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Folder": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "deed": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "deed_type": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "archived_at": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + } + } + }, + "office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + }, + "User": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "idNot": { + "type": "string" + }, + "contact": { + "type": "object", + "properties": { + "first_name": { + "type": "string" + }, + "last_name": { + "type": "string" + }, + "email": { + "type": "string" + }, + "cell_phone_number": { + "type": "string" + } + } + }, + "office_folders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + }, + "role": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "rules": { + "types": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + }, + "office_role": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "rules": { + "types": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + }, + "office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + } + }, + "OfficeRole": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "rules": { + "types": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + }, + "office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + }, + "Role": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "rules": { + "types": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + } + } + } + }, + "Office": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + } + } + }, + "Vote": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "appointment": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "user": { + "type": "object", + "properties": { + "uid": { + "type": "string" + } + } + }, + "status": { + "type": "string" + }, + "choice": { + "type": "string" + } + } + }, + "voter": { + "type": "object", + "properties": { + "uid": { + "type": "string" + } + } + } + } + }, + "Appointment": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "user": { + "type": "object", + "properties": { + "uid": { + "type": "string" + } + } + }, + "status": { + "type": "string" + }, + "choice": { + "type": "string" + }, + "votes": { + "type": "array", + "items": { + "type": "object", + "properties": { + "uid": { + "type": "string" + }, + "voter": { + "type": "object", + "properties": { + "uid": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "externalDocs": { + "description": "Find out more about Swagger", + "url": "http://swagger.io" + } +}