{"action":"created","issue":{"url":"https://api.github.com/repos/basecamp/bc3-api/issues/204","repository_url":"https://api.github.com/repos/basecamp/bc3-api","labels_url":"https://api.github.com/repos/basecamp/bc3-api/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/basecamp/bc3-api/issues/204/comments","events_url":"https://api.github.com/repos/basecamp/bc3-api/issues/204/events","html_url":"https://github.com/basecamp/bc3-api/issues/204","id":395781802,"node_id":"MDU6SXNzdWUzOTU3ODE4MDI=","number":204,"title":"Schedule entries with repetition set aren’t available in the API","user":{"login":"ticky","id":282113,"node_id":"MDQ6VXNlcjI4MjExMw==","avatar_url":"https://avatars2.githubusercontent.com/u/282113?v=4","gravatar_id":"","url":"https://api.github.com/users/ticky","html_url":"https://github.com/ticky","followers_url":"https://api.github.com/users/ticky/followers","following_url":"https://api.github.com/users/ticky/following{/other_user}","gists_url":"https://api.github.com/users/ticky/gists{/gist_id}","starred_url":"https://api.github.com/users/ticky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ticky/subscriptions","organizations_url":"https://api.github.com/users/ticky/orgs","repos_url":"https://api.github.com/users/ticky/repos","events_url":"https://api.github.com/users/ticky/events{/privacy}","received_events_url":"https://api.github.com/users/ticky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-04T01:28:19Z","updated_at":"2019-01-04T07:51:20Z","closed_at":null,"author_association":"NONE","body":"When requesting a schedule entry which has repetition set, the Basecamp API returns an `HTTP/1.1 302 Found` with the `Location` header set to an occurrence of the event, with an HTML body:\r\n\r\n```http\r\nHTTP/1.1 302 Found\r\nServer: nginx\r\nDate: Fri, 04 Jan 2019 01:21:12 GMT\r\nContent-Type: text/html; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Frame-Options: SAMEORIGIN\r\nX-XSS-Protection: 1; mode=block\r\nX-Content-Type-Options: nosniff\r\nX-Download-Options: noopen\r\nX-Permitted-Cross-Domain-Policies: none\r\nReferrer-Policy: strict-origin-when-cross-origin\r\nAccept-CH: DPR,Width,Viewport-Width,Downlink,Save-Data\r\nPublic-Key-Pins-Report-Only: max-age=3600; includeSubdomains; pin-sha256=\"6X0iNAQtPIjXKEVcqZBwyMcRwq1yW60549axatu3oDE=\"; pin-sha256=\"Uu5hqMmQleSn68vgjrmAQIz2tFLJ3ra/RLK7zEgYYms=\"; pin-sha256=\"Slt48iBVTjuRQJTjbzopminRrHSGtndY0/sj0lFf9Qk=\"; pin-sha256=\"LCa0a2j/xo/5m0U8HTBBNBNCLXBkg7+g+YpeiGJm564=\"; report-uri=\"https://zapier.com/hooks/catch/3b7uh7/\"\r\nX-Robots-Tag: noindex\r\nLocation: https://3.basecampapi.com/[redacted]/buckets/[redacted]/schedule_entries/[redacted]/occurrences/20181128\r\nX-Release: fdebb5ac0e109220fded10b864d3038a85ad9748\r\nSet-Cookie: X-Release=fdebb5ac0e109220fded10b864d3038a85ad9748; expires=Fri, 04 Jan 2019 01:21:22 -0000; secure\r\nCache-Control: no-cache\r\nX-Ratelimit: {\"name\":\"API\",\"period\":10,\"limit\":50,\"remaining\":49,\"until\":\"2019-01-04T01:21:20Z\"}\r\nX-Request-Id: 50f966aa-c1ef-4cda-85ba-1e921f432efb\r\nX-Runtime: 0.054910\r\nStrict-Transport-Security: max-age=15552000; includeSubDomains; preload\r\nX-Queue-Time: 0.0010266304016113281\r\nTiming-Allow-Origin: *\r\nVary: Accept-Encoding\r\n\r\n<html><body>You are being <a href=\"https://3.basecampapi.com/[redacted]/buckets/[redacted]/schedule_entries/[redacted]/occurrences/20181128\">redirected</a>.</body></html>\r\n```\r\n\r\nFollowing said redirect gives the following response:\r\n\r\n```http\r\nHTTP/1.1 204 No Content\r\nServer: nginx\r\nDate: Fri, 04 Jan 2019 01:25:39 GMT\r\nConnection: keep-alive\r\nX-Frame-Options: SAMEORIGIN\r\nX-XSS-Protection: 1; mode=block\r\nX-Content-Type-Options: nosniff\r\nX-Download-Options: noopen\r\nX-Permitted-Cross-Domain-Policies: none\r\nReferrer-Policy: strict-origin-when-cross-origin\r\nAccept-CH: DPR,Width,Viewport-Width,Downlink,Save-Data\r\nPublic-Key-Pins-Report-Only: max-age=3600; includeSubdomains; pin-sha256=\"6X0iNAQtPIjXKEVcqZBwyMcRwq1yW60549axatu3oDE=\"; pin-sha256=\"Uu5hqMmQleSn68vgjrmAQIz2tFLJ3ra/RLK7zEgYYms=\"; pin-sha256=\"Slt48iBVTjuRQJTjbzopminRrHSGtndY0/sj0lFf9Qk=\"; pin-sha256=\"LCa0a2j/xo/5m0U8HTBBNBNCLXBkg7+g+YpeiGJm564=\"; report-uri=\"https://zapier.com/hooks/catch/3b7uh7/\"\r\nX-Robots-Tag: noindex\r\nETag: W/\"b77b81bd0c1b751ec42ec42ea71bbbc0\"\r\nCache-Control: max-age=0, private, must-revalidate\r\nX-Release: fdebb5ac0e109220fded10b864d3038a85ad9748\r\nX-Ratelimit: {\"name\":\"API\",\"period\":10,\"limit\":50,\"remaining\":49,\"until\":\"2019-01-04T01:25:40Z\"}\r\nX-Request-Id: 24ccf50a-4874-4725-b388-31cc3859bf92\r\nX-Runtime: 0.106909\r\nStrict-Transport-Security: max-age=15552000; includeSubDomains; preload\r\nX-Queue-Time: 0.0009734630584716797\r\nTiming-Allow-Origin: *\r\n\r\n\r\n```\r\n\r\nGiven this, it appears that it is currently completely impossible to retrieve a schedule entry by ID if it has repetitions set?"},"comment":{"url":"https://api.github.com/repos/basecamp/bc3-api/issues/comments/451373768","html_url":"https://github.com/basecamp/bc3-api/issues/204#issuecomment-451373768","issue_url":"https://api.github.com/repos/basecamp/bc3-api/issues/204","id":451373768,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTM3Mzc2OA==","user":{"login":"rosa","id":813033,"node_id":"MDQ6VXNlcjgxMzAzMw==","avatar_url":"https://avatars1.githubusercontent.com/u/813033?v=4","gravatar_id":"","url":"https://api.github.com/users/rosa","html_url":"https://github.com/rosa","followers_url":"https://api.github.com/users/rosa/followers","following_url":"https://api.github.com/users/rosa/following{/other_user}","gists_url":"https://api.github.com/users/rosa/gists{/gist_id}","starred_url":"https://api.github.com/users/rosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosa/subscriptions","organizations_url":"https://api.github.com/users/rosa/orgs","repos_url":"https://api.github.com/users/rosa/repos","events_url":"https://api.github.com/users/rosa/events{/privacy}","received_events_url":"https://api.github.com/users/rosa/received_events","type":"User","site_admin":false},"created_at":"2019-01-04T07:51:20Z","updated_at":"2019-01-04T07:51:20Z","author_association":"MEMBER","body":"Thanks for looking into this, @ticky! This sounds like a bug, yeah, we'll look into it. "}}
{"actor":{"display_login":"rosa"}}