--- http_interactions: - request: method: post uri: https://typetalk.in/oauth2/access_token body: encoding: UTF-8 string: client_id=(CLIENT_ID)&client_secret=(CLIENT_SECRET)&grant_type=client_credentials&scope=topic.read%2Ctopic.post%2Cmy headers: Accept: - application/json; charset=utf-8 User-Agent: - Typetalk Rubygem 0.0.1 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: Server: - nginx Date: - Thu, 15 May 2014 12:04:03 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '{"access_token":"(ACCESS_TOKEN)","expires_in":3600,"scope":"topic.read,topic.post,my","refresh_token":"(REFRESH_TOKEN)","token_type":"Bearer"}' http_version: recorded_at: Thu, 15 May 2014 12:04:03 GMT - request: method: post uri: https://typetalk.in/api/v1/topics/5148?access_token=(ACCESS_TOKEN) body: encoding: UTF-8 string: message=Test+Message+2+-+7 headers: Accept: - application/json; charset=utf-8 User-Agent: - Typetalk Rubygem 0.0.1 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: Server: - nginx Date: - Thu, 15 May 2014 12:04:04 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cache-Control: - no-cache Etag: - W/"2f79e364fbd9cb341389ca639fccf08e" Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '{"topic":{"name":"Test Topic 2","updatedAt":"2014-05-15T07:49:56Z","description":null,"id":5148,"lastPostedAt":"2014-05-15T12:04:04Z","createdAt":"2014-05-15T07:45:57Z","suggestion":"Test Topic 2"},"post":{"updatedAt":"2014-05-15T12:04:04Z","talks":[],"replyTo":null,"url":"https://typetalk.in/topics/5148/posts/279090","topicId":5148,"likes":[],"links":[],"id":279090,"mention":null,"createdAt":"2014-05-15T12:04:04Z","message":"Test Message 2 - 7","account":{"name":"typetalk-rubygem-tester","updatedAt":"2014-05-15T00:36:03Z","fullName":"Rubygem Tester","id":3865,"createdAt":"2014-05-14T09:09:44Z","suggestion":"Rubygem Tester","imageUrl":"https://typetalk.in/accounts/3865/profile_image.png?t=1400114163838"},"attachments":[]}}' http_version: recorded_at: Thu, 15 May 2014 12:04:04 GMT - request: method: get uri: https://typetalk.in/api/v1/topics/5148/posts/279090?access_token=(ACCESS_TOKEN) body: encoding: US-ASCII string: '' headers: Accept: - application/json; charset=utf-8 User-Agent: - Typetalk Rubygem 0.0.1 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: Server: - nginx Date: - Thu, 15 May 2014 12:04:04 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cache-Control: - no-cache Etag: - W/"5e1b0e16b8c79d867342c369088b64a4" Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '{"team":{"name":"Test Team 2","updatedAt":"2014-05-15T07:45:57Z","description":null,"id":1035,"createdAt":"2014-05-15T07:45:57Z","imageUrl":"https://typetalk.in/teams/1035/image.png?t=1400139957890"},"topic":{"name":"Test Topic 2","updatedAt":"2014-05-15T07:49:56Z","description":null,"id":5148,"lastPostedAt":"2014-05-15T12:04:04Z","createdAt":"2014-05-15T07:45:57Z","suggestion":"Test Topic 2"},"post":{"updatedAt":"2014-05-15T12:04:04Z","talks":[],"replyTo":null,"url":"https://typetalk.in/topics/5148/posts/279090","topicId":5148,"likes":[],"links":[],"id":279090,"mention":null,"createdAt":"2014-05-15T12:04:04Z","message":"Test Message 2 - 7","account":{"name":"typetalk-rubygem-tester","updatedAt":"2014-05-15T00:36:03Z","fullName":"Rubygem Tester","id":3865,"createdAt":"2014-05-14T09:09:44Z","suggestion":"Rubygem Tester","imageUrl":"https://typetalk.in/accounts/3865/profile_image.png?t=1400114163838"},"attachments":[]},"replies":[]}' http_version: recorded_at: Thu, 15 May 2014 12:04:05 GMT - request: method: delete uri: https://typetalk.in/api/v1/topics/5148/posts/279090?access_token=(ACCESS_TOKEN) body: encoding: US-ASCII string: '' headers: Accept: - application/json; charset=utf-8 User-Agent: - Typetalk Rubygem 0.0.1 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 200 message: OK headers: Server: - nginx Date: - Thu, 15 May 2014 12:04:05 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '2' Connection: - keep-alive Cache-Control: - no-cache Etag: - W/"9d4568c009d203ab10e33ea9953a0264" Strict-Transport-Security: - max-age=2592000 body: encoding: UTF-8 string: '""' http_version: recorded_at: Thu, 15 May 2014 12:04:05 GMT - request: method: get uri: https://typetalk.in/api/v1/topics/5148/posts/279090?access_token=(ACCESS_TOKEN) body: encoding: US-ASCII string: '' headers: Accept: - application/json; charset=utf-8 User-Agent: - Typetalk Rubygem 0.0.1 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 response: status: code: 404 message: Not Found headers: Server: - nginx Date: - Thu, 15 May 2014 12:04:06 GMT Content-Length: - '0' Connection: - keep-alive body: encoding: UTF-8 string: '' http_version: recorded_at: Thu, 15 May 2014 12:04:06 GMT recorded_with: VCR 2.9.0