From 8d1f3edbdd92bcd477fb7e9fdd77ee47ed51abcb Mon Sep 17 00:00:00 2001 From: Colleen Xu Date: Fri, 3 May 2024 11:44:01 -0700 Subject: [PATCH 1/3] fix: change CHP back to old registration for now --- config/api_list.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/api_list.yaml b/config/api_list.yaml index 51a3ad3..c60c040 100644 --- a/config/api_list.yaml +++ b/config/api_list.yaml @@ -145,6 +145,6 @@ include: name: COHD TRAPI # TRAPI (Translator standard) APIs: CHP # not accessible by team or api-specific endpoints - - id: 412af63e15b73e5a30778aac84ce313f + - id: 23f770568b92b7a82063989b3ddd9706 name: Connections Hypothesis Provider API exclude: [] # if adding exclude remove these square brackets From 6b60ada47e4972f4540289426dffcdbd87596f22 Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Wed, 15 May 2024 15:09:10 -0400 Subject: [PATCH 2/3] fix: re-enable dryrun (still supported) --- docs/smartapi.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/smartapi.yaml b/docs/smartapi.yaml index d621624..2926727 100644 --- a/docs/smartapi.yaml +++ b/docs/smartapi.yaml @@ -134,14 +134,13 @@ paths: tags: - query summary: Initiate a TRAPI-format query to BTE (operating as an ARA) and wait to receive a Response - ## old feature: not sure if it still works - # parameters: - # - description: dryrun a query (logs the queries BTE will make) - # in: query - # name: dryrun - # required: false - # schema: - # type: boolean + parameters: + - description: dryrun a query (logs the queries BTE will make) + in: query + name: dryrun + required: false + schema: + type: boolean requestBody: description: Query information to be submitted required: true From dd3eb200d5e1caa6e54d0d0e5a0493f305ce8c2b Mon Sep 17 00:00:00 2001 From: tokebe <43009413+tokebe@users.noreply.github.com> Date: Wed, 15 May 2024 15:16:17 -0400 Subject: [PATCH 3/3] fix: re-enable legacy caching query option (still supported) --- docs/smartapi.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/smartapi.yaml b/docs/smartapi.yaml index 2926727..7576c74 100644 --- a/docs/smartapi.yaml +++ b/docs/smartapi.yaml @@ -135,7 +135,13 @@ paths: - query summary: Initiate a TRAPI-format query to BTE (operating as an ARA) and wait to receive a Response parameters: - - description: dryrun a query (logs the queries BTE will make) + - description: Legacy option to explicitly enable/disable caching. + in: query + name: caching + required: false + schema: + type: boolean + - description: Dryrun a query (logs the queries BTE would make without running them) in: query name: dryrun required: false