Skip to content

Commit

Permalink
[DOCS] Add stub for find case activity API (#152041)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored Feb 28, 2023
1 parent 391220a commit 1607f81
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/api/cases.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ these APIs:
* <<cases-api-create>>
* <<cases-api-delete-cases>>
* <<cases-api-delete-comments>>
* <<cases-api-find-case-activity>>
* <<cases-api-find-cases>>
* <<cases-api-find-connectors>>
* <<cases-api-get-alerts>>
Expand All @@ -33,6 +34,7 @@ include::cases/cases-api-create.asciidoc[leveloffset=+1]
include::cases/cases-api-delete-cases.asciidoc[leveloffset=+1]
include::cases/cases-api-delete-comments.asciidoc[leveloffset=+1]
//FIND
include::cases/cases-api-find-case-activity.asciidoc[leveloffset=+1]
include::cases/cases-api-find-cases.asciidoc[leveloffset=+1]
include::cases/cases-api-find-connectors.asciidoc[leveloffset=+1]
//GET
Expand Down
20 changes: 20 additions & 0 deletions docs/api/cases/cases-api-find-case-activity.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[[cases-api-find-case-activity]]
== Find case activity API
++++
<titleabbrev>Find case activity</titleabbrev>
++++

Finds user activity for a case.

[NOTE]
====
For the most up-to-date API details, refer to the
{kib-repo}/tree/{branch}/x-pack/plugins/cases/docs/openapi[open API specification]. For a preview, check out <<case-apis>>.
====

=== {api-request-title}

`GET <kibana host>:<port>/api/cases/<case_id>/user_actions/_find`

`GET <kibana host>:<port>/s/<space_id>/api/cases/<case_id>/user_actions/_find`

2 changes: 1 addition & 1 deletion docs/api/cases/cases-api-get-case-activity.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Returns all user activity for a case.

deprecated::[8.1.0]
deprecated::[8.1.0,Use <<cases-api-find-case-activity>> instead.]

[NOTE]
====
Expand Down

0 comments on commit 1607f81

Please sign in to comment.