Skip to content

Commit af047d1

Browse files
committed
Merge branch 'main' into feature/remove-paramount-press-release
2 parents 5af388f + 4ee1810 commit af047d1

File tree

58 files changed

+376
-373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+376
-373
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
28-
- uses: actions/setup-node@v3
27+
uses: actions/checkout@v4
28+
- uses: actions/setup-node@v4
2929
with:
30-
node-version: 18
30+
node-version: 20
3131
cache: npm
3232
- name: Install dependencies
3333
run: npm ci
3434
- name: Build website
3535
run: npm run build
3636
- name: Setup Pages
37-
uses: actions/configure-pages@v3
37+
uses: actions/configure-pages@v5
3838
- name: Upload artifact
39-
uses: actions/upload-pages-artifact@v1
39+
uses: actions/upload-pages-artifact@v3
4040
with:
4141
path: './build'
4242
- name: Deploy to GitHub Pages
4343
id: deployment
44-
uses: actions/deploy-pages@v2
44+
uses: actions/deploy-pages@v4

.github/workflows/deployPreview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: Clone to preview folder (excluding actions)
2828
run: rsync -arv --delete --delete-excluded --exclude=".github" --exclude="preview-output" --exclude="preview-output" --exclude=".git" ./ preview-output/
2929
- name: Push to staging repository
@@ -35,4 +35,4 @@ jobs:
3535
destination-github-username: 'UnifiedID2'
3636
destination-repository-name: 'uid2-docs-preview'
3737
target-branch: main
38-
target-directory: preview
38+
target-directory: preview

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v3
17-
- uses: actions/setup-node@v3
16+
uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 18
19+
node-version: 20
2020
cache: npm
2121
- name: Install dependencies
2222
run: npm ci
2323
- name: Build website
2424
run: npm run build
2525
- name: Vulnerability Scan
26-
uses: IABTechLab/uid2-shared-actions/actions/vulnerability_scan_filesystem@v2
26+
uses: IABTechLab/uid2-shared-actions/actions/vulnerability_scan_filesystem@v3

docs/endpoints/post-identity-buckets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You must encrypt all requests using your secret. For details, and code examples
2525

2626
| Path Parameter | Data Type | Attribute | Description |
2727
| :--- | :--- | :--- | :--- |
28-
| `{environment}` | string | Required | Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
28+
| `{environment}` | string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
2929

3030
:::note
3131
The integration environment and the production environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>.

docs/endpoints/post-identity-map.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You must encrypt all requests using your secret. For details, and code examples
3434

3535
| Path Parameter | Data Type | Attribute | Description |
3636
| :--- | :--- | :--- | :--- |
37-
| `{environment}` | string | Required | Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
37+
| `{environment}` | string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
3838

3939
:::note
4040
The integration environment and the production environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
@@ -93,7 +93,7 @@ The following are unencrypted JSON request body examples for each parameter, one
9393
Here's an encrypted identity mapping request example for a phone number:
9494

9595
```sh
96-
echo '{"phone": ["+12345678901", "+441234567890"]}' | python3 uid2_request.py https://prod.uidapi.com/v2/identity/map YourTokenBV3tua4BXNw+HVUFpxLlGy8nWN6mtgMlIk= DELPabG/hsJsZk4Xm9Xr10Wb8qoKarg4ochUdY9e+Ow=
96+
echo '{"phone": ["+12345678901", "+441234567890"]}' | python3 uid2_request.py https://prod.uidapi.com/v2/identity/map [Your-Client-API-Key] [Your-Client-Secret]
9797
```
9898

9999
For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).

docs/endpoints/post-optout-status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ You must encrypt all requests using your secret. For details, and code examples
3838

3939
| Path Parameter | Data Type | Attribute | Description |
4040
| :--- | :--- | :--- | :--- |
41-
| `{environment}` | string | Required | Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
41+
| `{environment}` | string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
4242

4343
:::note
4444
The integration environment and the production environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>.

docs/endpoints/post-token-generate.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ This section includes the following sample responses:
103103

104104
#### Successful Response
105105

