From 63da9eedebae3ad31d04e65635e573194e413793 Mon Sep 17 00:00:00 2001 From: Thomas Vitale Date: Fri, 8 Aug 2025 08:47:59 +0200 Subject: [PATCH] docs: Update deployment examples to use v1 API (#308) Signed-off-by: Thomas Vitale --- docs/deployment.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 7e332f5..47600df 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -35,7 +35,7 @@ curl -X 'POST' \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -d '{ - "http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}] + "sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}] }' ``` @@ -148,7 +148,7 @@ curl -X 'POST' \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -d '{ - "http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}] + "sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}] }' ``` @@ -221,7 +221,7 @@ curl -X 'POST' \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -d '{ - "http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}] + "sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}] }' ``` @@ -258,7 +258,7 @@ curl -X 'POST' \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -d '{ - "http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}] + "sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}] }' ``` @@ -291,7 +291,7 @@ task_id=$(curl -s -X 'POST' \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -d '{ - "http_sources": [{"url": "https://arxiv.org/pdf/2501.17887"}] + "sources": [{"kind": "http", "url": "https://arxiv.org/pdf/2501.17887"}] }' \ -c cookies.txt | grep -oP '"task_id":"\K[^"]+') ```