From 0aad16f96989f339ff8a4df0555bfcfb42b60188 Mon Sep 17 00:00:00 2001 From: Mark Fussell Date: Mon, 22 May 2023 14:14:24 -0700 Subject: [PATCH] Update actors_api.md Adding link to between Reminder and Timers --- daprdocs/content/en/reference/api/actors_api.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/daprdocs/content/en/reference/api/actors_api.md b/daprdocs/content/en/reference/api/actors_api.md index 6a78bf985..180bea672 100644 --- a/daprdocs/content/en/reference/api/actors_api.md +++ b/daprdocs/content/en/reference/api/actors_api.md @@ -187,7 +187,7 @@ Creates a persistent reminder for an actor. POST/PUT http://localhost:/v1.0/actors///reminders/ ``` -#### Request Body +#### Reminder request body A JSON object with the following fields: @@ -351,7 +351,8 @@ Creates a timer for an actor. POST/PUT http://localhost:/v1.0/actors///timers/ ``` -Body: +#### Timer request body: +The format for the timer request body is the same as for [actor reminders]({{< ref "#reminder-request-body" >}}). For example: The following specifies a `dueTime` of 3 seconds and a period of 7 seconds. @@ -492,8 +493,6 @@ Actor settings in configuration for timeouts and intervals use [time.ParseDurati - `500ms`: A duration of 500 milliseconds - `-30m`: A negative duration of 30 minutes -This format also applies when [creating actor reminders]({{< ref "#request-body" >}}). - {{% /alert %}} ```json