Skip to content

Commit b1b1ce2

Browse files
committed
docs: Update example request in codespaces documentation
1 parent a5aa5cf commit b1b1ce2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/docs/cloud/codespaces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ curl -X POST https://ext.own3d.pro/v1/codespaces/ai \
162162
-H "Content-Type: application/json" \
163163
-d '{
164164
"name": "My Awesome Extension",
165-
"repository_url": "https://github.com/user/repo.git",
165+
"initial_prompt": "Create a widget that displays the latest follower. The text colour should be changeable.",
166166
"user_id": "12345", // will be removed in final release
167167
"password": "your_password" // will be remove in final release
168168
}'
@@ -187,7 +187,7 @@ Creates a new extension with a codespace from a Git repository.
187187
#### Example Request
188188

189189
```bash
190-
curl -X POST https://ext.own3d.pro/v1/codespaces/ai \
190+
curl -X POST https://ext.own3d.pro/v1/codespaces \
191191
-H "Authorization: Bearer <YOUR_TOKEN>" \
192192
-H "Content-Type: application/json" \
193193
-d '{

0 commit comments

Comments
 (0)