From a0909944e720b7a8e127c3d0421edc811931f573 Mon Sep 17 00:00:00 2001
From: AmiableAnil <ani2824@gmail.com>
Date: Tue, 19 Jul 2022 12:20:24 +0530
Subject: [PATCH] Issue #SB-30119 test: Added the postman tests for content v2
 create, read and update API.

---
 ...ontent V2 API Test.postman_collection.json | 159 ++--
 .../Content V2.postman_collection.json        | 757 ++++++++++++++++--
 2 files changed, 775 insertions(+), 141 deletions(-)

diff --git a/content-api/api-test/Content V2 API Test.postman_collection.json b/content-api/api-test/Content V2 API Test.postman_collection.json
index 7093dbae2..77efae5c8 100644
--- a/content-api/api-test/Content V2 API Test.postman_collection.json	
+++ b/content-api/api-test/Content V2 API Test.postman_collection.json	
@@ -77,11 +77,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"Untitled Content\",\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/create",
+									"raw": "{{host}}/api/content/v2/create",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"create"
@@ -155,11 +156,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"~`S!@#$%^&*()_+=:;\\\"'<,>.?/\",\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/create",
+									"raw": "{{host}}/api/content/v2/create",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"create"
@@ -248,11 +250,12 @@
 									}
 								],
 								"url": {
-									"raw": "{{host}}/content/v2/read/{{content_id}}",
+									"raw": "{{host}}/api/content/v2/read/{{content_id}}",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"read",
@@ -325,11 +328,12 @@
 									}
 								],
 								"url": {
-									"raw": "{{host}}/content/v2/read/{{content_id}}?fields=name,primaryCategory",
+									"raw": "{{host}}/api/content/v2/read/{{content_id}}?fields=name,primaryCategory",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"read",
@@ -448,11 +452,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"lastUpdatedBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"description\": \"dsd\",\n            \"createdBy\": \"530b19ea-dc8d-4cc7-a4b5-0c0214c8113a\",\n            \"resourceType\": \"Learn\",\n            \"framework\": \"ekstep_ncert_k-12\",\n            \"name\": \"API DOCUMENTATION CONTENT\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/update/{{content_id}}",
+									"raw": "{{host}}/api/content/v2/update/{{content_id}}",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"update",
@@ -567,11 +572,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"description\": \"dsd\",\n            \"name\": \"~`S!@#$%^&*()_+=:;\\\"'<,>.?/\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/update/{{content_id}}",
+									"raw": "{{host}}/api/content/v2/update/{{content_id}}",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"update",
@@ -662,7 +668,7 @@
 					"name": "Content Create",
 					"item": [
 						{
-							"name": "Content Create - 404 - missing name",
+							"name": "Content Create - 400 - missing name",
 							"event": [
 								{
 									"listen": "test",
@@ -739,11 +745,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/create",
+									"raw": "{{host}}/api/content/v2/create",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"create"
@@ -754,7 +761,7 @@
 							"response": []
 						},
 						{
-							"name": "Content Create - 404 - name empty",
+							"name": "Content Create - 400 - name empty",
 							"event": [
 								{
 									"listen": "test",
@@ -831,11 +838,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"\",\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/create",
+									"raw": "{{host}}/api/content/v2/create",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"create"
@@ -846,7 +854,7 @@
 							"response": []
 						},
 						{
-							"name": "Content Create - 404 - missing code",
+							"name": "Content Create - 400 - missing code",
 							"event": [
 								{
 									"listen": "test",
@@ -923,11 +931,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"Untitled Content\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/create",
+									"raw": "{{host}}/api/content/v2/create",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"create"
@@ -938,7 +947,7 @@
 							"response": []
 						},
 						{
-							"name": "Content Create - 404 - missing mimeType",
+							"name": "Content Create - 400 - missing mimeType",
 							"event": [
 								{
 									"listen": "test",
@@ -1015,11 +1024,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"Untitled Content\",\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/create",
+									"raw": "{{host}}/api/content/v2/create",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"create"
@@ -1030,7 +1040,7 @@
 							"response": []
 						},
 						{
-							"name": "Content Create - 404 - missing primaryCategory",
+							"name": "Content Create - 400 - missing primaryCategory",
 							"event": [
 								{
 									"listen": "test",
@@ -1105,11 +1115,12 @@
 									"raw": "{\n  \"request\": {\n    \"content\": {\n      \"name\": \"Untitled Content\",\n      \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n      \"mimeType\": \"application/pdf\"\n    }\n  }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/create",
+									"raw": "{{host}}/api/content/v2/create",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"create"
@@ -1195,11 +1206,12 @@
 									"raw": "{\n  \"request\": {\n    \"content\": {\n      \"name\": \"Untitled Content\",\n      \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n      \"mimeType\": \"application/pdf\",\n      \"createdBy\": \"530b19ea-dc8d-4cc7-a4b5-0c0214c8113a\",\n      \"resourceType\": \"Learn\",\n      \"framework\": \"ekstep_ncert_k-12\",\n      \"primaryCategory\": \"aabaa\"\n    }\n  }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/create",
+									"raw": "{{host}}/api/content/v2/create",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"create"
@@ -1242,7 +1254,7 @@
 					"name": "Content Read",
 					"item": [
 						{
-							"name": "Content Read",
+							"name": "Content Read - 404 - Not Found",
 							"event": [
 								{
 									"listen": "test",
@@ -1320,11 +1332,12 @@
 									}
 								],
 								"url": {
-									"raw": "{{host}}/content/v2/read/{{invalid_content_id}}",
+									"raw": "{{host}}/api/content/v2/read/{{invalid_content_id}}",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"read",
@@ -1452,11 +1465,12 @@
 									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"lastUpdatedBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/update/{{content_id}}",
+									"raw": "{{host}}/api/content/v2/update/{{content_id}}",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"update",
@@ -1468,7 +1482,7 @@
 							"response": []
 						},
 						{
-							"name": "Content Update - 404 - Invalid content id",
+							"name": "Content Update - 400 - Empty name",
 							"event": [
 								{
 									"listen": "test",
@@ -1477,49 +1491,41 @@
 											"let jsonResponse = pm.response.json()",
 											"",
 											"//Verification",
-											"pm.test(\"Status code is 404\", () => {",
-											"    pm.response.to.have.status(404)",
+											"pm.test(\"Status code is 400\", () => {",
+											"    pm.response.to.have.status(400)",
 											"});",
 											"//code name contains a string",
-											"tests[\"Status code name has string \\\"Not Found\\\"\"] = responseCode.name.has(\"Not Found\");",
+											"tests[\"Status code name has string \\\"Bad Request\\\"\"] = responseCode.name.has(\"Bad Request\");",
 											"",
 											"pm.test(\"Verify keys and data type of the response result\", () => {",
 											"  pm.expect(jsonResponse.result).to.be.an(\"object\");",
 											"  pm.expect(jsonResponse.result).to.have.all.keys('messages');",
-											"  pm.expect(jsonResponse.result.messages).to.be.null;",
+											"  pm.expect(jsonResponse.result.messages).to.not.be.empty;",
 											"});",
 											"",
 											"//Validation",
 											"// Response body",
-											"pm.test(\"responseCode should be RESOURCE_NOT_FOUND\", () => {",
-											"    pm.expect(jsonResponse.responseCode).to.eql(\"RESOURCE_NOT_FOUND\");",
+											"pm.test(\"responseCode should be \\\"CLIENT_ERROR\\\"\", () => {",
+											"    pm.expect(jsonResponse.responseCode).to.eql(\"CLIENT_ERROR\");",
 											"});",
 											"",
 											"// Params",
-											"pm.test(\"params.err should be NOT_FOUND\", () => {",
-											"    pm.expect(jsonResponse.params.err).to.eql(\"NOT_FOUND\");",
+											"pm.test(\"params.err should be \\\"CLIENT_ERROR\\\"\", () => {",
+											"    pm.expect(jsonResponse.params.err).to.eql(\"CLIENT_ERROR\");",
 											"});",
-											"pm.test(`params.errmsg should be \\\"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: ${pm.globals.get(\"content_id\")}\\\"`, () => {",
-											"    pm.expect(jsonResponse.params.errmsg).to.eql(`Error! Node(s) doesn't Exists. | [Invalid Node Id.]: ${pm.globals.get(\"content_id\")}`);",
+											"pm.test(\"params.errmsg should be \\\"Validation Errors\\\"\", () => {",
+											"    pm.expect(jsonResponse.params.errmsg).to.eql(\"Validation Errors\");",
 											"});",
 											"",
 											"// Result",
-											"pm.test(\"messages should be null\", () => {",
-											"    pm.expect(jsonResponse.result.messages).to.eql(null);",
+											"pm.test(\"result body should include messages \\\"Required Metadata name not set\\\"\", () => {",
+											"    pm.expect(jsonResponse.result.messages).to.have.length(1)",
+											"    pm.expect(jsonResponse.result.messages).to.include('Required Metadata name not set');",
 											"});",
 											""
 										],
 										"type": "text/javascript"
 									}
-								},
-								{
-									"listen": "prerequest",
-									"script": {
-										"exec": [
-											"pm.globals.set(\"content_id\", 'do_21357909972698726412211');"
-										],
-										"type": "text/javascript"
-									}
 								}
 							],
 							"request": {
@@ -1548,14 +1554,15 @@
 								],
 								"body": {
 									"mode": "raw",
-									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"lastUpdatedBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\"\n        }\n    }\n}"
+									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"description\": \"dsd\",\n            \"name\": \"\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/update/{{content_id}}",
+									"raw": "{{host}}/api/content/v2/update/{{content_id}}",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"update",
@@ -1567,7 +1574,7 @@
 							"response": []
 						},
 						{
-							"name": "Content Update - 404 - Invalid primaryCategory",
+							"name": "Content Update - 404 - Invalid content id",
 							"event": [
 								{
 									"listen": "test",
@@ -1595,16 +1602,14 @@
 											"});",
 											"",
 											"// Params",
-											"pm.test(\"params.err should be \\\"404\\\"\", () => {",
-											"    pm.expect(jsonResponse.params.err).to.eql(\"404\");",
-											"});",
-											"pm.test(\"params.status should be \\\"failed\\\"\", () => {",
-											"    pm.expect(jsonResponse.params.status).to.eql(\"failed\");",
+											"pm.test(\"params.err should be NOT_FOUND\", () => {",
+											"    pm.expect(jsonResponse.params.err).to.eql(\"NOT_FOUND\");",
 											"});",
-											"pm.test(`params.errmsg should be \\\"Entry is not found in cassandra for content with identifier: obj-cat:${JSON.parse(request.data).request.content.primaryCategory}_content_all {}\\\"`, () => {",
-											"    pm.expect(jsonResponse.params.errmsg).to.eql(`Entry is not found in cassandra for content with identifier: obj-cat:${JSON.parse(request.data).request.content.primaryCategory}_content_all {}`);",
+											"pm.test(`params.errmsg should be \\\"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: ${pm.globals.get(\"content_id\")}\\\"`, () => {",
+											"    pm.expect(jsonResponse.params.errmsg).to.eql(`Error! Node(s) doesn't Exists. | [Invalid Node Id.]: ${pm.globals.get(\"content_id\")}`);",
 											"});",
 											"",
+											"// Result",
 											"pm.test(\"messages should be null\", () => {",
 											"    pm.expect(jsonResponse.result.messages).to.eql(null);",
 											"});",
@@ -1612,6 +1617,15 @@
 										],
 										"type": "text/javascript"
 									}
+								},
+								{
+									"listen": "prerequest",
+									"script": {
+										"exec": [
+											"pm.globals.set(\"content_id\", 'do_21357909972698726412211');"
+										],
+										"type": "text/javascript"
+									}
 								}
 							],
 							"request": {
@@ -1640,14 +1654,15 @@
 								],
 								"body": {
 									"mode": "raw",
-									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\",\n            \"primaryCategory\": \"abcd\"\n        }\n    }\n}"
+									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"lastUpdatedBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/update/{{content_id}}",
+									"raw": "{{host}}/api/content/v2/update/{{content_id}}",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"update",
@@ -1659,7 +1674,7 @@
 							"response": []
 						},
 						{
-							"name": "Content Update - 404 - Empty name",
+							"name": "Content Update - 404 - Invalid primaryCategory",
 							"event": [
 								{
 									"listen": "test",
@@ -1668,36 +1683,37 @@
 											"let jsonResponse = pm.response.json()",
 											"",
 											"//Verification",
-											"pm.test(\"Status code is 400\", () => {",
-											"    pm.response.to.have.status(400)",
+											"pm.test(\"Status code is 404\", () => {",
+											"    pm.response.to.have.status(404)",
 											"});",
 											"//code name contains a string",
-											"tests[\"Status code name has string \\\"Bad Request\\\"\"] = responseCode.name.has(\"Bad Request\");",
+											"tests[\"Status code name has string \\\"Not Found\\\"\"] = responseCode.name.has(\"Not Found\");",
 											"",
 											"pm.test(\"Verify keys and data type of the response result\", () => {",
 											"  pm.expect(jsonResponse.result).to.be.an(\"object\");",
 											"  pm.expect(jsonResponse.result).to.have.all.keys('messages');",
-											"  pm.expect(jsonResponse.result.messages).to.not.be.empty;",
+											"  pm.expect(jsonResponse.result.messages).to.be.null;",
 											"});",
 											"",
 											"//Validation",
 											"// Response body",
-											"pm.test(\"responseCode should be \\\"CLIENT_ERROR\\\"\", () => {",
-											"    pm.expect(jsonResponse.responseCode).to.eql(\"CLIENT_ERROR\");",
+											"pm.test(\"responseCode should be RESOURCE_NOT_FOUND\", () => {",
+											"    pm.expect(jsonResponse.responseCode).to.eql(\"RESOURCE_NOT_FOUND\");",
 											"});",
 											"",
 											"// Params",
-											"pm.test(\"params.err should be \\\"CLIENT_ERROR\\\"\", () => {",
-											"    pm.expect(jsonResponse.params.err).to.eql(\"CLIENT_ERROR\");",
+											"pm.test(\"params.err should be \\\"404\\\"\", () => {",
+											"    pm.expect(jsonResponse.params.err).to.eql(\"404\");",
 											"});",
-											"pm.test(\"params.errmsg should be \\\"Validation Errors\\\"\", () => {",
-											"    pm.expect(jsonResponse.params.errmsg).to.eql(\"Validation Errors\");",
+											"pm.test(\"params.status should be \\\"failed\\\"\", () => {",
+											"    pm.expect(jsonResponse.params.status).to.eql(\"failed\");",
+											"});",
+											"pm.test(`params.errmsg should be \\\"Entry is not found in cassandra for content with identifier: obj-cat:${JSON.parse(request.data).request.content.primaryCategory}_content_all {}\\\"`, () => {",
+											"    pm.expect(jsonResponse.params.errmsg).to.eql(`Entry is not found in cassandra for content with identifier: obj-cat:${JSON.parse(request.data).request.content.primaryCategory}_content_all {}`);",
 											"});",
 											"",
-											"// Result",
-											"pm.test(\"result body should include messages \\\"Required Metadata name not set\\\"\", () => {",
-											"    pm.expect(jsonResponse.result.messages).to.have.length(1)",
-											"    pm.expect(jsonResponse.result.messages).to.include('Required Metadata name not set');",
+											"pm.test(\"messages should be null\", () => {",
+											"    pm.expect(jsonResponse.result.messages).to.eql(null);",
 											"});",
 											""
 										],
@@ -1731,14 +1747,15 @@
 								],
 								"body": {
 									"mode": "raw",
-									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"description\": \"dsd\",\n            \"name\": \"\"\n        }\n    }\n}"
+									"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\",\n            \"primaryCategory\": \"abcd\"\n        }\n    }\n}"
 								},
 								"url": {
-									"raw": "{{host}}/content/v2/update/{{content_id}}",
+									"raw": "{{host}}/api/content/v2/update/{{content_id}}",
 									"host": [
 										"{{host}}"
 									],
 									"path": [
+										"api",
 										"content",
 										"v2",
 										"update",
diff --git a/content-api/api-test/Content V2.postman_collection.json b/content-api/api-test/Content V2.postman_collection.json
index c70084091..db88bf77e 100644
--- a/content-api/api-test/Content V2.postman_collection.json	
+++ b/content-api/api-test/Content V2.postman_collection.json	
@@ -102,11 +102,12 @@
 					"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"Untitled Content\",\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
 				},
 				"url": {
-					"raw": "{{host}}/content/v2/create",
+					"raw": "{{host}}/api/content/v2/create",
 					"host": [
 						"{{host}}"
 					],
 					"path": [
+						"api",
 						"content",
 						"v2",
 						"create"
@@ -123,36 +124,33 @@
 							{
 								"key": "Content-Type",
 								"value": "application/json",
-								"type": "text"
+								"description": "The Content Type entity is the media type of the resource.Possible media types can be application/json."
 							},
 							{
 								"key": "X-Authenticated-User-token",
 								"value": "{{keycloak_access_token}}",
-								"type": "text"
+								"description": "Represents the authorized User ID to execute the API."
 							},
 							{
 								"key": "Authorization",
 								"value": "{{kong_api_key}}",
-								"type": "text"
+								"description": "To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here."
 							},
 							{
 								"key": "X-Channel-Id",
 								"value": "{{channel_id}}",
-								"type": "text"
+								"type": "text",
+								"description": "Represents a physical location (e.g: state) uniquely to which the user belongs."
 							}
 						],
 						"body": {
 							"mode": "raw",
-							"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"API DOCUMENTATION CONTENT\",\n            \"mimeType\": \"application/pdf\",\n            \"code\": \"api-docs\",\n            \"primaryCategory\": \"Explanation Content\",\n            \"createdBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\"\n        }\n    }\n}"
+							"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"Untitled Content\",\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
 						},
 						"url": {
-							"raw": "https://dev.knowlg.sunbird.org/api/content/v2/create",
-							"protocol": "https",
+							"raw": "{{host}}/api/content/v2/create",
 							"host": [
-								"dev",
-								"knowlg",
-								"sunbird",
-								"org"
+								"{{host}}"
 							],
 							"path": [
 								"api",
@@ -168,7 +166,7 @@
 					"header": [
 						{
 							"key": "Date",
-							"value": "Mon, 23 Nov 2020 06:42:39 GMT"
+							"value": "Tue, 19 Jul 2022 06:42:53 GMT"
 						},
 						{
 							"key": "Content-Type",
@@ -188,47 +186,239 @@
 						},
 						{
 							"key": "X-RateLimit-Limit-hour",
-							"value": "30000"
+							"value": "1000000"
 						},
 						{
 							"key": "X-RateLimit-Remaining-hour",
-							"value": "29991"
+							"value": "999995"
 						},
 						{
-							"key": "Referrer-Policy",
-							"value": "origin-when-cross-origin, strict-origin-when-cross-origin"
+							"key": "request-time",
+							"value": "34"
 						},
 						{
-							"key": "X-Frame-Options",
-							"value": "DENY"
+							"key": "x-envoy-upstream-service-time",
+							"value": "36"
+						},
+						{
+							"key": "Access-Control-Allow-Origin",
+							"value": "*"
+						},
+						{
+							"key": "X-Kong-Upstream-Latency",
+							"value": "40"
+						},
+						{
+							"key": "X-Kong-Proxy-Latency",
+							"value": "41"
+						},
+						{
+							"key": "Via",
+							"value": "kong/0.14.1"
+						},
+						{
+							"key": "Content-Encoding",
+							"value": "gzip"
+						}
+					],
+					"cookie": [],
+					"body": "{\n    \"id\": \"api.content.create\",\n    \"ver\": \"4.0\",\n    \"ts\": \"2022-07-19T06:42:53ZZ\",\n    \"params\": {\n        \"resmsgid\": \"a06bcfc7-23b6-494a-8a63-bbdee8c6e373\",\n        \"msgid\": null,\n        \"err\": null,\n        \"status\": \"successful\",\n        \"errmsg\": null\n    },\n    \"responseCode\": \"OK\",\n    \"result\": {\n        \"identifier\": \"do_21358408067678208014\",\n        \"node_id\": \"do_21358408067678208014\",\n        \"versionKey\": \"1658212973248\"\n    }\n}"
+				},
+				{
+					"name": "Content Create - 400 Bad Request",
+					"originalRequest": {
+						"method": "POST",
+						"header": [
+							{
+								"key": "Content-Type",
+								"value": "application/json",
+								"description": "The Content Type entity is the media type of the resource.Possible media types can be application/json."
+							},
+							{
+								"key": "X-Authenticated-User-token",
+								"value": "{{keycloak_access_token}}",
+								"description": "Represents the authorized User ID to execute the API."
+							},
+							{
+								"key": "Authorization",
+								"value": "{{kong_api_key}}",
+								"description": "To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here."
+							},
+							{
+								"key": "X-Channel-Id",
+								"value": "{{channel_id}}",
+								"type": "text",
+								"description": "Represents a physical location (e.g: state) uniquely to which the user belongs."
+							}
+						],
+						"body": {
+							"mode": "raw",
+							"raw": "{\n    \"request\": {\n        \"content\": {\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"Explanation Content\"\n        }\n    }\n}"
+						},
+						"url": {
+							"raw": "{{host}}/api/content/v2/create",
+							"host": [
+								"{{host}}"
+							],
+							"path": [
+								"api",
+								"content",
+								"v2",
+								"create"
+							]
+						}
+					},
+					"status": "Bad Request",
+					"code": 400,
+					"_postman_previewlanguage": "json",
+					"header": [
+						{
+							"key": "Date",
+							"value": "Tue, 19 Jul 2022 06:28:26 GMT"
+						},
+						{
+							"key": "Content-Type",
+							"value": "application/json"
+						},
+						{
+							"key": "Content-Length",
+							"value": "297"
+						},
+						{
+							"key": "Connection",
+							"value": "keep-alive"
 						},
 						{
-							"key": "X-XSS-Protection",
-							"value": "1; mode=block"
+							"key": "X-RateLimit-Limit-hour",
+							"value": "1000000"
+						},
+						{
+							"key": "X-RateLimit-Remaining-hour",
+							"value": "999998"
 						},
 						{
-							"key": "x-response-length",
-							"value": "55"
+							"key": "request-time",
+							"value": "11"
 						},
 						{
-							"key": "X-Content-Type-Options",
-							"value": "nosniff"
+							"key": "x-envoy-upstream-service-time",
+							"value": "13"
 						},
 						{
 							"key": "Access-Control-Allow-Origin",
 							"value": "*"
 						},
 						{
-							"key": "X-Permitted-Cross-Domain-Policies",
-							"value": "master-only"
+							"key": "X-Kong-Upstream-Latency",
+							"value": "18"
+						},
+						{
+							"key": "X-Kong-Proxy-Latency",
+							"value": "125"
+						},
+						{
+							"key": "Via",
+							"value": "kong/0.14.1"
+						}
+					],
+					"cookie": [],
+					"body": "{\n    \"id\": \"api.content.create\",\n    \"ver\": \"4.0\",\n    \"ts\": \"2022-07-19T06:28:26ZZ\",\n    \"params\": {\n        \"resmsgid\": \"7efe066b-39e0-4f03-a569-0e9f19e8822b\",\n        \"msgid\": null,\n        \"err\": \"CLIENT_ERROR\",\n        \"status\": \"failed\",\n        \"errmsg\": \"Validation Errors\"\n    },\n    \"responseCode\": \"CLIENT_ERROR\",\n    \"result\": {\n        \"messages\": [\n            \"Required Metadata name not set\"\n        ]\n    }\n}"
+				},
+				{
+					"name": "Content Create - 404 Not Found",
+					"originalRequest": {
+						"method": "POST",
+						"header": [
+							{
+								"key": "Content-Type",
+								"value": "application/json",
+								"description": "The Content Type entity is the media type of the resource.Possible media types can be application/json."
+							},
+							{
+								"key": "X-Authenticated-User-token",
+								"value": "{{keycloak_access_token}}",
+								"description": "Represents the authorized User ID to execute the API."
+							},
+							{
+								"key": "Authorization",
+								"value": "{{kong_api_key}}",
+								"description": "To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here."
+							},
+							{
+								"key": "X-Channel-Id",
+								"value": "{{channel_id}}",
+								"type": "text",
+								"description": "Represents a physical location (e.g: state) uniquely to which the user belongs."
+							}
+						],
+						"body": {
+							"mode": "raw",
+							"raw": "{\n    \"request\": {\n        \"content\": {\n            \"name\": \"Untitled Content\",\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"mimeType\": \"application/pdf\",\n            \"primaryCategory\": \"abcd\"\n        }\n    }\n}"
+						},
+						"url": {
+							"raw": "{{host}}/api/content/v2/create",
+							"host": [
+								"{{host}}"
+							],
+							"path": [
+								"api",
+								"content",
+								"v2",
+								"create"
+							]
+						}
+					},
+					"status": "Not Found",
+					"code": 404,
+					"_postman_previewlanguage": "json",
+					"header": [
+						{
+							"key": "Date",
+							"value": "Tue, 19 Jul 2022 06:33:43 GMT"
+						},
+						{
+							"key": "Content-Type",
+							"value": "application/json"
+						},
+						{
+							"key": "Transfer-Encoding",
+							"value": "chunked"
+						},
+						{
+							"key": "Connection",
+							"value": "keep-alive"
+						},
+						{
+							"key": "Vary",
+							"value": "Accept-Encoding"
+						},
+						{
+							"key": "X-RateLimit-Limit-hour",
+							"value": "1000000"
+						},
+						{
+							"key": "X-RateLimit-Remaining-hour",
+							"value": "999997"
+						},
+						{
+							"key": "request-time",
+							"value": "16"
+						},
+						{
+							"key": "x-envoy-upstream-service-time",
+							"value": "18"
+						},
+						{
+							"key": "Access-Control-Allow-Origin",
+							"value": "*"
 						},
 						{
 							"key": "X-Kong-Upstream-Latency",
-							"value": "53"
+							"value": "23"
 						},
 						{
 							"key": "X-Kong-Proxy-Latency",
-							"value": "36"
+							"value": "115"
 						},
 						{
 							"key": "Via",
@@ -240,7 +430,7 @@
 						}
 					],
 					"cookie": [],
-					"body": "{\n    \"id\": \"api.content.create\",\n    \"ver\": \"1.0\",\n    \"ts\": \"2020-12-09T11:11:12.697Z\",\n    \"params\": {\n        \"resmsgid\": \"3f5de290-3a0f-11eb-be5b-f9d249ba9049\",\n        \"msgid\": \"3f57a100-3a0f-11eb-be5b-f9d249ba9049\",\n        \"status\": \"successful\",\n        \"err\": null,\n        \"errmsg\": null\n    },\n    \"responseCode\": \"OK\",\n    \"result\": {\n        \"content_id\": \"do_1131687405374504961738\",\n        \"versionKey\": \"1607512272640\"\n    }\n}"
+					"body": "{\n    \"id\": \"api.content.create\",\n    \"ver\": \"4.0\",\n    \"ts\": \"2022-07-19T06:33:43ZZ\",\n    \"params\": {\n        \"resmsgid\": \"78745a2e-004b-4422-99e4-e2494387b3d4\",\n        \"msgid\": null,\n        \"err\": \"404\",\n        \"status\": \"failed\",\n        \"errmsg\": \"Entry is not found in cassandra for content with identifier: obj-cat:abcd_content_all {}\"\n    },\n    \"responseCode\": \"RESOURCE_NOT_FOUND\",\n    \"result\": {\n        \"messages\": null\n    }\n}"
 				}
 			]
 		},
@@ -324,6 +514,15 @@
 						],
 						"type": "text/javascript"
 					}
+				},
+				{
+					"listen": "prerequest",
+					"script": {
+						"exec": [
+							"// pm.globals.set('content_id', 'do_213584064677732352111');"
+						],
+						"type": "text/javascript"
+					}
 				}
 			],
 			"request": {
@@ -349,11 +548,12 @@
 					}
 				],
 				"url": {
-					"raw": "{{host}}/content/v2/read/{{content_id}}",
+					"raw": "{{host}}/api/content/v2/read/{{content_id}}",
 					"host": [
 						"{{host}}"
 					],
 					"path": [
+						"api",
 						"content",
 						"v2",
 						"read",
@@ -371,27 +571,26 @@
 							{
 								"key": "Content-Type",
 								"value": "application/json",
-								"type": "text"
+								"type": "text",
+								"description": "The Content Type entity is the media type of the resource.Possible media types can be application/json."
 							},
 							{
 								"key": "X-Authenticated-User-token",
 								"value": "{{keycloak_access_token}}",
-								"type": "text"
+								"type": "text",
+								"description": "Represents the authorized User ID to execute the API."
 							},
 							{
 								"key": "Authorization",
 								"value": "{{kong_api_key}}",
-								"type": "text"
+								"type": "text",
+								"description": "To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here."
 							}
 						],
 						"url": {
-							"raw": "https://dev.knowlg.sunbird.org/api/content/v2/read/{{content_id}}",
-							"protocol": "https",
+							"raw": "{{host}}/api/content/v2/read/{{content_id}}",
 							"host": [
-								"dev",
-								"knowlg",
-								"sunbird",
-								"org"
+								"{{host}}"
 							],
 							"path": [
 								"api",
@@ -408,7 +607,7 @@
 					"header": [
 						{
 							"key": "Date",
-							"value": "Mon, 23 Nov 2020 04:48:35 GMT"
+							"value": "Tue, 19 Jul 2022 06:44:16 GMT"
 						},
 						{
 							"key": "Content-Type",
@@ -428,59 +627,137 @@
 						},
 						{
 							"key": "X-RateLimit-Limit-hour",
-							"value": "30000"
+							"value": "1000000"
 						},
 						{
 							"key": "X-RateLimit-Remaining-hour",
-							"value": "29999"
+							"value": "999996"
 						},
 						{
-							"key": "Referrer-Policy",
-							"value": "origin-when-cross-origin, strict-origin-when-cross-origin"
+							"key": "request-time",
+							"value": "26"
 						},
 						{
-							"key": "X-Frame-Options",
-							"value": "DENY"
+							"key": "x-envoy-upstream-service-time",
+							"value": "28"
 						},
 						{
-							"key": "X-XSS-Protection",
-							"value": "1; mode=block"
+							"key": "Access-Control-Allow-Origin",
+							"value": "*"
 						},
 						{
-							"key": "x-response-length",
-							"value": "2759"
+							"key": "X-Kong-Upstream-Latency",
+							"value": "32"
 						},
 						{
-							"key": "X-Content-Type-Options",
-							"value": "nosniff"
+							"key": "X-Kong-Proxy-Latency",
+							"value": "14"
 						},
 						{
-							"key": "Access-Control-Allow-Origin",
-							"value": "*"
+							"key": "Via",
+							"value": "kong/0.14.1"
 						},
 						{
-							"key": "X-Permitted-Cross-Domain-Policies",
-							"value": "master-only"
+							"key": "Content-Encoding",
+							"value": "gzip"
+						}
+					],
+					"cookie": [],
+					"body": "{\n    \"id\": \"api.content.read\",\n    \"ver\": \"4.0\",\n    \"ts\": \"2022-07-19T06:44:16ZZ\",\n    \"params\": {\n        \"resmsgid\": \"2c23c136-d4eb-4c88-897b-7077bd2894cd\",\n        \"msgid\": null,\n        \"err\": null,\n        \"status\": \"successful\",\n        \"errmsg\": null\n    },\n    \"responseCode\": \"OK\",\n    \"result\": {\n        \"content\": {\n            \"ownershipType\": [\n                \"createdBy\"\n            ],\n            \"code\": \"1242e9ea-660a-4536-a142-cc242a7a4162\",\n            \"interceptionPoints\": {},\n            \"credentials\": {\n                \"enabled\": \"No\"\n            },\n            \"channel\": \"channel_id\",\n            \"language\": [\n                \"English\"\n            ],\n            \"mimeType\": \"application/pdf\",\n            \"idealScreenSize\": \"normal\",\n            \"createdOn\": \"2022-07-19T06:42:53.248+0000\",\n            \"objectType\": \"Content\",\n            \"primaryCategory\": \"Explanation Content\",\n            \"contentDisposition\": \"inline\",\n            \"lastUpdatedOn\": \"2022-07-19T06:42:53.248+0000\",\n            \"contentEncoding\": \"identity\",\n            \"contentType\": \"ClassroomTeachingVideo\",\n            \"dialcodeRequired\": \"No\",\n            \"identifier\": \"do_21358408067678208014\",\n            \"lastStatusChangedOn\": \"2022-07-19T06:42:53.248+0000\",\n            \"audience\": [\n                \"Student\"\n            ],\n            \"os\": [\n                \"All\"\n            ],\n            \"visibility\": \"Default\",\n            \"consumerId\": \"ab35de9d-2a45-410a-901f-82a25e05af6d\",\n            \"discussionForum\": {\n                \"enabled\": \"No\"\n            },\n            \"mediaType\": \"content\",\n            \"osId\": \"org.ekstep.quiz.app\",\n            \"languageCode\": [\n                \"en\"\n            ],\n            \"version\": 2,\n            \"versionKey\": \"1658212973248\",\n            \"license\": \"CC BY 4.0\",\n            \"idealScreenDensity\": \"hdpi\",\n            \"framework\": \"NCF\",\n            \"compatibilityLevel\": 1,\n            \"name\": \"Untitled Content\",\n            \"status\": \"Draft\"\n        }\n    }\n}"
+				},
+				{
+					"name": "Content Read - 404 Not Found",
+					"originalRequest": {
+						"method": "GET",
+						"header": [
+							{
+								"key": "Content-Type",
+								"value": "application/json",
+								"type": "text",
+								"description": "The Content Type entity is the media type of the resource.Possible media types can be application/json."
+							},
+							{
+								"key": "X-Authenticated-User-token",
+								"value": "{{keycloak_access_token}}",
+								"type": "text",
+								"description": "Represents the authorized User ID to execute the API."
+							},
+							{
+								"key": "Authorization",
+								"value": "{{kong_api_key}}",
+								"type": "text",
+								"description": "To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here."
+							}
+						],
+						"url": {
+							"raw": "{{host}}/api/content/v2/read/{{content_id}}",
+							"host": [
+								"{{host}}"
+							],
+							"path": [
+								"api",
+								"content",
+								"v2",
+								"read",
+								"{{content_id}}"
+							]
+						}
+					},
+					"status": "Not Found",
+					"code": 404,
+					"_postman_previewlanguage": "json",
+					"header": [
+						{
+							"key": "Date",
+							"value": "Tue, 19 Jul 2022 06:36:38 GMT"
 						},
 						{
-							"key": "X-Kong-Upstream-Latency",
-							"value": "11"
+							"key": "Content-Type",
+							"value": "application/json"
 						},
 						{
-							"key": "X-Kong-Proxy-Latency",
-							"value": "35"
+							"key": "Transfer-Encoding",
+							"value": "chunked"
 						},
 						{
-							"key": "Via",
-							"value": "kong/0.14.1"
+							"key": "Connection",
+							"value": "keep-alive"
+						},
+						{
+							"key": "Vary",
+							"value": "Accept-Encoding"
+						},
+						{
+							"key": "X-RateLimit-Limit-hour",
+							"value": "1000000"
 						},
 						{
-							"key": "X-Proxy-Cache",
-							"value": "MISS"
+							"key": "X-RateLimit-Remaining-hour",
+							"value": "999997"
+						},
+						{
+							"key": "request-time",
+							"value": "59"
+						},
+						{
+							"key": "x-envoy-upstream-service-time",
+							"value": "61"
 						},
 						{
-							"key": "X-Proxy-Cache-Date",
-							"value": "Mon, 23 Nov 2020 04:48:35 GMT"
+							"key": "Access-Control-Allow-Origin",
+							"value": "*"
+						},
+						{
+							"key": "X-Kong-Upstream-Latency",
+							"value": "74"
+						},
+						{
+							"key": "X-Kong-Proxy-Latency",
+							"value": "116"
+						},
+						{
+							"key": "Via",
+							"value": "kong/0.14.1"
 						},
 						{
 							"key": "Content-Encoding",
@@ -488,7 +765,7 @@
 						}
 					],
 					"cookie": [],
-					"body": "{\n    \"id\": \"api.content.read\",\n    \"ver\": \"1.0\",\n    \"ts\": \"2020-12-09T12:09:04.202Z\",\n    \"params\": {\n        \"resmsgid\": \"548b82a0-3a17-11eb-be5b-f9d249ba9049\",\n        \"msgid\": \"5488ea90-3a17-11eb-be5b-f9d249ba9049\",\n        \"status\": \"successful\",\n        \"err\": null,\n        \"errmsg\": null\n    },\n    \"responseCode\": \"OK\",\n    \"result\": {\n        \"content\": {\n            \"ownershipType\": [\n                \"createdBy\"\n            ],\n            \"code\": \"org.sunbird.ccG6ru\",\n            \"credentials\": {\n                \"enabled\": \"No\"\n            },\n            \"channel\": \"in.ekstep\",\n            \"language\": [\n                \"English\"\n            ],\n            \"mimeType\": \"application/pdf\",\n            \"idealScreenSize\": \"normal\",\n            \"createdOn\": \"2020-12-09T12:08:54.913+0000\",\n            \"objectType\": \"Content\",\n            \"primaryCategory\": \"Explanation Content\",\n            \"contentDisposition\": \"inline\",\n            \"lastUpdatedOn\": \"2020-12-09T12:08:54.913+0000\",\n            \"contentEncoding\": \"identity\",\n            \"contentType\": \"Resource\",\n            \"dialcodeRequired\": \"No\",\n            \"identifier\": \"do_1131687689003827201864\",\n            \"lastStatusChangedOn\": \"2020-12-09T12:08:54.913+0000\",\n            \"audience\": [\n                \"Student\"\n            ],\n            \"os\": [\n                \"All\"\n            ],\n            \"visibility\": \"Default\",\n            \"consumerId\": \"7411b6bd-89f3-40ec-98d1-229dc64ce77d\",\n            \"mediaType\": \"content\",\n            \"osId\": \"org.ekstep.quiz.app\",\n            \"languageCode\": [\n                \"en\"\n            ],\n            \"version\": 2,\n            \"versionKey\": \"1607515734913\",\n            \"license\": \"CC BY 4.0\",\n            \"idealScreenDensity\": \"hdpi\",\n            \"framework\": \"NCF\",\n            \"createdBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"compatibilityLevel\": 1,\n            \"name\": \"API DOCUMENTATION CONTENT\",\n            \"status\": \"Draft\"\n        }\n    }\n}"
+					"body": "{\n    \"id\": \"api.content.read\",\n    \"ver\": \"4.0\",\n    \"ts\": \"2022-07-19T06:36:38ZZ\",\n    \"params\": {\n        \"resmsgid\": \"e8f48807-bff1-45c0-8eeb-760dcf7f98cf\",\n        \"msgid\": null,\n        \"err\": \"NOT_FOUND\",\n        \"status\": \"failed\",\n        \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_213584064677732352111\"\n    },\n    \"responseCode\": \"RESOURCE_NOT_FOUND\",\n    \"result\": {\n        \"messages\": null\n    }\n}"
 				}
 			]
 		},
@@ -557,6 +834,16 @@
 						],
 						"type": "text/javascript"
 					}
+				},
+				{
+					"listen": "prerequest",
+					"script": {
+						"exec": [
+							"// pm.globals.set('versionKey', '3534534543');",
+							"// pm.globals.set(\"content_id\", 'do_213584064677732352111');"
+						],
+						"type": "text/javascript"
+					}
 				}
 			],
 			"request": {
@@ -592,11 +879,12 @@
 					"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"lastUpdatedBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\"\n        }\n    }\n}"
 				},
 				"url": {
-					"raw": "{{host}}/content/v2/update/{{content_id}}",
+					"raw": "{{host}}/api/content/v2/update/{{content_id}}",
 					"host": [
 						"{{host}}"
 					],
 					"path": [
+						"api",
 						"content",
 						"v2",
 						"update",
@@ -605,7 +893,336 @@
 				},
 				"description": "This API is associated with updating content on the Sunbird Platform. Mandatory fields cannot be null or empty.\n\nThe body refers to the format of the request.\n\n*   The body contains metadata about the content to be updated.\n*   Please refer for supported [metadata](https://github.com/project-sunbird/knowledge-platform/blob/master/schemas/content/1.0/schema.json)"
 			},
-			"response": []
+			"response": [
+				{
+					"name": "Content Update - 400 Bad Request",
+					"originalRequest": {
+						"method": "PATCH",
+						"header": [
+							{
+								"key": "Content-Type",
+								"value": "application/json",
+								"type": "text",
+								"description": "The Content Type entity is the media type of the resource.Possible media types can be application/json."
+							},
+							{
+								"key": "X-Authenticated-User-token",
+								"value": "{{keycloak_access_token}}",
+								"type": "text",
+								"description": "Represents the authorized User ID to execute the API."
+							},
+							{
+								"key": "Authorization",
+								"value": "{{kong_api_key}}",
+								"type": "text",
+								"description": "To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here."
+							},
+							{
+								"key": "X-Channel-Id",
+								"value": "{{channel_id}}",
+								"type": "text",
+								"description": "Represents a physical location (e.g: state) uniquely to which the user belongs."
+							}
+						],
+						"body": {
+							"mode": "raw",
+							"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"lastUpdatedBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\"\n        }\n    }\n}"
+						},
+						"url": {
+							"raw": "{{host}}/api/content/v2/update/{{content_id}}",
+							"host": [
+								"{{host}}"
+							],
+							"path": [
+								"api",
+								"content",
+								"v2",
+								"update",
+								"{{content_id}}"
+							]
+						}
+					},
+					"status": "Bad Request",
+					"code": 400,
+					"_postman_previewlanguage": "json",
+					"header": [
+						{
+							"key": "Date",
+							"value": "Tue, 19 Jul 2022 06:38:11 GMT"
+						},
+						{
+							"key": "Content-Type",
+							"value": "application/json"
+						},
+						{
+							"key": "Content-Length",
+							"value": "269"
+						},
+						{
+							"key": "Connection",
+							"value": "keep-alive"
+						},
+						{
+							"key": "X-RateLimit-Limit-hour",
+							"value": "1000000"
+						},
+						{
+							"key": "X-RateLimit-Remaining-hour",
+							"value": "999997"
+						},
+						{
+							"key": "request-time",
+							"value": "33"
+						},
+						{
+							"key": "x-envoy-upstream-service-time",
+							"value": "35"
+						},
+						{
+							"key": "Access-Control-Allow-Origin",
+							"value": "*"
+						},
+						{
+							"key": "X-Kong-Upstream-Latency",
+							"value": "38"
+						},
+						{
+							"key": "X-Kong-Proxy-Latency",
+							"value": "12"
+						},
+						{
+							"key": "Via",
+							"value": "kong/0.14.1"
+						}
+					],
+					"cookie": [],
+					"body": "{\n    \"id\": \"api.content.update\",\n    \"ver\": \"4.0\",\n    \"ts\": \"2022-07-19T06:38:11ZZ\",\n    \"params\": {\n        \"resmsgid\": \"0237c6eb-9d37-474f-aed5-c83aee24116b\",\n        \"msgid\": null,\n        \"err\": \"CLIENT_ERROR\",\n        \"status\": \"failed\",\n        \"errmsg\": \"Invalid version Key\"\n    },\n    \"responseCode\": \"CLIENT_ERROR\",\n    \"result\": {\n        \"messages\": null\n    }\n}"
+				},
+				{
+					"name": "Content Update - 404 Not Found",
+					"originalRequest": {
+						"method": "PATCH",
+						"header": [
+							{
+								"key": "Content-Type",
+								"value": "application/json",
+								"type": "text",
+								"description": "The Content Type entity is the media type of the resource.Possible media types can be application/json."
+							},
+							{
+								"key": "X-Authenticated-User-token",
+								"value": "{{keycloak_access_token}}",
+								"type": "text",
+								"description": "Represents the authorized User ID to execute the API."
+							},
+							{
+								"key": "Authorization",
+								"value": "{{kong_api_key}}",
+								"type": "text",
+								"description": "To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here."
+							},
+							{
+								"key": "X-Channel-Id",
+								"value": "{{channel_id}}",
+								"type": "text",
+								"description": "Represents a physical location (e.g: state) uniquely to which the user belongs."
+							}
+						],
+						"body": {
+							"mode": "raw",
+							"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"lastUpdatedBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\"\n        }\n    }\n}"
+						},
+						"url": {
+							"raw": "{{host}}/api/content/v2/update/{{content_id}}",
+							"host": [
+								"{{host}}"
+							],
+							"path": [
+								"api",
+								"content",
+								"v2",
+								"update",
+								"{{content_id}}"
+							]
+						}
+					},
+					"status": "Not Found",
+					"code": 404,
+					"_postman_previewlanguage": "json",
+					"header": [
+						{
+							"key": "Date",
+							"value": "Tue, 19 Jul 2022 06:39:22 GMT"
+						},
+						{
+							"key": "Content-Type",
+							"value": "application/json"
+						},
+						{
+							"key": "Transfer-Encoding",
+							"value": "chunked"
+						},
+						{
+							"key": "Connection",
+							"value": "keep-alive"
+						},
+						{
+							"key": "Vary",
+							"value": "Accept-Encoding"
+						},
+						{
+							"key": "X-RateLimit-Limit-hour",
+							"value": "1000000"
+						},
+						{
+							"key": "X-RateLimit-Remaining-hour",
+							"value": "999996"
+						},
+						{
+							"key": "request-time",
+							"value": "12"
+						},
+						{
+							"key": "x-envoy-upstream-service-time",
+							"value": "14"
+						},
+						{
+							"key": "Access-Control-Allow-Origin",
+							"value": "*"
+						},
+						{
+							"key": "X-Kong-Upstream-Latency",
+							"value": "18"
+						},
+						{
+							"key": "X-Kong-Proxy-Latency",
+							"value": "116"
+						},
+						{
+							"key": "Via",
+							"value": "kong/0.14.1"
+						},
+						{
+							"key": "Content-Encoding",
+							"value": "gzip"
+						}
+					],
+					"cookie": [],
+					"body": "{\n    \"id\": \"api.content.update\",\n    \"ver\": \"4.0\",\n    \"ts\": \"2022-07-19T06:39:22ZZ\",\n    \"params\": {\n        \"resmsgid\": \"e60a2a4d-c8f9-4f10-bc66-695e0f86d82c\",\n        \"msgid\": null,\n        \"err\": \"NOT_FOUND\",\n        \"status\": \"failed\",\n        \"errmsg\": \"Error! Node(s) doesn't Exists. | [Invalid Node Id.]: do_213584064677732352111\"\n    },\n    \"responseCode\": \"RESOURCE_NOT_FOUND\",\n    \"result\": {\n        \"messages\": null\n    }\n}"
+				},
+				{
+					"name": "Content Update - 200 OK",
+					"originalRequest": {
+						"method": "PATCH",
+						"header": [
+							{
+								"key": "Content-Type",
+								"value": "application/json",
+								"type": "text",
+								"description": "The Content Type entity is the media type of the resource.Possible media types can be application/json."
+							},
+							{
+								"key": "X-Authenticated-User-token",
+								"value": "{{keycloak_access_token}}",
+								"type": "text",
+								"description": "Represents the authorized User ID to execute the API."
+							},
+							{
+								"key": "Authorization",
+								"value": "{{kong_api_key}}",
+								"type": "text",
+								"description": "To make use of the API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here."
+							},
+							{
+								"key": "X-Channel-Id",
+								"value": "{{channel_id}}",
+								"type": "text",
+								"description": "Represents a physical location (e.g: state) uniquely to which the user belongs."
+							}
+						],
+						"body": {
+							"mode": "raw",
+							"raw": "{\n    \"request\": {\n        \"content\": {\n            \"versionKey\": \"{{versionKey}}\",\n            \"lastUpdatedBy\": \"874ed8a5-782e-4f6c-8f36-e0288455901e\",\n            \"description\": \"dsd\",\n            \"name\": \"API DOCUMENTATION CONTENT\"\n        }\n    }\n}"
+						},
+						"url": {
+							"raw": "{{host}}/api/content/v2/update/{{content_id}}",
+							"host": [
+								"{{host}}"
+							],
+							"path": [
+								"api",
+								"content",
+								"v2",
+								"update",
+								"{{content_id}}"
+							]
+						}
+					},
+					"status": "OK",
+					"code": 200,
+					"_postman_previewlanguage": "json",
+					"header": [
+						{
+							"key": "Date",
+							"value": "Tue, 19 Jul 2022 06:44:37 GMT"
+						},
+						{
+							"key": "Content-Type",
+							"value": "application/json"
+						},
+						{
+							"key": "Transfer-Encoding",
+							"value": "chunked"
+						},
+						{
+							"key": "Connection",
+							"value": "keep-alive"
+						},
+						{
+							"key": "Vary",
+							"value": "Accept-Encoding"
+						},
+						{
+							"key": "X-RateLimit-Limit-hour",
+							"value": "1000000"
+						},
+						{
+							"key": "X-RateLimit-Remaining-hour",
+							"value": "999995"
+						},
+						{
+							"key": "request-time",
+							"value": "87"
+						},
+						{
+							"key": "x-envoy-upstream-service-time",
+							"value": "88"
+						},
+						{
+							"key": "Access-Control-Allow-Origin",
+							"value": "*"
+						},
+						{
+							"key": "X-Kong-Upstream-Latency",
+							"value": "92"
+						},
+						{
+							"key": "X-Kong-Proxy-Latency",
+							"value": "115"
+						},
+						{
+							"key": "Via",
+							"value": "kong/0.14.1"
+						},
+						{
+							"key": "Content-Encoding",
+							"value": "gzip"
+						}
+					],
+					"cookie": [],
+					"body": "{\n    \"id\": \"api.content.update\",\n    \"ver\": \"4.0\",\n    \"ts\": \"2022-07-19T06:44:37ZZ\",\n    \"params\": {\n        \"resmsgid\": \"767eada1-6342-4503-ad0d-b18aea711aab\",\n        \"msgid\": null,\n        \"err\": null,\n        \"status\": \"successful\",\n        \"errmsg\": null\n    },\n    \"responseCode\": \"OK\",\n    \"result\": {\n        \"identifier\": \"do_21358408067678208014\",\n        \"node_id\": \"do_21358408067678208014\",\n        \"versionKey\": \"1658213077381\"\n    }\n}"
+				}
+			]
 		}
 	]
 }
\ No newline at end of file
-- 
GitLab