Skip to content

Commit

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

Add :
-New CDN endpoint
-New Messaging endpoint
-Spotify Login Url

* fix issue with github build

* Made some Adjustments

-fix typing issues
-add new analytics logs
-add last Bereal api endpoint with response
-add the help section with the api endpoints
-Add message content
-fix spotify links

* -fix typing issues
-add new analytics logs
-add last Bereal api endpoint with response
-add the help section with the api endpoints
-Add message content
-fix spotify links

* fix Github build issue again

-fix typing issues
-add new analytics logs
-add last Bereal api endpoint with response
-add the help section with the api endpoints
-Add message content
-fix spotify links

* remove issue with github build

-fix typing issues
-add new analytics logs
-add last Bereal api endpoint with response
-add the help section with the api endpoints
-Add message content
-fix spotify links

* fix Github buid issue again

-fix typing issues
-add new analytics logs
-add last Bereal api endpoint with response
-add the help section with the api endpoints
-Add message content
-fix spotify links

* Last fix for Github build

just for this  :  |

* fix issue

* finally found the issue (maybe)

* remove issue

* remove issue

* remove repeated  Lines 72 and 74
  • Loading branch information
max21910 authored Jan 17, 2024
1 parent e1db4e8 commit 81d7b5b
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 10 deletions.
37 changes: 37 additions & 0 deletions docs/api-endpoints/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,41 @@ title: "API endpoint: Analytics"
"version": "1.1.2",
"version.build": "9854"
},
{
"_dd": {
"device": {
"architecture": "arm64e"
}
},
"date": "2024-01-02T17:00:47.708Z",
"ddtags": "env:prod,version:1.21.2",
"error.kind": "HTTPError",
"error.message": "HTTPError {httpCode=none, category=network, cocoa=-1200, description='An SSL error has occurred and a secure connection to the server cannot be made.'}",
"error.stack": "HTTPError {httpCode=none, category=network, cocoa=-1200, description='An SSL error has occurred and a secure connection to the server cannot be made.'}",
"logger.name": "AlexisBarreyat.BeReal",
"logger.thread_name": "background",
"logger.version": "1.23.0",
"message": "[BAK] request : [GET] https://mobile.bereal.com/api/bereal/moments/last/europe-west ❌ \n error: HTTPError {httpCode=none, category=network, cocoa=-1200, description='An SSL error has occurred and a secure connection to the server cannot be made.'}",
"network.client.available_interfaces": [
"wifi",
"cellular"
],
"network.client.is_constrained": false,
"network.client.is_expensive": false,
"network.client.reachability": "yes",
"network.client.sim_carrier.allows_voip": true,
"network.client.sim_carrier.iso_country": "--",
"network.client.sim_carrier.name": "--",
"network.client.sim_carrier.technology": "LTE",
"network.client.supports_ipv4": true,
"network.client.supports_ipv6": true,
"service": "AlexisBarreyat.BeReal",
"status": "error",
"usr.id": "ID",
"usr.region": {
"value": "europe-west"
},
"version": "1.21.2",
"version.build": "14123"
}
```
11 changes: 11 additions & 0 deletions docs/api-endpoints/helps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "API endpoint: Zendesk Help"
---


## Verified Endpoints

| URL | Use |
|---------------------------------------------------------------------------|-------------------------------------|
| `https://berealapp.zendesk.com/api/private/mobile_sdk/settings/id.json` | GET the settings of the user |
| `https://berealapp.zendesk.com/attachments/token/ID/?name=ID.jpeg` | GET the stored photo (help message) |
1 change: 1 addition & 0 deletions docs/api-endpoints/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The endpoints are categorized as below
* [Feeds](feeds.md)
* [Moderation](moderation.md)
* [Messaging](messaging.md)
* [Helps](helps.md)
* [Person](person.md)
* [Relationships](relationships.md)
* [Search](search.md)
Expand Down
21 changes: 12 additions & 9 deletions docs/api-endpoints/messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@ title: "API endpoint: messaging"

## Verified Endpoints

| URL | Use |
|------------------------------------------------------------------------------|--------------------------------|
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/SendMessage` | POST message |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetMessages` | GET message |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetConversationsById` | GET message with the member id |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetConversationFeed` | GET the conversation Feed |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetPendingInvites` | GET the pending invitations |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/ClearConversation` | POST clear message Feed |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetSentInvites` | GET invitations |
| URL | Use |
|---------------------------------------------------------------------------------|--------------------------------|
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/SendMessage` | POST message |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetMessages` | GET message |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetConversationsById` | GET message with the member id |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/CreateConversation` | POST create a Groups |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetConversationFeed` | GET the conversation feed |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetPendingInvites` | GET the pending invitations |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/ClearConversation` | POST clear message feed |
| `https://ogma.bereal.team/chat.core.v1.ChatCoreService/GetSentInvites` | GET invitations |
| `https://ogma.bereal.team/media.upload.v1.MediaUploadService/CreateUploadUrls` | POST upload a BeReal in chat |
| `https://ogma.bereal.team/realtime.core.v1.RealTimeStreamService/Stream` | GET new uploads |
23 changes: 23 additions & 0 deletions docs/api-endpoints/spotify.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: "API endpoint: spotify"
---


## Verified Endpoints

| URL | Use |
|---------------------------------------------------------------------------------|--------------------------------|
| `https://mobile.bereal.com/api/music/spotify/login` | GET login information |
| `https://mobile.bereal.com/api/music/spotify/token` | GET login token |

```
https://accounts.spotify.com/authorize?response_type
=code&client_id=ID&scope=user-read-currently-playing&redirect_uri
=https%3A%2F%2Fmobile.bereal.com%2Fapi%2Fmusic%2Fspotify%2Ftoken&state=TOKEN
response_type: code
client_id: CLIENT_ID
scope: user-read-currently-playing
redirect_uri: https://mobile.bereal.com/api/music/spotify/token
state: STATE_ID
```
2 changes: 2 additions & 0 deletions docs/domains/sub-domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ title: Sub Domains
|-------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
| `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 |
| `cdn-c.bereal.network` | New CDN |
| `cdn-goo.bereal.com` | New 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 |


Expand Down
2 changes: 1 addition & 1 deletion docs/domains/top-level-domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ title: Top Level Domains
| [`bereal.com`](sub-domains.md#berealcom) | Back Office tools |
| [`bereal.network`](sub-domains.md#berealnetwork) | CND and off cloud Networking systems |
| [`bereal.team`](sub-domains.md#berealteam) | Engineers tools and Back Office tools |
| [`ogma.bereal.team`](sub-domains.md#berealteam) | Messaging service |
| [`ogma.bereal.team`](sub-domains.md#berealteam) | Messaging service |

0 comments on commit 81d7b5b

Please sign in to comment.