Skip to content

Commit a3b6e73

Browse files
authored
docs: fix workspacebuilds logs api docs (#16051)
The before/after params were documented at Unix timestamps, but they are the log line ids.
1 parent 5895c37 commit a3b6e73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/workspacebuilds.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,8 @@ func (api *API) workspaceBuildParameters(rw http.ResponseWriter, r *http.Request
655655
// @Produce json
656656
// @Tags Builds
657657
// @Param workspacebuild path string true "Workspace build ID"
658-
// @Param before query int false "Before Unix timestamp"
659-
// @Param after query int false "After Unix timestamp"
658+
// @Param before query int false "Before log id"
659+
// @Param after query int false "After log id"
660660
// @Param follow query bool false "Follow log stream"
661661
// @Success 200 {array} codersdk.ProvisionerJobLog
662662
// @Router /workspacebuilds/{workspacebuild}/logs [get]

0 commit comments

Comments
 (0)