Skip to content

Commit

Permalink
Merge branch 'main' into python-3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Nov 10, 2023
2 parents e70591d + 791b236 commit 02bca7c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/guide/app-search-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,24 @@ resp = app_search.get_curation(
}
---------------

==== Update Curation

[source,python]
---------------
# Request:
app_search.put_curation(
engine_name='my-engine',
curation_id='cur-6011f5b57cef06e6c883814a',
queries=["foo", "bar"],
promoted=["doc-1", "doc-2"],
hidden=["doc-3"]
)
# Response:
{
"id": "cur-6011f5b57cef06e6c883814a"
}
---------------

==== List Curations

[source,python]
Expand Down

0 comments on commit 02bca7c

Please sign in to comment.