- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
Background
We are in the process of consolidating/refactoring the API calls the Coder Agent makes into a new Agent API. This API will be versioned separately from the main Coder Product version and consist of a major and minor version (no patch).
The existing combination of REST calls and websockets is now defined as Agent API version 1.0.
Feature
- Define a new column in the
workspace_agents
table, calledapi_version
to track the API version of the agent when it connects. - Populate the API version in the same code-path as we populate the
version
column. For now we can hard-code1.0
as the version. - API calls that fetch the Agent should return the
api_version
.
Metadata
Metadata
Assignees
Labels
No labels