Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1cb3a5

Browse files
authored
fix: correct example for /extend endpoint in the documentation (#15521)
The example in the docs wrongly shows a POST to this endpoint.Signed-off-by: Aaron Lehmann <alehmann@netflix.com>
1 parentb6d0b77 commitf1cb3a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/reference/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ activity.
9494
do
9595
if pgrep -f"my_training_script.py"> /dev/null
9696
then
97-
curl -XPOST"https://coder.example.com/api/v2/workspaces/$WORKSPACE_ID/extend" \
97+
curl -XPUT"https://coder.example.com/api/v2/workspaces/$WORKSPACE_ID/extend" \
9898
-H"Coder-Session-Token:$CODER_AGENT_TOKEN" \
9999
-d'{
100100
"deadline": "2019-08-24T14:15:22Z"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp