Skip to content

Commit 63da9ee

Browse files
authored
docs: Update deployment examples to use v1 API (#308)
Signed-off-by: Thomas Vitale <ThomasVitale@users.noreply.github.com>
1 parent b15dc25 commit 63da9ee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/deployment.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ curl -X 'POST' \
3535
-H "accept: application/json" \
3636
-H "Content-Type: application/json" \
3737
-d '{
38-
"http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}]
38+
"sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}]
3939
}'
4040
```
4141

@@ -148,7 +148,7 @@ curl -X 'POST' \
148148
-H "accept: application/json" \
149149
-H "Content-Type: application/json" \
150150
-d '{
151-
"http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}]
151+
"sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}]
152152
}'
153153
```
154154

@@ -221,7 +221,7 @@ curl -X 'POST' \
221221
-H "accept: application/json" \
222222
-H "Content-Type: application/json" \
223223
-d '{
224-
"http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}]
224+
"sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}]
225225
}'
226226
```
227227

@@ -258,7 +258,7 @@ curl -X 'POST' \
258258
-H "accept: application/json" \
259259
-H "Content-Type: application/json" \
260260
-d '{
261-
"http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}]
261+
"sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}]
262262
}'
263263
```
264264

@@ -291,7 +291,7 @@ task_id=$(curl -s -X 'POST' \
291291
-H "accept: application/json" \
292292
-H "Content-Type: application/json" \
293293
-d '{
294-
"http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}]
294+
"sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}]
295295
}' \
296296
-c cookies.txt | grep -oP '"task_id":"\K[^"]+')
297297
```

0 commit comments

Comments
 (0)