106-
A successful decrypted response returns the user's advertising and refresh tokens for the specified email address, phone number, or the respective hash.
106+
A successful decrypted response returns the user's advertising and refresh tokens for the specified email address, phone number, or the respective hash.
107107

108108
<IdentityGenerateResponse />
109109

@@ -145,8 +145,8 @@ If the `status` value is anything other than `success`, the `message` field prov
145145

146146
## Test Identities
147147

148-
| Type | Identity | Purpose | Next Endpoint |
149-
|:------|:-----------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------|
148+
| Type | Identity | Purpose | Next Endpoint |
149+
|:------|:-----------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------|
150150
| Email | `[email protected]` | Test that the `advertising_token` you've cached matches the `advertising_token` for the specified email address. | [POST&nbsp;/token/validate](post-token-validate.md) |
151151
| Email | `[email protected]` | Using this email for the request always generates an `optout` response. | [POST&nbsp;/token/generate](post-token-generate.md) |
152152
| Email | `[email protected]` | Using this email for the request always generates an identity response with a `refresh_token` that results in an `optout` response. | [POST&nbsp;/token/refresh](post-token-refresh.md) |

docs/endpoints/post-token-refresh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Here's what you need to know about this endpoint:
3737

3838
| Path Parameter | Data Type | Attribute | Description |
3939
| :--- | :--- | :--- | :--- |
40-
| `{environment}` | string | Required | Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md).<br/>Notes:<ul><li>The `integ` environment and the `prod` environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>.</li><li>Token expiration time is subject to change, but is always significantly shorter in the `integ` environment than it is in the `prod` environment.</li></ul> |
40+
| `{environment}` | string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md).<br/>Notes:<ul><li>The `integ` environment and the `prod` environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>.</li><li>Token expiration time is subject to change, but is always significantly shorter in the `integ` environment than it is in the `prod` environment.</li></ul> |
4141

4242
#### Testing Notes
4343

docs/endpoints/post-token-validate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Link from '@docusaurus/Link';
99

1010
# POST /token/validate
1111

12-
Validates that an advertising token matches the specified hashed or unhashed email address or phone number.
12+
Validates that an advertising token matches the specified hashed or unhashed email address or phone number.
1313

1414
Used by: This endpoint is used mainly by publishers.
1515

@@ -29,7 +29,7 @@ You must encrypt all requests using your secret key. For details, and code examp
2929

3030
| Path Parameter | Data Type | Attribute | Description |
3131
| :--- | :--- | :--- | :--- |
32-
| `{environment}` | string | Required | Integration environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
32+
| `{environment}` | string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
3333

3434
:::note
3535
The integration environment and the production environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>.

docs/getting-started/gs-encryption-decryption.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public class Uid2Request {
355355
+ "java -jar Uid2Request-jar-with-dependencies.jar <url> <api_key> <client_secret>" + "\n\n"
356356

357357
+ "Example:" + "\n "
358-
+ "echo '{\"email\": \"[email protected]\"}' | java -jar Uid2Request-jar-with-dependencies.jar https://prod.uidapi.com/v2/token/generate PRODGwJ0hP19QU4hmpB64Y3fV2dAed8t/mupw3sjN5jNRFzg= wJ0hP19QU4hmpB64Y3fV2dAed8t/mupw3sjN5jNRFzg=" + "\n\n\n"
358+
+ "echo '{\"email\": \"[email protected]\"}' | java -jar Uid2Request-jar-with-dependencies.jar https://prod.uidapi.com/v2/token/generate PRODGwJ0hP19QU4hmpB64Y3fV2dAed8t/mupw3sjN5jNRFzg= wJ0hP19QU4hmpB64Y3fV2dAed8t/mupw3sjN5jNRFzg=" + "\n\n\n"
359359

360360
+ "Refresh Token Usage:" + "\n "
361361
+ "java -jar Uid2Request-jar-with-dependencies.jar <url> --refresh-token <refresh_token> <refresh_response_key>" + "\n\n"

0 commit comments

Comments
 (0)