coder/coderd/httpapi
Kyle Carberry 7ad87505c8
chore: move agent functions from `codersdk` into `agentsdk` (#5903)
* chore: rename `AgentConn` to `WorkspaceAgentConn`

The codersdk was becoming bloated with consts for the workspace
agent that made no sense to a reader. `Tailnet*` is an example
of these consts.

* chore: remove `Get` prefix from *Client functions

* chore: remove `BypassRatelimits` option in `codersdk.Client`

It feels wrong to have this as a direct option because it's so infrequently
needed by API callers. It's better to directly modify headers in the two
places that we actually use it.

* Merge `appearance.go` and `buildinfo.go` into `deployment.go`

* Merge `experiments.go` and `features.go` into `deployment.go`

* Fix `make gen` referencing old type names

* Merge `error.go` into `client.go`

`codersdk.Response` lived in `error.go`, which is wrong.

* chore: refactor workspace agent functions into agentsdk

It was odd conflating the codersdk that clients should use
with functions that only the agent should use. This separates
them into two SDKs that are closely coupled, but separate.

* Merge `insights.go` into `deployment.go`

* Merge `organizationmember.go` into `organizations.go`

* Merge `quota.go` into `workspaces.go`

* Rename `sse.go` to `serversentevents.go`

* Rename `codersdk.WorkspaceAppHostResponse` to `codersdk.AppHostResponse`

* Format `.vscode/settings.json`

* Fix outdated naming in `api.ts`

* Fix app host response

* Fix unsupported type

* Fix imported type
2023-01-29 15:47:24 -06:00
..
cookie.go chore: move agent functions from `codersdk` into `agentsdk` (#5903) 2023-01-29 15:47:24 -06:00
cookie_test.go feat: Implement (but not enforce) CSRF for FE requests (#3786) 2022-09-13 15:26:46 -04:00
httpapi.go feat: Add template display name (backend) (#4966) 2022-11-10 21:51:09 +01:00
httpapi_test.go feat: trace httpapi.{Read,Write} (#4134) 2022-09-21 17:07:00 -05:00
json.go chore: bump crate-ci/typos from 1.12.12 to 1.13.3 (#5304) 2022-12-06 11:50:33 +00:00
json_test.go feat: add load testing harness, coder loadtest command (#4853) 2022-11-02 18:30:00 +00:00
name.go feat: Add template display name (backend) (#4966) 2022-11-10 21:51:09 +01:00
name_test.go feat: Add template display name (backend) (#4966) 2022-11-10 21:51:09 +01:00
queryparams.go ref: move httpapi.Reponse into codersdk (#2954) 2022-07-12 19:15:02 -05:00
queryparams_test.go feat: workspace filter query supported in backend (#2232) 2022-06-14 08:46:33 -05:00
request.go feat: add panic recovery middleware (#3687) 2022-08-29 17:00:52 -05:00
url.go feat: add new required slug property to coder_app, use in URLs (#4573) 2022-10-28 17:41:31 +00:00
url_test.go feat: add new required slug property to coder_app, use in URLs (#4573) 2022-10-28 17:41:31 +00:00
websocket.go fix: Ensure WebSockets routinely transfer data (#4367) 2022-10-04 17:10:58 -05:00