Title: API/SDK auto-stop extension · Issue #1462 · coder/coder · GitHub
Open Graph Title: API/SDK auto-stop extension · Issue #1462 · coder/coder
X Title: API/SDK auto-stop extension · Issue #1462 · coder/coder
Description: User Story 👥 As a user or agent, I'd like to use the API to extend a workspace lease. Details We may expose an extension path that looks something like: /api/v2/workspaces/{workspace}/ttl/extend with a body like { time: *time.Duration } ...
Open Graph Description: User Story 👥 As a user or agent, I'd like to use the API to extend a workspace lease. Details We may expose an extension path that looks something like: /api/v2/workspaces/{workspace}/ttl/extend wi...
X Description: User Story 👥 As a user or agent, I'd like to use the API to extend a workspace lease. Details We may expose an extension path that looks something like: /api/v2/workspaces/{workspace}/ttl/exten...
Opengraph URL: https://github.com/coder/coder/issues/1462
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"API/SDK auto-stop extension","articleBody":"## User Story 👥 \r\n\r\nAs a user or agent, I'd like to use the API to extend a workspace lease.\r\n\r\n\r\n### Details\r\n\r\nWe may expose an extension path that looks something like:\r\n\r\n```\r\n/api/v2/workspaces/{workspace}/ttl/extend\r\n```\r\n\r\nwith a body like\r\n\r\n```\r\n{\r\n time: *time.Duration\r\n}\r\n```\r\n\r\nIf `time` is not supplied, we default to `90 mins`. We should set an upper bound on `time`. TBD what that upper bound is, but at least two approaches are:\r\n\r\n1. A hard-set upper bound (example 24 hours)\r\n2. The difference between NOW and the next scheduled start time\r\n\r\n## Acceptance Criteria\r\n\r\n- An API/SDK call that extends a lease","author":{"url":"https://github.com/greyscaled","@type":"Person","name":"greyscaled"},"datePublished":"2022-05-14T20:04:05Z","url":"https://github.com/coder/coder/issues/1462"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b9d7b22b-fed3-51de-0cfb-949e9f4e72d7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD48:7A60E:1D63234:25A941C:6B01543E |
| html-safe-nonce | cb694830abd28408674ddb1b8806bc33758a8cbe22efb219c40256d95f001bcf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDQ4OjdBNjBFOjFENjMyMzQ6MjVBOTQxQzo2QjAxNTQzRSIsInZpc2l0b3JfaWQiOiI1Njg4MTA5NTAxNTQzMTc1MjMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 50c8350024f31f3f76e51cc4302685b65d72e879bad486281a05ffdc0da6659f |
| hovercard-subject-tag | issue:1236110868 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/1462/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d8d1118e75f5b6f98716d43fe3ecefb0a9aa92a688362223d007508827acb49/coder/coder/issues/1462 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d8d1118e75f5b6f98716d43fe3ecefb0a9aa92a688362223d007508827acb49/coder/coder/issues/1462 |
| og:image:alt | User Story 👥 As a user or agent, I'd like to use the API to extend a workspace lease. Details We may expose an extension path that looks something like: /api/v2/workspaces/{workspace}/ttl/extend wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | greyscaled |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width