From 4bf3087aedf32b8bfda093b3275943beb01461fd Mon Sep 17 00:00:00 2001 From: Alexey Kondratov Date: Tue, 22 Nov 2022 21:10:49 +0100 Subject: [PATCH] [pageserver] list `latest_gc_cutoff_lsn` in the OpenAPI spec (#2894) It seems that it's present in the API response for quite a while. It's just not listed in the spec, fix it. --- pageserver/src/http/openapi_spec.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pageserver/src/http/openapi_spec.yml b/pageserver/src/http/openapi_spec.yml index 1bb5f94f4e..be046a2ad2 100644 --- a/pageserver/src/http/openapi_spec.yml +++ b/pageserver/src/http/openapi_spec.yml @@ -667,6 +667,7 @@ components: - disk_consistent_lsn - awaits_download - state + - latest_gc_cutoff_lsn properties: timeline_id: type: string @@ -711,6 +712,9 @@ components: type: boolean state: type: string + latest_gc_cutoff_lsn: + type: string + format: hex # These 'local' and 'remote' fields just duplicate some of the fields # above. They are kept for backwards-compatibility. They can be removed,