{ "info" : { "name" : "hipchat-sns-bridge", "schema" : "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description" : { "content" : "Hipchat to Amazon SNS bridge." }, "version" : "1.0.0" }, "item" : [ { "name" : "hipchat_capabilities_descriptors", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/capabilities", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "capabilities" ], "query" : [ { "key" : "redirect_to_hipchat_install", "value" : "false", "disabled" : false, "description" : { "content" : "Whether to redirect to Hipchat install with Base64 encoded data." } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /hipchat/capabilities", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"GET requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 200 - hipchat_capabilities_descriptor", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/capabilities", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "capabilities" ], "query" : [ { "key" : "redirect_to_hipchat_install", "value" : "false", "disabled" : false, "description" : { "content" : "Whether to redirect to Hipchat install with Base64 encoded data." } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "{\n \"capabilities\" : {\n \"configurable\" : {\n \"allowAccessToRoomAdmins\" : \"fe6f39c4466e\",\n \"url\" : \"af8ec4aadc01\"\n },\n \"hipchatApiConsumer\" : {\n \"scopes\" : [ \"send_notification\" ],\n \"fromName\" : \"61bc509b045f\"\n },\n \"installable\" : {\n \"callbackUrl\" : \"ed7c62898e7d\",\n \"installedUrl\" : \"bc8a8e0de77c\",\n \"allowGlobal\" : true,\n \"allowRoom\" : true\n },\n \"oauth2Provider\" : {\n \"tokenUrl\" : \"8879231e7d04\",\n \"authorizationUrl\" : \"0195856df28a\"\n }\n },\n \"name\" : \"e67df57ccb4d\",\n \"description\" : \"bd0caf1526f4\",\n \"key\" : \"1ee74b2b5bec\",\n \"links\" : {\n \"homepage\" : \"9e55994da316\",\n \"api\" : \"a3e12efb0a7a\",\n \"self\" : \"21c621f5dc5a\"\n },\n \"apiVersion\" : \"281df83d849e\",\n \"vendor\" : {\n \"name\" : \"445523939c42\",\n \"url\" : \"b26abd004f19\"\n }\n}", "code" : 200 } ], "type" : "item" } ], "type" : "folder" }, { "name" : "hipchat_install_data", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/installable", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "installable" ], "query" : [ { "key" : "installable_url", "disabled" : false, "description" : { "content" : "Type: string | Required: true" } }, { "key" : "redirect_url", "disabled" : false, "description" : { "content" : "Type: string | Required: true" } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /hipchat/installable", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"GET requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 200 - hipchat_capabilities_descriptor", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/installable", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "installable" ], "query" : [ { "key" : "installable_url", "disabled" : false, "description" : { "content" : "Type: string | Required: true" } }, { "key" : "redirect_url", "disabled" : false, "description" : { "content" : "Type: string | Required: true" } } ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "{\n \"capabilities\" : {\n \"configurable\" : {\n \"allowAccessToRoomAdmins\" : \"c2b6802368a3\",\n \"url\" : \"d7a504ddff0e\"\n },\n \"hipchatApiConsumer\" : {\n \"scopes\" : [ \"send_message\" ],\n \"fromName\" : \"310603a570ac\"\n },\n \"installable\" : {\n \"callbackUrl\" : \"cc1cb28931a7\",\n \"installedUrl\" : \"b205a5028583\",\n \"allowGlobal\" : true,\n \"allowRoom\" : true\n },\n \"oauth2Provider\" : {\n \"tokenUrl\" : \"c86858ee4f96\",\n \"authorizationUrl\" : \"ea493cbfe28b\"\n }\n },\n \"name\" : \"83aaadf6f78a\",\n \"description\" : \"44f8b9e5a95e\",\n \"key\" : \"b59c6f0d0b8b\",\n \"links\" : {\n \"homepage\" : \"1381c88564de\",\n \"api\" : \"a8727d13a75f\",\n \"self\" : \"58e2e27caf7a\"\n },\n \"apiVersion\" : \"02f736cbcc2a\",\n \"vendor\" : {\n \"name\" : \"af430846a854\",\n \"url\" : \"5161154d2f7f\"\n }\n}", "code" : 200 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/installable", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "installable" ], "query" : [ ], "variable" : [ ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"roomId\" : \"5c2f8b9f8aba\",\n \"oauthSecret\" : \"b271a2215ebf\",\n \"oauthId\" : \"028d5ac6a5f4\",\n \"groupId\" : 1,\n \"capabilitiesUrl\" : \"1aee96256a20\"\n}", "mode" : "raw" } }, "name" : "POST /hipchat/installable", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"POST requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 200 - unit", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/installable", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "installable" ], "query" : [ ], "variable" : [ ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"roomId\" : \"5c2f8b9f8aba\",\n \"oauthSecret\" : \"b271a2215ebf\",\n \"oauthId\" : \"028d5ac6a5f4\",\n \"groupId\" : 1,\n \"capabilitiesUrl\" : \"1aee96256a20\"\n}", "mode" : "raw" } }, "code" : 200 } ], "type" : "item" }, { "request" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/installable/:oauthId", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "installable", ":oauthId" ], "query" : [ ], "variable" : [ { "key" : "oauthId", "value" : "{{oauthId}}", "description" : { "content" : "Type: string | Required: true" }, "disabled" : false } ] }, "method" : "DELETE", "header" : [ ] }, "name" : "DELETE /hipchat/installable/:oauthId", "response" : [ { "name" : "Example 200 - unit", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/installable/:oauthId", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "installable", ":oauthId" ], "query" : [ ], "variable" : [ { "key" : "oauthId", "value" : "{{oauthId}}", "description" : { "content" : "Type: string | Required: true" }, "disabled" : false } ] }, "method" : "DELETE", "header" : [ ] }, "code" : 200 } ], "type" : "item" } ], "type" : "folder" }, { "name" : "service_info", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/info", "host" : [ "{{BASE_URL}}" ], "path" : [ "info" ], "query" : [ ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "name" : "GET /info", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"GET requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 200 - service_info", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/info", "host" : [ "{{BASE_URL}}" ], "path" : [ "info" ], "query" : [ ], "variable" : [ ] }, "method" : "GET", "header" : [ ] }, "body" : "{\n \"name\" : \"b59c5b30b184\",\n \"scala_version\" : \"da7453316fbf\",\n \"version\" : \"125b0e2b7c32\",\n \"sbt_version\" : \"39f298a0fae6\",\n \"build_time\" : \"2026-11-07T18:15:37.331Z\"\n}", "code" : 200 } ], "type" : "item" } ], "type" : "folder" }, { "name" : "sns_notifications", "item" : [ { "request" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/room/:roomId/notification", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "room", ":roomId", "notification" ], "query" : [ ], "variable" : [ { "key" : "roomId", "value" : "{{roomId}}", "description" : { "content" : "Type: string | Required: true" }, "disabled" : false } ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"Subject\" : \"ccf6280a5df6\",\n \"UnsubscribeURL\" : \"92989ff4b159\",\n \"Signature\" : \"f9c868baeacb\",\n \"SignatureVersion\" : \"dd26cc41d2fb\",\n \"Timestamp\" : \"3b2b23a991ec\",\n \"Token\" : \"dc1855349393\",\n \"MessageId\" : \"4f446128343b\",\n \"SubscribeURL\" : \"169cfa92e801\",\n \"Message\" : \"5e5bc61e1a2e\",\n \"TopicArn\" : \"b39a5ea23897\",\n \"SigningCertURL\" : \"ccdafd6587b7\",\n \"Type\" : \"654e740d3933\"\n}", "mode" : "raw" } }, "name" : "POST /hipchat/room/:roomId/notification", "event" : [ { "listen" : "test", "script" : { "exec" : [ "pm.test(\"POST requests should return 2xx\", function () {", " pm.response.to.be.success;", "});" ], "type" : "text/javascript" } } ], "response" : [ { "name" : "Example 200 - string", "originalRequest" : { "url" : { "raw" : "{{BASE_URL}}/hipchat/room/:roomId/notification", "host" : [ "{{BASE_URL}}" ], "path" : [ "hipchat", "room", ":roomId", "notification" ], "query" : [ ], "variable" : [ { "key" : "roomId", "value" : "{{roomId}}", "description" : { "content" : "Type: string | Required: true" }, "disabled" : false } ] }, "method" : "POST", "header" : [ { "key" : "Content-Type", "value" : "application/json", "description" : { "content" : "Required to send JSON body" } } ], "body" : { "raw" : "{\n \"Subject\" : \"ccf6280a5df6\",\n \"UnsubscribeURL\" : \"92989ff4b159\",\n \"Signature\" : \"f9c868baeacb\",\n \"SignatureVersion\" : \"dd26cc41d2fb\",\n \"Timestamp\" : \"3b2b23a991ec\",\n \"Token\" : \"dc1855349393\",\n \"MessageId\" : \"4f446128343b\",\n \"SubscribeURL\" : \"169cfa92e801\",\n \"Message\" : \"5e5bc61e1a2e\",\n \"TopicArn\" : \"b39a5ea23897\",\n \"SigningCertURL\" : \"ccdafd6587b7\",\n \"Type\" : \"654e740d3933\"\n}", "mode" : "raw" } }, "body" : "\"46ca2e384054\"", "code" : 200 } ], "type" : "item" } ], "type" : "folder" } ], "event" : [ ], "variable" : [ { "key" : "BASE_URL", "value" : "http://hipchat-sns-bridge.common.giltaws.com", "type" : "string" } ] }