Skip to content

Commit

Permalink
Document put curation operation (#187) (#190)
Browse files Browse the repository at this point in the history
* Document put curations operation

* Use singular curation

(cherry picked from commit 31c1712)

Co-authored-by: Liam Thompson <[email protected]>
  • Loading branch information
github-actions[bot] and leemthompo authored Nov 9, 2023
1 parent 0c3e741 commit af47968
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 af47968

Please sign in to comment.