From 7200b1b22e283b06714f8fab9246de71cbf6c32e Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Mon, 5 Aug 2024 16:54:45 -0700 Subject: [PATCH 01/22] Some more additions --- src/pages/credentials/GetCredentialOAuth2.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index b8dceb7b..04a1d9a5 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -26,9 +26,7 @@ const GetCredentialOAuthS2s = () => { OAuth server-to-server credential

- This credential allows you to use industry standard OAuth2.0 - libraries to generate access tokens using the OAuth 2.0 client - credentials grant type. + This credential allows you to use industry standard OAuth2.0 libraries to generate access tokens using the OAuth 2.0 client credentials grant type.

@@ -114,8 +112,8 @@ const GetCredentialOAuthS2s = () => { - - + + From ca61d2879e8c90ad8e4c6a1946094014f98f50d7 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Mon, 5 Aug 2024 17:08:40 -0700 Subject: [PATCH 02/22] Remove some excesss? --- src/pages/credentials/GetCredentialOAuth2.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 04a1d9a5..85a8cb83 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -131,8 +131,6 @@ const GetCredentialOAuthS2s = () => { - - {
- - - ) From 035ead2fb9d527ab985b31e8b8813f73fc591683 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Mon, 9 Sep 2024 16:01:37 -0700 Subject: [PATCH 03/22] Stage wants the get creds --- src/pages/references/access-control.md | 2 ++ src/pages/references/audit-query.md | 2 ++ src/pages/references/batch-ingestion.md | 2 ++ src/pages/references/catalog.md | 2 ++ src/pages/references/data-access.md | 2 ++ src/pages/references/data-hygiene.md | 2 ++ src/pages/references/data-prep.md | 2 ++ src/pages/references/dataset-service.md | 2 ++ src/pages/references/destination-authoring.md | 2 ++ src/pages/references/destinations.md | 2 ++ src/pages/references/flow-service.md | 2 ++ src/pages/references/identity-service.md | 2 ++ src/pages/references/mtls-service.md | 2 ++ src/pages/references/observability-insights.md | 2 ++ src/pages/references/policy-service.md | 2 ++ src/pages/references/privacy-service.md | 2 ++ src/pages/references/profile.md | 2 ++ src/pages/references/query-service.md | 2 ++ src/pages/references/reactor.md | 2 ++ src/pages/references/sandbox.md | 2 ++ src/pages/references/schema-registry.md | 2 ++ src/pages/references/segmentation.md | 2 ++ src/pages/references/sensei-machine-learning.md | 2 ++ src/pages/references/streaming-ingestion.md | 2 ++ src/pages/references/unified-tags.md | 2 ++ 25 files changed, 50 insertions(+) diff --git a/src/pages/references/access-control.md b/src/pages/references/access-control.md index 90c3075f..f086fc60 100644 --- a/src/pages/references/access-control.md +++ b/src/pages/references/access-control.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/audit-query.md b/src/pages/references/audit-query.md index 4e421476..89263658 100644 --- a/src/pages/references/audit-query.md +++ b/src/pages/references/audit-query.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/batch-ingestion.md b/src/pages/references/batch-ingestion.md index b0f1d751..11075cf5 100644 --- a/src/pages/references/batch-ingestion.md +++ b/src/pages/references/batch-ingestion.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/catalog.md b/src/pages/references/catalog.md index 36871728..24dc7c40 100644 --- a/src/pages/references/catalog.md +++ b/src/pages/references/catalog.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/data-access.md b/src/pages/references/data-access.md index 9121d6a8..d5be6ede 100644 --- a/src/pages/references/data-access.md +++ b/src/pages/references/data-access.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/data-hygiene.md b/src/pages/references/data-hygiene.md index d1e309d4..9e3a0b9d 100644 --- a/src/pages/references/data-hygiene.md +++ b/src/pages/references/data-hygiene.md @@ -12,4 +12,6 @@ import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/data-prep.md b/src/pages/references/data-prep.md index 831d6b4a..f2d404f4 100644 --- a/src/pages/references/data-prep.md +++ b/src/pages/references/data-prep.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/dataset-service.md b/src/pages/references/dataset-service.md index 7e25710f..67508996 100644 --- a/src/pages/references/dataset-service.md +++ b/src/pages/references/dataset-service.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/destination-authoring.md b/src/pages/references/destination-authoring.md index 9895b38e..a4926c14 100644 --- a/src/pages/references/destination-authoring.md +++ b/src/pages/references/destination-authoring.md @@ -6,4 +6,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/destinations.md b/src/pages/references/destinations.md index 30017fc6..836381c9 100644 --- a/src/pages/references/destinations.md +++ b/src/pages/references/destinations.md @@ -6,4 +6,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/flow-service.md b/src/pages/references/flow-service.md index 20016284..395fdc2f 100644 --- a/src/pages/references/flow-service.md +++ b/src/pages/references/flow-service.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/identity-service.md b/src/pages/references/identity-service.md index 2fac6b10..10d90762 100644 --- a/src/pages/references/identity-service.md +++ b/src/pages/references/identity-service.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/mtls-service.md b/src/pages/references/mtls-service.md index 5454d923..39398466 100644 --- a/src/pages/references/mtls-service.md +++ b/src/pages/references/mtls-service.md @@ -12,4 +12,6 @@ import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/observability-insights.md b/src/pages/references/observability-insights.md index a5ff6351..f182a0a2 100644 --- a/src/pages/references/observability-insights.md +++ b/src/pages/references/observability-insights.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/policy-service.md b/src/pages/references/policy-service.md index b280eb34..cf12aecd 100644 --- a/src/pages/references/policy-service.md +++ b/src/pages/references/policy-service.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/privacy-service.md b/src/pages/references/privacy-service.md index 3ebd9086..863fa750 100644 --- a/src/pages/references/privacy-service.md +++ b/src/pages/references/privacy-service.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/profile.md b/src/pages/references/profile.md index 073df61a..c8523bdc 100644 --- a/src/pages/references/profile.md +++ b/src/pages/references/profile.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/query-service.md b/src/pages/references/query-service.md index cba647af..b694820d 100644 --- a/src/pages/references/query-service.md +++ b/src/pages/references/query-service.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/reactor.md b/src/pages/references/reactor.md index de19e061..e2cdb69a 100644 --- a/src/pages/references/reactor.md +++ b/src/pages/references/reactor.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/sandbox.md b/src/pages/references/sandbox.md index c126036a..9e7d5b41 100644 --- a/src/pages/references/sandbox.md +++ b/src/pages/references/sandbox.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/schema-registry.md b/src/pages/references/schema-registry.md index 585d4735..eed99c5c 100644 --- a/src/pages/references/schema-registry.md +++ b/src/pages/references/schema-registry.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/segmentation.md b/src/pages/references/segmentation.md index f28f5ed1..421138ad 100644 --- a/src/pages/references/segmentation.md +++ b/src/pages/references/segmentation.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/sensei-machine-learning.md b/src/pages/references/sensei-machine-learning.md index ed89d16f..31548d6a 100644 --- a/src/pages/references/sensei-machine-learning.md +++ b/src/pages/references/sensei-machine-learning.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/streaming-ingestion.md b/src/pages/references/streaming-ingestion.md index 0a113dea..5046d1d4 100644 --- a/src/pages/references/streaming-ingestion.md +++ b/src/pages/references/streaming-ingestion.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + diff --git a/src/pages/references/unified-tags.md b/src/pages/references/unified-tags.md index 2add560a..6166626b 100644 --- a/src/pages/references/unified-tags.md +++ b/src/pages/references/unified-tags.md @@ -10,4 +10,6 @@ layout: none import GetCredentialsOauth2 from "../credentials/GetCredentialOAuth2.js" + + From 9b1ef748e71c444a034ffe1ccecae80121ee5a45 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Mon, 9 Sep 2024 16:04:32 -0700 Subject: [PATCH 04/22] Add IMS Org ID --- src/pages/credentials/GetCredentialOAuth2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 85a8cb83..d831365c 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -92,8 +92,9 @@ const GetCredentialOAuthS2s = () => { - + + From d7a1169b2430103ee952a5083535dd55f8dfbb63 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Mon, 9 Sep 2024 16:52:40 -0700 Subject: [PATCH 05/22] I can't test locally so testing on stage --- src/pages/credentials/GetCredentialOAuth2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index d831365c..43a5f125 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -93,7 +93,7 @@ const GetCredentialOAuthS2s = () => { - + From 69680a95d6471fef8c6ae3270a62533b80695d00 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Mon, 9 Sep 2024 16:56:18 -0700 Subject: [PATCH 06/22] One more place to add --- src/pages/credentials/GetCredentialOAuth2.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 43a5f125..b8ac47dc 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -92,7 +92,7 @@ const GetCredentialOAuthS2s = () => { - + @@ -115,6 +115,7 @@ const GetCredentialOAuthS2s = () => { + From c79d556ea92fb579aa8a2646212937d7732125d1 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Mon, 9 Sep 2024 17:07:45 -0700 Subject: [PATCH 07/22] Another fix --- src/pages/credentials/GetCredentialOAuth2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index b8ac47dc..97b6f750 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -115,7 +115,7 @@ const GetCredentialOAuthS2s = () => { - + From b7ce40ef39242e25264b4bd723f779fac1906949 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Tue, 10 Sep 2024 14:12:14 -0700 Subject: [PATCH 08/22] Typo fix --- src/pages/credentials/GetCredentialOAuth2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 97b6f750..b05b2f8f 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -94,7 +94,7 @@ const GetCredentialOAuthS2s = () => { - + @@ -115,7 +115,7 @@ const GetCredentialOAuthS2s = () => { - + From de6ade1dcd599509803c7caa56b59f9d1212d829 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Thu, 26 Sep 2024 14:47:22 -0700 Subject: [PATCH 09/22] Testing a thing --- static/swagger-specs/access-control.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/static/swagger-specs/access-control.yaml b/static/swagger-specs/access-control.yaml index 9fe25ccb..fe867a09 100644 --- a/static/swagger-specs/access-control.yaml +++ b/static/swagger-specs/access-control.yaml @@ -23,7 +23,13 @@ info: version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/access-control +- url: //{environment}.adobe.io/data/foundation/access-control + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation From 07e8216cabda3e65f4a6b94a0fae36361bbf7607 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Thu, 26 Sep 2024 17:39:08 -0700 Subject: [PATCH 10/22] Add the switcher to the ones that can support it --- static/swagger-specs/audit-query.yaml | 8 +++++++- static/swagger-specs/batch-ingestion.yaml | 8 +++++++- static/swagger-specs/catalog.yaml | 8 +++++++- static/swagger-specs/data-access.yaml | 8 +++++++- static/swagger-specs/data-hygiene.yaml | 8 +++++++- static/swagger-specs/data-prep.yaml | 8 +++++++- static/swagger-specs/dataset-service.yaml | 8 +++++++- static/swagger-specs/destinations.yaml | 8 +++++++- static/swagger-specs/flow-service.yaml | 8 +++++++- static/swagger-specs/identity-service.yaml | 8 +++++++- static/swagger-specs/mtls-service.yaml | 8 +++++++- static/swagger-specs/observability-insights.yaml | 8 +++++++- static/swagger-specs/policy-service.yaml | 8 +++++++- static/swagger-specs/privacy-service.yaml | 8 +++++++- static/swagger-specs/profile.yaml | 8 +++++++- static/swagger-specs/query-service.yaml | 8 +++++++- static/swagger-specs/sandbox.yaml | 8 +++++++- static/swagger-specs/segmentation.yaml | 8 +++++++- static/swagger-specs/sensei-machine-learning.yaml | 8 +++++++- 19 files changed, 133 insertions(+), 19 deletions(-) diff --git a/static/swagger-specs/audit-query.yaml b/static/swagger-specs/audit-query.yaml index 62b939b2..72ae4505 100644 --- a/static/swagger-specs/audit-query.yaml +++ b/static/swagger-specs/audit-query.yaml @@ -5,7 +5,13 @@ info: \n- **Visualize API calls with Postman (a free, third-party software)**:\n - [Audit Query API Postman collection on GitHub](https://github.com/adobe/experience-platform-postman-samples/blob/master/apis/experience-platform/Audit%20Query%20API.postman_collection.json)\n - [Video guide for creating the Postman environment](https://video.tv.adobe.com/v/28832)\n - [Steps for importing environments and collections in Postman](https://learning.postman.com/docs/getting-started/importing-and-exporting-data/)\n \n- **API paths**:\n - PLATFORM Gateway URL: https://platform.adobe.io/\n - Base path for this API: /data/foundation\n - Example of a complete path: https://platform.adobe.io/data/foundation/audit/events\n\n- **Required headers**:\n - All calls require the headers `Authorization`, `x-gw-ims-org-id`, and `x-api-key`. For more information on how to obtain these values, see the [authentication tutorial](http://www.adobe.com/go/platform-api-authentication-en).\n - All resources in Experience Platform are isolated to specific virtual sandboxes. All requests to Platform APIs require the header `x-sandbox-name` whose value is the all-lowercase name of the sandbox the operation will take place in (for example, \"prod\"). See the [sandboxes overview](https://adobe.com/go/sandbox-overview-en) for more information.\n - **API error handling**: \n - Refer to the Experience Platform API troubleshooting guide for [FAQs](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#faq), [API status codes](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#api-status-codes), and [request header errors](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#request-header-errors)." version: "1.0" servers: -- url: //platform.adobe.io/data/foundation +- url: //{environment}.adobe.io/data/foundation + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/batch-ingestion.yaml b/static/swagger-specs/batch-ingestion.yaml index e1958ec3..6ebc59d9 100644 --- a/static/swagger-specs/batch-ingestion.yaml +++ b/static/swagger-specs/batch-ingestion.yaml @@ -41,7 +41,13 @@ info: version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/import +- url: //{environment}.adobe.io/data/foundation/import + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/catalog.yaml b/static/swagger-specs/catalog.yaml index c21e19b1..9e9ec6b3 100644 --- a/static/swagger-specs/catalog.yaml +++ b/static/swagger-specs/catalog.yaml @@ -34,7 +34,13 @@ info: version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/catalog +- url: //{environment}.adobe.io/data/foundation/catalog + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: Batches description: Batches allow users to understand which operations and applications have been performed on objects tracked by the system. diff --git a/static/swagger-specs/data-access.yaml b/static/swagger-specs/data-access.yaml index ba84719a..fc82c573 100644 --- a/static/swagger-specs/data-access.yaml +++ b/static/swagger-specs/data-access.yaml @@ -29,8 +29,14 @@ info: version: 1.0.0 servers: - - url: https://platform.adobe.io/data/foundation/export + - url: https://{environment}.adobe.io/data/foundation/export description: Adobe IO gateway endpoint + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/data-hygiene.yaml b/static/swagger-specs/data-hygiene.yaml index 13d14bf5..3b4007d7 100644 --- a/static/swagger-specs/data-hygiene.yaml +++ b/static/swagger-specs/data-hygiene.yaml @@ -34,7 +34,13 @@ info: version: 1.0.0 servers: - - url: https://platform.adobe.io + - url: https://{environment}.adobe.io + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get diff --git a/static/swagger-specs/data-prep.yaml b/static/swagger-specs/data-prep.yaml index bb834885..8e7682bf 100644 --- a/static/swagger-specs/data-prep.yaml +++ b/static/swagger-specs/data-prep.yaml @@ -21,7 +21,13 @@ info: version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/conversion +- url: //{environment}.adobe.io/data/foundation/conversion + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/dataset-service.yaml b/static/swagger-specs/dataset-service.yaml index cb53cbc9..85ca6da1 100644 --- a/static/swagger-specs/dataset-service.yaml +++ b/static/swagger-specs/dataset-service.yaml @@ -27,7 +27,13 @@ info: version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/dataset +- url: //{environment}.adobe.io/data/foundation/dataset + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/destinations.yaml b/static/swagger-specs/destinations.yaml index 0c0e81b8..4f3c87fd 100644 --- a/static/swagger-specs/destinations.yaml +++ b/static/swagger-specs/destinations.yaml @@ -34,8 +34,14 @@ info: title: Flow Service API - Destinations version: 1.0.0 servers: - - url: https://platform.adobe.io/data/foundation/flowservice + - url: https://{environment}.adobe.io/data/foundation/flowservice description: Adobe IO gateway endpoint + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: # - name: Changelog diff --git a/static/swagger-specs/flow-service.yaml b/static/swagger-specs/flow-service.yaml index eaeb6827..bddbca45 100644 --- a/static/swagger-specs/flow-service.yaml +++ b/static/swagger-specs/flow-service.yaml @@ -29,7 +29,13 @@ info: - When performing listing (GET) requests in the Flow Service API, you can use query parameters to [sort and filter responses](https://experienceleague.adobe.com/docs/experience-platform/dataflows/api/sort-and-filter.html?lang=en). version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/flowservice +- url: //{environment}.adobe.io/data/foundation/flowservice + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/identity-service.yaml b/static/swagger-specs/identity-service.yaml index 66db5eef..0fdb45a6 100644 --- a/static/swagger-specs/identity-service.yaml +++ b/static/swagger-specs/identity-service.yaml @@ -37,7 +37,13 @@ info: - Refer to the Experience Platform API troubleshooting guide for [FAQs](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#faq), [API status codes](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#api-status-codes), and [request header errors](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#request-header-errors). version: 1.0.0 servers: - - url: https://platform.adobe.io/data/core + - url: https://{environment}.adobe.io/data/core + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: | diff --git a/static/swagger-specs/mtls-service.yaml b/static/swagger-specs/mtls-service.yaml index 65c78b41..d57a0a34 100644 --- a/static/swagger-specs/mtls-service.yaml +++ b/static/swagger-specs/mtls-service.yaml @@ -23,7 +23,13 @@ info: version: 1.0.0 servers: - - url: https://platform.adobe.io/ + - url: https://{environment}.adobe.io/ + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: > diff --git a/static/swagger-specs/observability-insights.yaml b/static/swagger-specs/observability-insights.yaml index 505c4654..a371d7ce 100644 --- a/static/swagger-specs/observability-insights.yaml +++ b/static/swagger-specs/observability-insights.yaml @@ -29,7 +29,13 @@ info: version: 1.0.0 servers: -- url: //platform.adobe.io/data/infrastructure/observability/insights +- url: //{environment}.adobe.io/data/infrastructure/observability/insights + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/policy-service.yaml b/static/swagger-specs/policy-service.yaml index bf6e58ba..d594e15b 100644 --- a/static/swagger-specs/policy-service.yaml +++ b/static/swagger-specs/policy-service.yaml @@ -30,7 +30,13 @@ info: version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/dulepolicy +- url: //{environment}.adobe.io/data/foundation/dulepolicy + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/privacy-service.yaml b/static/swagger-specs/privacy-service.yaml index 3405e102..071e150e 100644 --- a/static/swagger-specs/privacy-service.yaml +++ b/static/swagger-specs/privacy-service.yaml @@ -24,7 +24,13 @@ info: - Refer to the Experience Platform API troubleshooting guide for [FAQs](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#faq), [API status codes](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#api-status-codes), and [request header errors](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#request-header-errors). version: "1.0" servers: -- url: https://platform.adobe.io/data/core/privacy +- url: https://{environment}.adobe.io/data/core/privacy + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/profile.yaml b/static/swagger-specs/profile.yaml index 0df00ebe..b7a8b93b 100644 --- a/static/swagger-specs/profile.yaml +++ b/static/swagger-specs/profile.yaml @@ -29,7 +29,13 @@ info: version: "1.0" servers: -- url: https://platform.adobe.io/data/core/ +- url: https://{environment}.adobe.io/data/core + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/query-service.yaml b/static/swagger-specs/query-service.yaml index 2a2115f1..f5a86a36 100644 --- a/static/swagger-specs/query-service.yaml +++ b/static/swagger-specs/query-service.yaml @@ -27,7 +27,13 @@ info: * Refer to the Query Service troubleshooting guide for [common query related FAQs](https://experienceleague.adobe.com/docs/experience-platform/query/troubleshooting-guide.html). version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/query +- url: //{environment}.adobe.io/data/foundation/query + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/sandbox.yaml b/static/swagger-specs/sandbox.yaml index 24695ef8..ef7042ff 100644 --- a/static/swagger-specs/sandbox.yaml +++ b/static/swagger-specs/sandbox.yaml @@ -29,7 +29,13 @@ info: version: "1.0" servers: -- url: //platform.adobe.io/data/foundation/sandbox-management +- url: //{environment}.adobe.io/data/foundation/sandbox-management + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: (NEW) Interactive API documentation description: You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your [authentication credentials](http://www.adobe.com/go/platform-api-authentication-en) and use the **Try it** functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes. diff --git a/static/swagger-specs/segmentation.yaml b/static/swagger-specs/segmentation.yaml index 2952a8cb..efb12881 100644 --- a/static/swagger-specs/segmentation.yaml +++ b/static/swagger-specs/segmentation.yaml @@ -28,7 +28,13 @@ info: version: "1.0" servers: -- url: //platform.adobe.io/data/core/ups +- url: //{environment}.adobe.io/data/core/ups + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: Audiences description: Audiences are a set of people, accounts, households, or other entities that share common characteristics and behaviors. This set can be generated either by using Platform or from external sources. More information about using this set of endpoints can be found in the [audiences endpoint guide](https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/audiences.html). diff --git a/static/swagger-specs/sensei-machine-learning.yaml b/static/swagger-specs/sensei-machine-learning.yaml index 49656f7c..0beea8f6 100644 --- a/static/swagger-specs/sensei-machine-learning.yaml +++ b/static/swagger-specs/sensei-machine-learning.yaml @@ -7,7 +7,13 @@ info: \n**API error handling**: \n - Refer to the Experience Platform API troubleshooting guide for [FAQs](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#faq), [API status codes](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#api-status-codes), and [request header errors](https://experienceleague.adobe.com/docs/experience-platform/landing/troubleshooting.html#request-header-errors)." version: "1.0" servers: -- url: //platform.adobe.io/data/sensei +- url: //{environment}.adobe.io/data/sensei + variables: + environment: + default: platform + enum: + - platform + - platform-stage tags: - name: Engines description: "Engines act as an umbrella entity holding all machine learning instances. This is tied to a Docker image, Java archive, or EGG file which contains machine learning logic to train and score a Model." From eccf7028978f8a6d48e4752131e858919afdb39b Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Thu, 3 Oct 2024 16:33:26 -0700 Subject: [PATCH 11/22] Small string fixes --- src/pages/credentials/GetCredentialOAuth2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index b05b2f8f..26abdec6 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -7,11 +7,11 @@ const GetCredentialOAuthS2s = () => { - + - + - + From d58c10b5ebf63b505bc44dd2938892c8e31623e9 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Fri, 11 Oct 2024 12:00:42 -0700 Subject: [PATCH 12/22] Add fixes --- src/pages/credentials/GetCredentialOAuth2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 26abdec6..d0df903a 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -91,7 +91,7 @@ const GetCredentialOAuthS2s = () => { - + @@ -100,7 +100,7 @@ const GetCredentialOAuthS2s = () => { - + @@ -112,7 +112,7 @@ const GetCredentialOAuthS2s = () => { - + From 4206d801b4a982cfd75a656fc6f8ac40e28388b8 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Fri, 11 Oct 2024 12:15:25 -0700 Subject: [PATCH 13/22] Typo? --- src/pages/credentials/GetCredentialOAuth2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index d0df903a..7a4e016a 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -91,7 +91,7 @@ const GetCredentialOAuthS2s = () => { - + @@ -112,7 +112,7 @@ const GetCredentialOAuthS2s = () => { - + From bfd1a6bd773ffb043a411c2573363b5637cb5da0 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Wed, 23 Oct 2024 12:39:45 -0700 Subject: [PATCH 14/22] Adding the template ID switching between prod + stage --- .github/workflows/deploy.yml | 2 ++ gatsby-config.js | 2 ++ gatsby-node.js | 8 ++++++++ src/pages/credentials/GetCredentialOAuth2.js | 17 ++++++++++++++++- 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 gatsby-node.js diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f4e6282a..f8b1c720 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -152,6 +152,7 @@ jobs: GATSBY_FEDS_PRIVACY_ID: ${{ secrets.AIO_FEDS_PRIVACY_ID }} GATSBY_SITE_DOMAIN_URL: https://developer-stage.adobe.com GATSBY_REDOCLY_KEY: ${{ secrets.REDOCLY_LICENSE_KEY }} + GATSBY_TEMPLATE_ID: 667b0b6a6547797329d24f0d - name: Deploy uses: AdobeDocs/static-website-deploy@master with: @@ -259,6 +260,7 @@ jobs: GATSBY_FEDS_PRIVACY_ID: ${{ secrets.AIO_FEDS_PRIVACY_ID }} GATSBY_SITE_DOMAIN_URL: https://developer.adobe.com GATSBY_REDOCLY_KEY: ${{ secrets.REDOCLY_LICENSE_KEY }} + GATSBY_TEMPLATE_ID: 671938c0a355389273dc7a8f - name: Deploy uses: AdobeDocs/static-website-deploy@master with: diff --git a/gatsby-config.js b/gatsby-config.js index bc44580e..b58f2741 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -12,6 +12,8 @@ module.exports = { siteMetadata: { + template_id: process.env.GATSBY_TEMPLATE_ID, + // versions: [ // { // title: 'v2.0', diff --git a/gatsby-node.js b/gatsby-node.js new file mode 100644 index 00000000..3aead724 --- /dev/null +++ b/gatsby-node.js @@ -0,0 +1,8 @@ +exports.createSchemaCustomization = ({ actions }) => { + const { createTypes } = actions + createTypes(` + type SiteSiteMetadata { + template_id: String + } + `) + } \ No newline at end of file diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 7a4e016a..b75f2e8e 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -3,9 +3,24 @@ import { GetCredential } from '@adobe/gatsby-theme-aio/src/components/GetCredent import platform from "./images/platform.png"; const GetCredentialOAuthS2s = () => { + + const data = useStaticQuery( + graphql` + query { + site { + siteMetadata{ + template_id + } + } + } + ` + ) + + const { template_id } = data?.site?.siteMetadata; + return ( - + From 9a043308abb614e4025b2045bc28815a6514419d Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Wed, 23 Oct 2024 13:36:17 -0700 Subject: [PATCH 15/22] Need to import you silly billy --- src/pages/credentials/GetCredentialOAuth2.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index b75f2e8e..98889fb0 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -1,5 +1,6 @@ import React from 'react' import { GetCredential } from '@adobe/gatsby-theme-aio/src/components/GetCredential'; +import { graphql, useStaticQuery } from 'gatsby'; import platform from "./images/platform.png"; const GetCredentialOAuthS2s = () => { From c5f2a77a7735b1b12f2752ca93424adfe0d6c6aa Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Wed, 23 Oct 2024 14:23:20 -0700 Subject: [PATCH 16/22] Clarifying text --- src/pages/credentials/GetCredentialOAuth2.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 98889fb0..f78397a5 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -27,7 +27,7 @@ const GetCredentialOAuthS2s = () => { - + @@ -42,7 +42,7 @@ const GetCredentialOAuthS2s = () => { OAuth server-to-server credential

- This credential allows you to use industry standard OAuth2.0 libraries to generate access tokens using the OAuth 2.0 client credentials grant type. + This credential allows you to use industry standard OAuth2.0 libraries to generate Access tokens using the OAuth 2.0 client credentials grant type.

@@ -75,7 +75,7 @@ const GetCredentialOAuthS2s = () => { OAuth server-to-server credential

- This credential allows you to use industry standard OAuth2.0 libraries to generate access tokens using the OAuth 2.0 client credentials grant type. + This credential allows you to use industry standard OAuth2.0 libraries to generate Access tokens using the OAuth 2.0 client credentials grant type.

@@ -105,11 +105,10 @@ const GetCredentialOAuthS2s = () => { - + - @@ -130,7 +129,6 @@ const GetCredentialOAuthS2s = () => { - @@ -139,7 +137,7 @@ const GetCredentialOAuthS2s = () => { - + @@ -177,7 +175,7 @@ const GetCredentialOAuthS2s = () => { OAuth server-to-server credential

- This credential allows you to use industry standard OAuth2.0 libraries to generate access tokens using the OAuth 2.0 client credentials grant type. + This credential allows you to use industry standard OAuth2.0 libraries to generate Access tokens using the OAuth 2.0 client credentials grant type.

From 2af61a784516af808da976478a6472babd8a04c6 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Wed, 23 Oct 2024 14:26:57 -0700 Subject: [PATCH 17/22] More text --- src/pages/credentials/GetCredentialOAuth2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index f78397a5..e06246e5 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -42,7 +42,7 @@ const GetCredentialOAuthS2s = () => { OAuth server-to-server credential

- This credential allows you to use industry standard OAuth2.0 libraries to generate Access tokens using the OAuth 2.0 client credentials grant type. + This credential allows you to use industry standard OAuth2.0 libraries to generate access tokens using the OAuth 2.0 client credentials grant type.

@@ -75,7 +75,7 @@ const GetCredentialOAuthS2s = () => { OAuth server-to-server credential

- This credential allows you to use industry standard OAuth2.0 libraries to generate Access tokens using the OAuth 2.0 client credentials grant type. + This credential allows you to use industry standard OAuth2.0 libraries to generate access tokens using the OAuth 2.0 client credentials grant type.

@@ -175,7 +175,7 @@ const GetCredentialOAuthS2s = () => { OAuth server-to-server credential

- This credential allows you to use industry standard OAuth2.0 libraries to generate Access tokens using the OAuth 2.0 client credentials grant type. + This credential allows you to use industry standard OAuth2.0 libraries to generate access tokens using the OAuth 2.0 client credentials grant type.

From 9875e2d95d94f2747eb15dffea4911fb111daa22 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Wed, 23 Oct 2024 15:17:06 -0700 Subject: [PATCH 18/22] Add blurb about prefix with Bearer --- src/pages/credentials/GetCredentialOAuth2.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index e06246e5..bcbb0ba0 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -66,7 +66,7 @@ const GetCredentialOAuthS2s = () => { - +
@@ -105,7 +105,7 @@ const GetCredentialOAuthS2s = () => { - + Access Token
After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> @@ -137,8 +137,8 @@ const GetCredentialOAuthS2s = () => { - - + Access Token
After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> + From 1874b90abaf449b91dd8373d9c417dae30934daa Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Wed, 23 Oct 2024 15:37:37 -0700 Subject: [PATCH 19/22] Unbolds your text --- src/pages/credentials/GetCredentialOAuth2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index bcbb0ba0..423e9177 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -137,8 +137,8 @@ const GetCredentialOAuthS2s = () => { - Access Token
After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> - + Access Token
After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> + From b835c0ddfdf3b5afee4a19ccbdc95e1f5d377488 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Wed, 23 Oct 2024 17:19:17 -0700 Subject: [PATCH 20/22] Add description --- src/pages/credentials/GetCredentialOAuth2.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 423e9177..99f1c510 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -105,12 +105,12 @@ const GetCredentialOAuthS2s = () => { - Access Token
After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> + Access token

After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> + - @@ -127,19 +127,18 @@ const GetCredentialOAuthS2s = () => { - + Credential details

You can use the following credential details to try out the Adobe Experience Platform APIs below.
  • Client ID: Your public identifier for accessing the APIs. This acts as an API key when used with the Platform APIs, and corresponds with the x-api-key header.
  • Organization ID: The ID of the organization you're using with the Platform APIs. This corresponds with the x-gw-ims-org-id header.
)} orderBy="ClientId,ClientSecret,ImsOrgID,Scopes"> -
- Access Token
After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> + Access token

After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> - + From a599ed6b3fbaed55b3a59699d27aca95d5b5d6cd Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Thu, 24 Oct 2024 13:09:38 -0700 Subject: [PATCH 21/22] Re-add scopes because it needs it to render --- src/pages/credentials/GetCredentialOAuth2.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 99f1c510..7c93accf 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -108,9 +108,10 @@ const GetCredentialOAuthS2s = () => { Access token

After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> - + + @@ -127,9 +128,10 @@ const GetCredentialOAuthS2s = () => { - Credential details

You can use the following credential details to try out the Adobe Experience Platform APIs below.
  • Client ID: Your public identifier for accessing the APIs. This acts as an API key when used with the Platform APIs, and corresponds with the x-api-key header.
  • Organization ID: The ID of the organization you're using with the Platform APIs. This corresponds with the x-gw-ims-org-id header.
)} orderBy="ClientId,ClientSecret,ImsOrgID,Scopes"> + Credential details

You can use the following credential details to try out the Adobe Experience Platform APIs below.
  • Client ID: Your public identifier for accessing the APIs. This acts as an API key when used with the Platform APIs, and corresponds with the x-api-key header.
  • Organization ID: The ID of the organization you're using with the Platform APIs. This corresponds with the x-gw-ims-org-id header.
)} orderBy="ClientId,ImsOrgID"> +
From 8f4ed4037a86e7eaa55bb3a4e9bab1e209f0c452 Mon Sep 17 00:00:00 2001 From: Caleb Kwan Date: Tue, 5 Nov 2024 14:32:59 -0800 Subject: [PATCH 22/22] Add description blurb --- src/pages/credentials/GetCredentialOAuth2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/credentials/GetCredentialOAuth2.js b/src/pages/credentials/GetCredentialOAuth2.js index 7c93accf..5d3f3f6f 100644 --- a/src/pages/credentials/GetCredentialOAuth2.js +++ b/src/pages/credentials/GetCredentialOAuth2.js @@ -108,7 +108,7 @@ const GetCredentialOAuthS2s = () => { Access token

After copying the access token, you must prepend the token with Bearer to use it with API calls.)} /> - + Credential details

You can use the following credential details to try out the Adobe Experience Platform APIs below.
  • Client ID: Your public identifier for accessing the APIs. This acts as an API key when used with the Platform APIs, and corresponds with the x-api-key header.
  • Organization ID: The ID of the organization you're using with the Platform APIs. This corresponds with the x-gw-ims-org-id header.
)} orderBy="ClientId,ImsOrgID">