{ "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" : "0.0.1-dev" }, "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\" : \"d9873e25be2f\",\n \"url\" : \"3fd849dd4f04\"\n },\n \"hipchatApiConsumer\" : {\n \"scopes\" : [ \"send_message\" ],\n \"fromName\" : \"7baf111cea55\"\n },\n \"installable\" : {\n \"callbackUrl\" : \"56c3a88f69f4\",\n \"installedUrl\" : \"6df96109d191\",\n \"allowGlobal\" : true,\n \"allowRoom\" : true\n },\n \"oauth2Provider\" : {\n \"tokenUrl\" : \"1988ae3a3f76\",\n \"authorizationUrl\" : \"c14990a4f4f9\"\n }\n },\n \"name\" : \"c252ece3c2ce\",\n \"description\" : \"fcf68db3e34a\",\n \"key\" : \"3f2f9199f1b6\",\n \"links\" : {\n \"homepage\" : \"9e6d99e7693b\",\n \"api\" : \"d0a25484d006\",\n \"self\" : \"c765a6d339d8\"\n },\n \"apiVersion\" : \"839fcec955cf\",\n \"vendor\" : {\n \"name\" : \"9660c13713f9\",\n \"url\" : \"81344a65ebe6\"\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\" : \"a7337f190822\",\n \"url\" : \"accc7680f221\"\n },\n \"hipchatApiConsumer\" : {\n \"scopes\" : [ \"send_message\" ],\n \"fromName\" : \"4e3f24613b5e\"\n },\n \"installable\" : {\n \"callbackUrl\" : \"75887b070b08\",\n \"installedUrl\" : \"b7539f51c4a8\",\n \"allowGlobal\" : true,\n \"allowRoom\" : true\n },\n \"oauth2Provider\" : {\n \"tokenUrl\" : \"da2a75de223e\",\n \"authorizationUrl\" : \"f722209cd988\"\n }\n },\n \"name\" : \"495912abb6e4\",\n \"description\" : \"327555d01cb9\",\n \"key\" : \"0cc0cae8ec47\",\n \"links\" : {\n \"homepage\" : \"ba09758cd6b0\",\n \"api\" : \"30bc7539cebd\",\n \"self\" : \"8c62283a8179\"\n },\n \"apiVersion\" : \"20fb953db199\",\n \"vendor\" : {\n \"name\" : \"964d47f95227\",\n \"url\" : \"b7eabbc239d2\"\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\" : \"ee289363536e\",\n \"oauthSecret\" : \"ad0c74e0bbc2\",\n \"oauthId\" : \"e825932997cd\",\n \"groupId\" : 1,\n \"capabilitiesUrl\" : \"f4d943feb025\"\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\" : \"ee289363536e\",\n \"oauthSecret\" : \"ad0c74e0bbc2\",\n \"oauthId\" : \"e825932997cd\",\n \"groupId\" : 1,\n \"capabilitiesUrl\" : \"f4d943feb025\"\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\" : \"0c946bc03458\",\n \"scala_version\" : \"45228aa2410b\",\n \"version\" : \"2595e1856b55\",\n \"sbt_version\" : \"10c6c294f4f5\",\n \"build_time\" : \"2026-11-07T18:55:35.404Z\"\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\" : \"86eb7f8e41ac\",\n \"UnsubscribeURL\" : \"1b5b1269df74\",\n \"Signature\" : \"536530da2ffc\",\n \"SignatureVersion\" : \"8c6330adc68d\",\n \"Timestamp\" : \"22207bb725f5\",\n \"Token\" : \"d43d3f294a2f\",\n \"MessageId\" : \"b4007d35d829\",\n \"SubscribeURL\" : \"0cdfeb3c997c\",\n \"Message\" : \"8c4be72f21cf\",\n \"TopicArn\" : \"1a174aadc394\",\n \"SigningCertURL\" : \"590894986481\",\n \"Type\" : \"dc46af648309\"\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\" : \"86eb7f8e41ac\",\n \"UnsubscribeURL\" : \"1b5b1269df74\",\n \"Signature\" : \"536530da2ffc\",\n \"SignatureVersion\" : \"8c6330adc68d\",\n \"Timestamp\" : \"22207bb725f5\",\n \"Token\" : \"d43d3f294a2f\",\n \"MessageId\" : \"b4007d35d829\",\n \"SubscribeURL\" : \"0cdfeb3c997c\",\n \"Message\" : \"8c4be72f21cf\",\n \"TopicArn\" : \"1a174aadc394\",\n \"SigningCertURL\" : \"590894986481\",\n \"Type\" : \"dc46af648309\"\n}", "mode" : "raw" } }, "body" : "\"39f27b663abc\"", "code" : 200 } ], "type" : "item" } ], "type" : "folder" } ], "event" : [ ], "variable" : [ { "key" : "BASE_URL", "value" : "http://hipchat-sns-bridge.common.giltaws.com", "type" : "string" } ] }