Skip to content

Commit 79e7b4d

Browse files
authored
Merge pull request #1010 from IABTechLab/gwh-APIDOCS-3914-change-heading-case
gwh-APIDOCS-3914-change-heading-case
2 parents 3f06bf6 + 2f858f8 commit 79e7b4d

230 files changed

Lines changed: 5342 additions & 5335 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ npm-debug.log*
1919
yarn-debug.log*
2020
yarn-error.log*
2121
.aider*
22+
23+
# Temporary exclusion for Claude project 4/10/26
24+
# md-sentence-case*

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm i
1515

1616
After you've checked out the repo (and whenever you pull in new changes) you should run this command to install any new packages.
1717

18-
## Local Development
18+
## Local development
1919

2020
```
2121
npm start
@@ -31,7 +31,7 @@ npm run build
3131

3232
This command generates static content into the `build` directory and can be served using any static contents hosting service.
3333

34-
## Build All Languages
34+
## Build all languages
3535

3636
```
3737
npm run build && npm run serve

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UID2 Documentation
1+
# UID2 documentation
22

33
> Note: The new location for viewing UID2 documentation content is on the Unified ID website: [Unified ID 2.0 Overview](https://unifiedid.com/docs/intro).
44

docs/endpoints/post-identity-buckets.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,35 @@ import Link from '@docusaurus/Link';
1212

1313
Monitors rotated <Link href="../ref-info/glossary-uid#gl-salt-bucket">salt buckets</Link>.
1414

15-
Used by: This endpoint is used mainly by advertisers and data providers. For details, see [Advertiser/Data Provider Integration Overview](../guides/integration-advertiser-dataprovider-overview.md).
15+
Used by: This endpoint is used mainly by advertisers and data providers. For details, see [Advertiser/data provider integration overview](../guides/integration-advertiser-dataprovider-overview.md).
1616

1717
:::important
1818
If you're using the latest version (v3) of `POST /v3/identity/map`, you don't need to use `POST /identity/buckets` at all. You only need to use it if you're using the earlier version (v2) of `POST /v2/identity/map`.
1919

2020
If you're using the v2 version, we recommend that you upgrade as soon as possible, to take advantage of improvements. For migration guidance, see [Migration from POST /v2/identity/map](post-identity-map.md#migration-from-post-v2identitymap).
2121
:::
2222

23-
## Request Format
23+
## Request format
2424

2525
`POST '{environment}/v2/identity/buckets'`
2626

27-
For authentication details, see [Authentication and Authorization](../getting-started/gs-auth.md).
27+
For authentication details, see [Authentication and authorization](../getting-started/gs-auth.md).
2828

2929
:::important
30-
You must encrypt all requests using your secret. For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
30+
You must encrypt all requests using your secret. For details, and code examples in different programming languages, see [Encrypting requests and decrypting responses](../getting-started/gs-encryption-decryption.md).
3131
:::
3232

33-
### Path Parameters
33+
### Path parameters
3434

3535
| Path Parameter | Data Type | Attribute | Description |
3636
| :--- | :--- | :--- | :--- |
3737
| `{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
40-
The integration environment and the production environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting Your Credentials](../getting-started/gs-credentials.md#getting-your-credentials).
40+
The integration environment and the production environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting your credentials](../getting-started/gs-credentials.md#getting-your-credentials).
4141
:::
4242

43-
### Unencrypted JSON Body Parameters
43+
### Unencrypted JSON body parameters
4444

4545
:::important
4646
You must include the following parameter as a key-value pair in the JSON body of a request when encrypting it.
@@ -50,7 +50,7 @@ You must include the following parameter as a key-value pair in the JSON body of
5050
| :--- | :--- | :--- | :--- | :--- |
5151
| `since_timestamp` | date-time or integer | Required | Specify the date and time to which to compare the last updated UTC timestamps of the buckets to be returned. | ISO 8601 format:<br/>`YYYY-MM-DDThh:mm:ss` |
5252

53-
### Request Examples
53+
### Request examples
5454

5555
The following is an unencrypted JSON request body example, which you should include in your identity bucket rotation requests:
5656

@@ -65,9 +65,9 @@ Here's an encrypted identity bucket rotation request example:
6565
echo '{"since_timestamp": "2023-04-19T13:00:00"}' | python3 uid2_request.py https://prod.uidapi.com/v2/identity/buckets [Your-Client-API-Key] [Your-Client-Secret]
6666
```
6767

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

70-
## Decrypted JSON Response Format
70+
## Decrypted JSON response format
7171

7272
:::note
7373
The response is encrypted only if the HTTP status code is 200. Otherwise, the response is not encrypted.
@@ -94,7 +94,7 @@ A successful decrypted response returns a list of salt bucket IDs and the timest
9494
"status":"success"
9595
}
9696
```
97-
### Response Body Properties
97+
### Response body properties
9898

9999
The response body includes the properties shown in the following table.
100100

@@ -103,7 +103,7 @@ The response body includes the properties shown in the following table.
103103
| `bucket_id` | string | The salt bucket ID. |
104104
| `last_updated` | date-time | The UTC timestamp of the last time the bucket salt was rotated. |
105105

106-
### Response Status Codes
106+
### Response status codes
107107

108108
The following table lists the `status` property values and their HTTP status code equivalents.
109109

docs/endpoints/post-identity-map-v2.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,53 +11,53 @@ import Link from '@docusaurus/Link';
1111

1212
Maps multiple email addresses, phone numbers, or their respective hashes to their raw UID2s and <Link href="../ref-info/glossary-uid#gl-salt-bucket-id">salt bucket IDs</Link>. You can also use this endpoint to check for updates to opt-out information.
1313

14-
Used by: This endpoint is used mainly by advertisers and data providers. For details, see [Advertiser/Data Provider Integration Overview](../guides/integration-advertiser-dataprovider-overview.md).
14+
Used by: This endpoint is used mainly by advertisers and data providers. For details, see [Advertiser/data provider integration overview](../guides/integration-advertiser-dataprovider-overview.md).
1515

16-
For details about the UID2 opt-out workflow and how users can opt out, see [User Opt-Out](../getting-started/gs-opt-out.md).
16+
For details about the UID2 opt-out workflow and how users can opt out, see [User opt-out](../getting-started/gs-opt-out.md).
1717

1818
## Version
1919

2020
This documentation is for version 2 of this endpoint, which is not the latest version. For the latest version, v3, see [POST /v3/identity/map](post-identity-map.md).
2121

2222
:::note
23-
If you're using an earlier version, we recommend that you upgrade as soon as possible, to take advantage of improvements. For migration guidance, see [Migration from POST /v2/identity/map](post-identity-map.md#migration-from-post-v2identitymap). For deprecation information, see [Deprecation Schedule: Endpoint Versions](../ref-info/deprecation-schedule.md#endpoint-versions).
23+
If you're using an earlier version, we recommend that you upgrade as soon as possible, to take advantage of improvements. For migration guidance, see [Migration from POST /v2/identity/map](post-identity-map.md#migration-from-post-v2identitymap). For deprecation information, see [Deprecation schedule: Endpoint versions](../ref-info/deprecation-schedule.md#endpoint-versions).
2424
:::
2525

26-
## Batch Size and Request Parallelization Requirements
26+
## Batch size and request parallelization requirements
2727

2828
Here's what you need to know:
2929

3030
- The maximum request size is 1MB.
3131
- To map a large number of email addresses, phone numbers, or their respective hashes, send them in batches with a maximum of 5,000 items per batch. We recommend sending no more than 20 batches in parallel.
32-
- Be sure to store mappings of email addresses, phone numbers, or their respective hashes.<br/>Not storing mappings could increase processing time drastically when you have to map millions of email addresses or phone numbers. Recalculating only those mappings that actually need to be updated, however, reduces the total processing time because only about 1/365th of raw UID2s need to be updated daily. See also [Advertiser/Data Provider Integration Overview](../guides/integration-advertiser-dataprovider-overview.md) and [FAQs for Advertisers and Data Providers](../getting-started/gs-faqs.md#faqs-for-advertisers-and-data-providers).
32+
- Be sure to store mappings of email addresses, phone numbers, or their respective hashes.<br/>Not storing mappings could increase processing time drastically when you have to map millions of email addresses or phone numbers. Recalculating only those mappings that actually need to be updated, however, reduces the total processing time because only about 1/365th of raw UID2s need to be updated daily. See also [Advertiser/data provider integration overview](../guides/integration-advertiser-dataprovider-overview.md) and [FAQs for advertisers and data providers](../getting-started/gs-faqs.md#faqs-for-advertisers-and-data-providers).
3333

34-
## Rate Limiting
34+
## Rate limiting
3535

3636
To ensure fair usage and platform stability, the `POST /v2/identity/map` endpoint enforces rate limits to safeguard against bursts of incoming traffic. If you send many requests in quick succession, you might receive `429` error responses.
3737

3838
To handle rate limit errors gracefully, we recommend implementing [exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff) with random jitter when retrying requests. To maximize throughput within the limit, use the maximum batch size of 5,000 items per request rather than sending many small requests.
3939

40-
## Request Format
40+
## Request format
4141

4242
`POST '{environment}/v2/identity/map'`
4343

44-
For authentication details, see [Authentication and Authorization](../getting-started/gs-auth.md).
44+
For authentication details, see [Authentication and authorization](../getting-started/gs-auth.md).
4545

4646
:::important
47-
You must encrypt all requests using your secret. For details, and code examples in different programming languages, see [Encrypting Requests and Decrypting Responses](../getting-started/gs-encryption-decryption.md).
47+
You must encrypt all requests using your secret. For details, and code examples in different programming languages, see [Encrypting requests and decrypting responses](../getting-started/gs-encryption-decryption.md).
4848
:::
4949

50-
### Path Parameters
50+
### Path parameters
5151

5252
| Path Parameter | Data Type | Attribute | Description |
5353
| :--- | :--- | :--- | :--- |
5454
| `{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). |
5555

