-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
49 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# ARD-Eventhub (Working Title) | ||
|
||
## Changelog | ||
# ARD-Eventhub / Changelog | ||
|
||
Coming soon... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ This page explicitly covers the login methods for the ARD-Eventhub API. Compared | |
|
||
**POST `{HOST}/auth/login`** | ||
|
||
```js | ||
```json | ||
{ | ||
"email": "[email protected]", | ||
"password": "my-password" | ||
|
@@ -28,14 +28,14 @@ This page explicitly covers the login methods for the ARD-Eventhub API. Compared | |
|
||
Returns `200 OK` | ||
|
||
```js | ||
```json | ||
{ | ||
"expiresIn": 3600, | ||
"expires": "2021-03-12T12:55:22.995Z", | ||
"token": "eyABCDEF.GHIJKL....", | ||
"refreshToken": "AOabcdefghijkl", | ||
"user": { | ||
/* ... */ | ||
"some": "objects" | ||
}, | ||
"trace": null | ||
} | ||
|
@@ -49,22 +49,22 @@ While the normal `token` expires, the `refreshToken` can be used for a longer pe | |
|
||
**POST `{HOST}/auth/refresh`** | ||
|
||
```js | ||
```json | ||
{ | ||
"refreshToken": "abcXYZ..." | ||
} | ||
``` | ||
|
||
Returns `200 OK` | ||
|
||
```js | ||
```json | ||
{ | ||
"expiresIn": 3600, | ||
"expires": "2021-03-12T12:55:22.995Z", | ||
"token": "eyABCDEF.GHIJKL....", | ||
"refreshToken": "AOabcdefghijkl", | ||
"user": { | ||
/* ... */ | ||
"some": "objects" | ||
}, | ||
"trace": null | ||
} | ||
|
@@ -86,7 +86,7 @@ Sometimes you might loose your old password and need to reset it. If this happen | |
|
||
**POST `{HOST}/auth/reset`** | ||
|
||
```js | ||
```json | ||
{ | ||
"email": "[email protected]" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# ARD-Eventhub / Stages | ||
|
||
The Eventhub differentiates by stages given to the service via env `STAGE` and different runtime environments, such as a deployment to beta, test, or similar. | ||
|
||
- [ARD-Eventhub / Stages](#ard-eventhub--stages) | ||
- [Ingest](#ingest) | ||
- [Ingest Service Stages](#ingest-service-stages) | ||
- [Ingest Deployment Stages](#ingest-deployment-stages) | ||
|
||
## Ingest | ||
|
||
### Ingest Service Stages | ||
|
||
| Module | `dev` | `prod` | | ||
| ----------- | --------------- | ---------------- | | ||
| Database | Namespace `dev` | Namespace `prod` | | ||
| Dev Logging | true | false | | ||
|
||
### Ingest Deployment Stages | ||
|
||
| Module | `dev` | `test` | `beta` | `prod` | | ||
| ------------------ | --------------------------- | ----------------------------------- | ---------------- | ---------------- | | ||
| Used Ingest Stage | `dev` | `dev` | `prod` | `prod` | | ||
| Stable | No, used for internal tests | Yes, can be used for external tests | Ususally | Yes | | ||
| Runtime | Cloud Run | Kubernetes | Kubernetes | Kubernetes | | ||
| Container Registry | Eventhub project | Eventhub project | Eventhub project | Eventhub project | | ||
| URL | n/a | n/a | n/a | n/a | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
- [ARD-Eventhub Overview](/ 'ARD-Eventhub') | ||
- [Authentication](/docs/AUTHENTICATION.md) | ||
- [Changelog](/CHANGELOG.md) | ||
- [Events](/docs/EVENTS.md) | ||
- [Secrets](/docs/SECRETS.md) | ||
- [Stages](/docs/STAGES.md) | ||
- [Types](/docs/TYPES.md) | ||
- [Users](/docs/USERS.md) | ||
|
||
> Created by SWR Audio Lab and ARD Online |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters