From a32e57b4a326027d6655b624782c659afe781c35 Mon Sep 17 00:00:00 2001 From: Pier-Paolo Mammi Date: Fri, 15 May 2026 15:49:22 +0200 Subject: [PATCH] add IRIS API username to env template add IRIS API Accept header --- collections/IRIS GW (Gateway) REST API (v1)/.env.template | 3 ++- .../environments/IRIS - Prod.yml | 2 +- collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/collections/IRIS GW (Gateway) REST API (v1)/.env.template b/collections/IRIS GW (Gateway) REST API (v1)/.env.template index e4b23d3..e48ad6f 100644 --- a/collections/IRIS GW (Gateway) REST API (v1)/.env.template +++ b/collections/IRIS GW (Gateway) REST API (v1)/.env.template @@ -1 +1,2 @@ -IrisApiPassword= \ No newline at end of file +IrisApiPassword= +IrisApiUsername= \ No newline at end of file diff --git a/collections/IRIS GW (Gateway) REST API (v1)/environments/IRIS - Prod.yml b/collections/IRIS GW (Gateway) REST API (v1)/environments/IRIS - Prod.yml index 401dde2..e63a503 100644 --- a/collections/IRIS GW (Gateway) REST API (v1)/environments/IRIS - Prod.yml +++ b/collections/IRIS GW (Gateway) REST API (v1)/environments/IRIS - Prod.yml @@ -4,6 +4,6 @@ variables: - name: IrisApiUrl value: https://air.unipr.it/gw/rest/api - name: IrisApiUsername - value: restentities + value: "{{process.env.IrisApiUsername}}" - name: IrisApiPassword value: "{{process.env.IrisApiPassword}}" diff --git a/collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml b/collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml index 834bc46..723d471 100644 --- a/collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml +++ b/collections/IRIS GW (Gateway) REST API (v1)/opencollection.yml @@ -15,6 +15,9 @@ config: bypassProxy: "" request: + headers: + - name: Accept + value: "*/*" auth: type: basic username: "{{IrisApiUsername}}"