From f3f1fab7560b8c2558398abec3ff6b92c818772b Mon Sep 17 00:00:00 2001 From: John van Breda Date: Tue, 21 Sep 2021 12:26:23 +0100 Subject: [PATCH] Deprecation annotations --- modules/rest_api/controllers/services/rest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/rest_api/controllers/services/rest.php b/modules/rest_api/controllers/services/rest.php index 5445fcc071..f5b29442c9 100644 --- a/modules/rest_api/controllers/services/rest.php +++ b/modules/rest_api/controllers/services/rest.php @@ -1078,6 +1078,11 @@ private function projectsGet() { * * Outputs a single taxon observations's details. * + * @deprecated + * Deprecated in version 6.3 and may be removed in future. Use the + * sync-taxon-observations end-point provided by the rest_api_sync module + * instead. + * * @param string $id * Unique ID for the taxon-observations to output. */ @@ -1116,6 +1121,11 @@ private function taxonObservationsGetId($id) { * * Outputs a list of taxon observation details. * + * @deprecated + * Deprecated in version 6.3 and may be removed in future. Use the + * sync-taxon-observations end-point provided by the rest_api_sync module + * instead. + * * @todo Ensure delete information is output. */ private function taxonObservationsGet() {