From 7c0eb7bf8b5447dfdbd17cade2486b9bdfc6efd0 Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Thu, 9 Feb 2023 17:05:06 -0800 Subject: [PATCH] Document new offline support labels --- docs/tutorials/add-route.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/tutorials/add-route.md b/docs/tutorials/add-route.md index a334f1808..d7ae85978 100644 --- a/docs/tutorials/add-route.md +++ b/docs/tutorials/add-route.md @@ -77,8 +77,11 @@ App::post('/v1/account/create') * sdk.namespace - Refers to the route namespace. * sdk.method - Refers to the sdk method that needs to called. * sdk.description - Description of the route, using markdown format. -* sdk.sdk.response.code - Refers to the route http response status code expected. +* sdk.response.code - Refers to the route http response status code expected. * sdk.auth.response.model - Refers the route http response expected. +* sdk.offline.model - Refers to the local collection where offline data should be stored. No value indicates the data will not be cached +* sdk.offline.key - Refers to the ID of the local data +* sdk.offline.response.key - JSON property name that has the ID. Defaults to $id ```php App::post('/v1/account/jwt')