fix(core): update
This commit is contained in:
parent
cb351f8199
commit
d27473324e
@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
name: Tools
|
|
||||||
---
|
|
||||||
# AWMP - Tools
|
|
||||||
In order to simplify AWPM certification there are some check tools available
|
|
||||||
|
|
||||||
## checkspec
|
|
||||||
checkspec automatically checks some technical parts of the awpm-spec like brandfile-spec consistency across projects.
|
|
18
markdown/endpoints.md
Normal file
18
markdown/endpoints.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# API
|
||||||
|
|
||||||
|
## Balance Endpoint
|
||||||
|
```text
|
||||||
|
https://balance.api.global
|
||||||
|
```
|
||||||
|
api.global uses a balancing endpoint to balance clients between dynamic workers. The balance endpoint will assign you a dynamic endpoint,a secret that proves you got assigned that endpoint, a max timeframe that the worker is guranteed to be available and a max idle timeframe between requests, before your spot is given to the next api client balancing applicant. You can always come back here and ask for a new worker assignment.
|
||||||
|
|
||||||
|
|
||||||
|
## Async Endpoint
|
||||||
|
```text
|
||||||
|
https://async.api.global
|
||||||
|
```
|
||||||
|
For requests that are not sensitive for timely execution there is a async endpoint, that will schedule an request for "later point in time" exection. Any requests going there need to register a webhook within their account for transmitting responses in an asynchronious fashion.
|
||||||
|
|
||||||
|
## Worker Endpoints
|
||||||
|
[4chd76gf].api.global
|
||||||
|
Worker endpoints
|
@ -4,6 +4,7 @@ api.global is deplyoing a few hard limitations on a per account basis:
|
|||||||
|
|
||||||
* 1 million API requests per hour
|
* 1 million API requests per hour
|
||||||
* 12 million API requests per day
|
* 12 million API requests per day
|
||||||
|
* max of 10 assigned workers at any given time.
|
||||||
|
|
||||||
!!! hint
|
!!! hint
|
||||||
running into one of those limitations will result in a 429 status code with an info of when to try again attached as json payload in the response.
|
running into one of those limitations will result in a 429 status code with an info of when to try again attached as json payload in the response.
|
||||||
|
@ -89,5 +89,6 @@ nav:
|
|||||||
- Overview:
|
- Overview:
|
||||||
- Getting Started: index.md
|
- Getting Started: index.md
|
||||||
- Limitations: limitations.md
|
- Limitations: limitations.md
|
||||||
|
- Endpoints: endpoints.md
|
||||||
- NodeJS: nodejs.md
|
- NodeJS: nodejs.md
|
||||||
- Support: support.md
|
- Support: support.md
|
||||||
|
Loading…
Reference in New Issue
Block a user