Skip to content

Commit

Permalink
Add info (#38)
Browse files Browse the repository at this point in the history
* Add info

Add info in:
-Messaging request
-fix link issues
-fix typo

* fix endline mistakes

Add a fix to pass Github build
(line at the end of files)

* still fixing github build fail

* fix github build fail

* fix issues

* remove text that cause issue

* Updated Changes based on Feedback from userbradley

add Image optimization CDN for the Sub domains : cdn-resize.bereal.network
  • Loading branch information
max21910 authored Jan 5, 2024
1 parent fe1d9fa commit 51efb62
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 1 deletion.
116 changes: 116 additions & 0 deletions docs/api-endpoints/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,129 @@ title: "API endpoint: Analytics"
|---------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
| `https://logs.browser-intake-datadoghq.com/api/v2/logs?ddsource=ios` | DataDog application usage metrics and RUM |
| `https://api2.amplitude.com/` | User journey tracking |
| `https://api.lab.amplitude.com/sdk/v2/vardata?v=0` | 2023 recap video analytics |
| `https://region1.app-measurement.com/a` | Firebase [See here for info](https://stackoverflow.com/questions/54461349/how-to-decrypt-firebase-requests-to-app-measurement-com/54463682#54463682) |
| `https://api.onesignal.com/apps/91b217c4-7ad8-4fd1-a01c-f4ed5b2a4711/ios_params.js?player_id=<>>` | Push messaging (Probably the notification going off) |
| `https://fcmtoken.googleapis.com/register` | [Firebase Messaging](https://firebase.google.com/docs/cloud-messaging) (maybe also for push notifications, but authing?) |
| `https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/batchlog` | Firebase Logging |

## Requests and Responses

### `2023 recap video analytics`

```
{
"campaign-memoriesrecap2023": {
"key": "off",
"metadata": {
"default": true
}
},
"delhi-tagging-rollout-countries": {
"key": "on",
"value": "on"
},
"friend-recommendations-m2-ios": {
"key": "active-weighted",
"metadata": {
"experimentKey": "exp-2"
},
"payload": {
"fr-backend-variant": "active",
"fr-card-reshow": 10,
"fr-friend-threshold": 30,
"fr-recco-count": 5
},
"value": "active-weighted"
},
"ios-cairo-streaks": {
"key": "off",
"metadata": {
"default": true
}
},
"ios-chat-forwarding": {
"key": "treatment",
"metadata": {
"experimentKey": "exp-1"
},
"value": "treatment"
},
"ios-onboarding-revamp": {
"key": "new-flow",
"metadata": {
"experimentKey": "exp-2"
},
"payload": {
"notif": "old",
"order": "new"
},
"value": "new-flow"
},
"ios-pinned-memories": {
"key": "treatment",
"metadata": {
"experimentKey": "exp-1"
},
"value": "treatment"
},
"ios-sharing-cell": {
"key": "share-and-clean",
"metadata": {
"experimentKey": "exp-2"
},
"payload": {
"clean-cell": true,
"external-sharing": true
},
"value": "share-and-clean"
},
"ios-tagging": {
"key": "treatment",
"metadata": {
"experimentKey": "exp-1"
},
"value": "treatment"
},
"ios-tagging-resharing": {
"key": "off",
"metadata": {
"default": true
}
},
"ios-upload-perf-improvements": {
"key": "treatment",
"metadata": {
"experimentKey": "exp-2"
},
"value": "treatment"
},
"memories-entry-points-ios": {
"key": "navbar",
"metadata": {
"experimentKey": "exp-1"
},
"value": "navbar"
},
"sunset-survey-card": {
"key": "off",
"metadata": {
"default": true
}
},
"sunset-survey-card-prospect-cta": {
"key": "off",
"metadata": {
"default": true
}
},
"tagging-country-flag": {
"key": "on",
"value": "on"
}
}
```

### `unspecified`

```
Expand Down
1 change: 1 addition & 0 deletions docs/api-endpoints/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The endpoints are categorized as below
* [Analytics](analytics.md)
* [Feeds](feeds.md)
* [Moderation](moderation.md)
* [Messaging](messaging.md)
* [Person](person.md)
* [Relationships](relationships.md)
* [Search](search.md)
Expand Down
4 changes: 3 additions & 1 deletion docs/domains/sub-domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ title: Sub Domains
| URL | Use |
|-------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| `cdn.bereal.network` | New CDN running on `MCI Communications Services, Inc. d/b/a Verizon Business` pointing to `storage.bere.al` Bucket |
| `cdn-resize.bereal.network` | Image optimization CDN |
| `dev-cdn.bereal.network` | Development CDN running on `MCI Communications Services, Inc. d/b/a Verizon Business` pointing to `sandbox-storage.bere.al` bucket |


## bereal.team

| URL | Use |
Expand Down Expand Up @@ -97,4 +99,4 @@ title: Sub Domains
| `doc.bereal.team` | Most likely internal Documentation |
| `dev.auth.bereal.team` | *DEV* Authentication systems |
| `dev.notific.bereal.team` | *DEV* Misspell notification system |
| `ogma.bereal.team` | Messaging service |
| `ogma.bereal.team` | Messaging service |

0 comments on commit 51efb62

Please sign in to comment.