You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: intro/limits.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,13 +24,9 @@ Meaning that if you reach the rate limit for one base, you still could make requ
24
24
>
25
25
> Currently, the same limits apply to all SeaTable Cloud customers. In the future, SeaTable might adjust the rate limits to balance for demand and reliability. SeaTable may also introduce distinct rate limits for teams with different pricing plans.
26
26
27
-
> ❗ Important Update: API Endpoint Changes
28
-
>
29
-
> In version 5.2, the `/dtable-server` and `/dtable-db` endpoints will be deprecated and then removed in version 5.3. All functions will be transitioned to `/api-gateway` endpoints. Please update your custom integrations and scripts accordingly to ensure continued functionality. More information will be provided with the release notes of SeaTable version 5.2.
30
-
31
27
### Retrieve current rate limit usage
32
28
33
-
The new `/api-gateway` endpoints return the current API rate limit usage through `x-ratelimit` headers. These headers provide the minute limit, the current usage, and the next reset time as a Unix timestamp in seconds. Below is an example of the returned headers:
29
+
The `/api-gateway` endpoints return the current API rate limit usage through `x-ratelimit` headers. These headers provide the minute limit, the current usage, and the next reset time as a Unix timestamp in seconds. Below is an example of the returned headers:
Copy file name to clipboardExpand all lines: intro/requirement-self-hosted.md
+4-203Lines changed: 4 additions & 203 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,184 +37,13 @@ After the first login you can start right away to start with your first API requ
37
37
38
38
## Try It! with SeaTable Server
39
39
40
-
If you are running your own [SeaTable server](https://seatable.com/on-premises/), you will need to change your nginx configuration so that the **Try It!**function works with your server and that you can easily copy and paste the generated API requests without authorization errors. Please replace your existing nginx configuration at `/opt/seatable/seatable-data/seatable/conf/nginx.conf` with the following setup.
40
+
If you are running your own [SeaTable server](https://seatable.com/on-premises/), the **Try It!**feature works seamlessly with your server, allowing you to easily copy and paste the generated API requests without encountering authorization errors.
41
41
42
-
Of course you have to replace `{your.seatable.server}` with the public URL of your server and then reload the updated nginx configuration inside the SeaTable docker container with `nginx -s reload`. For more details about this command and the SeaTable docker container, check the [admin manual](https://admin.seatable.com).
42
+
### Technical background: Enable CORS to allow requests from api.seatable.com
This section is for those interested in the technical details behind why api.seatable.com can send requests to your SeaTable server. To enable this functionality, CORS (Cross-Origin Resource Sharing) must be configured to allow requests from api.seatable.com.
### Enable CORS to allow requests from api.seatable.com
216
-
217
-
CORS is the abbreviation for[Cross-origin resource sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), which is a security mechanism to prevent request from another domain to your server. If you don't allow CORS request for api.seatable.com, the **Try It!** button will not work. After the click you will see a rotating circle on the button and error messagesin your browser console.
46
+
`CORS` is the abbreviation for [Cross-origin resource sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), which is a security mechanism to prevent request from another domain to your server. If you don't allow CORS request for api.seatable.com, the **Try It!** button will not work. After the click you will see a rotating circle on the button and error messages in your browser console.
218
47
219
48

220
49
@@ -235,31 +64,3 @@ if ($request_method = 'OPTIONS') {
235
64
>
236
65
> A common error with `add_header` is that these values are not inherited. I.e. in the `location ...` blocks no `add_header` may occur, because otherwise the previously set headers are not taken over.
237
66
238
-
## Rewrite of the authorization header (only necessary for SeaTable <4.0)
239
-
240
-
Before Version 4.0 SeaTable uses an authorization header that does not comply with the OpenAPI standard. This API reference generates API requests with an authorization header like `authorization: Bearer xxx` but SeaTable requires headers like `authorization: Token xxx`. The following part of the nginx configuration rewrites the header. With Version 4.0 SeaTable will also accept [Bearer Authentication](https://swagger.io/docs/specification/authentication/bearer-authentication/) and this part is not necessary any more.
0 commit comments