5656
:::note
57-
The integration environment and the production environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting Your Credentials](../getting-started/gs-credentials.md#getting-your-credentials).
57+
The integration environment and the production environment require different <Link href="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting your credentials](../getting-started/gs-credentials.md#getting-your-credentials).
5858
:::
5959

60-
### Unencrypted JSON Body Parameters
60+
### Unencrypted JSON body parameters
6161

6262
:::important
6363
You must include only **one** of the following four conditional parameters as a key-value pair in the JSON body of the request when encrypting it.
@@ -70,7 +70,7 @@ You must include only **one** of the following four conditional parameters as a
7070
| `phone` | string array | Conditionally Required | The list of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
7171
| `phone_hash` | string array | Conditionally Required | The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#phone-number-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
7272

73-
### Request Examples
73+
### Request examples
7474

7575
The following are unencrypted JSON request body examples for each parameter, one of which you should include in your requests to the `POST /v2/identity/map` endpoint:
7676

@@ -113,9 +113,9 @@ Here's an encrypted request example to the `POST /v2/identity/map` endpoint for
113113
echo '{"phone": ["+12345678901", "+441234567890"]}' | python3 uid2_request.py https://prod.uidapi.com/v2/identity/map [Your-Client-API-Key] [Your-Client-Secret]
114114
```
115115

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

118-
## Decrypted JSON Response Format
118+
## Decrypted JSON response format
119119

120120
:::note
121121
The response is encrypted only if the HTTP status code is 200. Otherwise, the response is not encrypted.
@@ -189,7 +189,7 @@ If some identifiers have opted out from the UID2 ecosystem, the opted-out identi
189189
}
190190
```
191191

192-
### Response Body Properties
192+
### Response body properties
193193

194194
The response body includes the properties shown in the following table.
195195

@@ -199,7 +199,7 @@ The response body includes the properties shown in the following table.
199199
| `advertising_id` | string | The corresponding advertising ID (raw UID2). |
200200
| `bucket_id` | string | The ID of the salt bucket used to generate the raw UID2. |
201201

202-
### Response Status Codes
202+
### Response status codes
203203

204204
The following table lists the `status` property values and their HTTP status code equivalents.
205205

0 commit comments

Comments
 (0)