Skip to content

Commit 298d276

Browse files
authored
Merge branch 'v5.3' into v5.2
2 parents 2b94334 + 228b055 commit 298d276

24 files changed

+145
-622
lines changed

.github/workflows/rdme-openapi.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ jobs:
7474
with:
7575
rdme: openapi base_operations.yaml --key=${{ secrets.README_API_KEY }} --id=67812a09e88eab0a89818909 --useSpecVersion
7676

77-
# base operations (before 4.4)
78-
- name: Update base operations 🚀
79-
uses: readmeio/rdme@v8
80-
with:
81-
rdme: openapi base_operations_deprecated.yaml --key=${{ secrets.README_API_KEY }} --id=67812a09e88eab0a89818902 --useSpecVersion
82-
8377
# file operations
8478
- name: Update file operations 🚀
8579
uses: readmeio/rdme@v8

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Welcome to the SeaTable OpenAPI Definition Repository! 🌊🔍✨
44

55
This repository encompasses all supported API calls for the SeaTable Server. The OpenAPI definition here serves two primary purposes:
66

7-
1. Generate the online API reference accessible at https://api.seatable.io.
7+
1. Generate the online API reference accessible at https://api.seatable.com.
88
2. Generate the Postman collection, which is available at https://www.postman.com/seatable.
99

1010
The repository is organized into version branches.

authentication.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ components:
5454
workspace_id:
5555
name: workspace_id
5656
description: |
57-
The id of the workspace. For an explanation how to get the *workspace_id*, check out this [help-article](https://seatable.io/docs/arbeiten-mit-gruppen/workspace-id-einer-gruppe-ermitteln/?lang=auto).
57+
The id of the workspace. For an explanation how to get the *workspace_id*, check out this [help-article](https://seatable.com/help/workspace-id-einer-gruppe-ermitteln/).
5858
Alternatively the API endpoint [get metadata](/reference/getmetadata) can be used.
5959
in: path
6060
schema:

base_operations.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2542,7 +2542,7 @@ paths:
25422542
>
25432543
> New rows (INSERT statement) are always added to the **big data backend**. An error message will be returned, if the big data backend is not activated for the target base.
25442544
2545-
The complete [SQL Reference](https://developer.seatable.io/scripts/sql/reference/) can be found documentation in the developer manual.
2545+
The complete [SQL Reference](https://developer.seatable.com/scripts/sql/reference/) can be found documentation in the developer manual.
25462546
25472547
Here are some example requests for a fictitious table *Family* with the columns *name*, *age* and *birthday*:
25482548
@@ -2562,6 +2562,10 @@ paths:
25622562
>
25632563
> - The request returns a maximum of 10 000 rows, even if you specify a higher limit in your SQL-statement.
25642564
> - If you don't specify a limit, max 100 rows are returned.
2565+
2566+
> 📘 Link Columns
2567+
>
2568+
> Link columns return a maximum of 50 records per row.
25652569
requestBody:
25662570
content:
25672571
application/json:
@@ -2602,7 +2606,7 @@ paths:
26022606
26032607
> 📘 Link Columns
26042608
>
2605-
> Before version 5.3, the link column of a row returns a maximum of 10 records. From version 5.3 onward, it returns a maximum of 50 records.
2609+
> From version 5.3 onward, the link column of a row returns a maximum of 50 records.
26062610
26072611
security:
26082612
- BaseTokenAuth: []
@@ -3522,7 +3526,7 @@ paths:
35223526
35233527
`new_column_type` is the new type of the target column. For a list of
35243528
column type params refer to the SeaTable API Parameter.
3525-
For further information on column types, check the page [Models](https://api.seatable.io/reference/models).
3529+
For further information on column types, check the page [Models](https://api.seatable.com/reference/models).
35263530
requestBody:
35273531
content:
35283532
application/json:
@@ -3600,7 +3604,7 @@ paths:
36003604
For details, refer to the call [Insert Column](/reference/insertcolumn-1).
36013605
36023606
Please note that you can't append `formula`, `link` or `link-formula` columns using this endpoint.
3603-
Use the [Insert Column](https://api.seatable.io/reference/insertcolumn-1) endpoint instead.
3607+
Use the [Insert Column](https://api.seatable.com/reference/insertcolumn-1) endpoint instead.
36043608
requestBody:
36053609
content:
36063610
application/json:

base_operations_deprecated.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2595,7 +2595,7 @@ paths:
25952595
`SELECT name, age, birthday, gender FROM Participants`<br/>
25962596
`SELECT name, surname FROM Participants ORDER BY name`<br/>
25972597
`SELECT * FROM Participants LIMIT 25`
2598-
For more details, check the [SQL-syntax supported by SeaTable](https://developer.seatable.io/scripts/sql/reference/).
2598+
For more details, check the [SQL-syntax supported by SeaTable](https://developer.seatable.com/scripts/sql/reference/).
25992599
26002600
> 📘 Returns also data from the big data backend
26012601
>
@@ -3811,7 +3811,7 @@ paths:
38113811
`new_column_type` is the new type of the target column. For a list of
38123812
column type params refer to the SeaTable API Parameter.
38133813
3814-
Get more information about columns and column types in [Models](https://api.seatable.io/reference/models).
3814+
Get more information about columns and column types in [Models](https://api.seatable.com/reference/models).
38153815
requestBody:
38163816
content:
38173817
application/json:
@@ -3891,7 +3891,7 @@ paths:
38913891
For details, refer to the call [Insert Column](/reference/insertcolumndeprecated).
38923892
38933893
Please note that you can't append `formula`, `link` or `link-formula` columns using this endpoint.
3894-
Use the [Insert Column](https://api.seatable.io/reference/insertcolumndeprecated) endpoint instead.
3894+
Use the [Insert Column](https://api.seatable.com/reference/insertcolumndeprecated) endpoint instead.
38953895
requestBody:
38963896
content:
38973897
application/json:

custom-domain/README.md

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The following setup allows to reach api documentation via custom subdomain. A ng
88
- MAIN URL: https://seatable.io
99
- Robots.txt: [x] Indexing by robots is allowed
1010
- SITEMAP: [ ] The sitemap.xml is disabled
11-
- CANONICAL URL: https://api.seatable.io
11+
- CANONICAL URL: https://api.seatable.com
1212

1313
## Server configuration
1414

@@ -20,10 +20,10 @@ It is important to add any header in the nginx configuration, otherwise the goog
2020
```bash
2121
server {
2222
listen 443 ssl;
23-
server_name api.seatable.io;
23+
server_name api.seatable.com;
2424

25-
ssl_certificate /etc/letsencrypt/live/api.seatable.io/fullchain.pem;
26-
ssl_certificate_key /etc/letsencrypt/live/api.seatable.io/privkey.pem;
25+
ssl_certificate /etc/letsencrypt/live/api.seatable.com/fullchain.pem;
26+
ssl_certificate_key /etc/letsencrypt/live/api.seatable.com/privkey.pem;
2727
ssl_session_timeout 5m;
2828

2929
ssl_protocols TLSv1.2;
@@ -46,20 +46,20 @@ server {
4646
}
4747

4848
location /sitemap.xml {
49-
root /var/www/api.seatable.io/;
49+
root /var/www/api.seatable.com/;
5050
access_log off;
5151
}
5252

5353
location /robots.txt {
54-
root /var/www/api.seatable.io/;
54+
root /var/www/api.seatable.com/;
5555
access_log off;
5656
}
5757
}
5858
```
5959

6060
### robots.txt
6161

62-
The `/var/www/api.seatable.io/robots.txt` looks like this:
62+
The `/var/www/api.seatable.com/robots.txt` looks like this:
6363

6464
```bash
6565
User-agent: *
@@ -68,21 +68,31 @@ Disallow: /edit/
6868
Disallow: /suggested-edits/
6969
Disallow: /login
7070
Disallow: /logout
71+
Disallow: /v9
72+
Disallow: /v8
73+
Disallow: /v7
74+
Disallow: /v6
75+
Disallow: /v5
76+
Disallow: /v4
77+
Disallow: /v3
78+
Disallow: /v2
79+
Disallow: /v1
7180
```
7281

7382
### Cronjob to create a sitemap.xml
7483

75-
The following script runs every day one via cronjob in the directory `/var/www/api.seatable.io` and generates a `sitemap.xml`.
84+
The following script runs every day one via cronjob in the directory `/var/www/api.seatable.com` and generates a `sitemap.xml`.
85+
The cronjob could be: `1 1 * * * /var/www/api.seatable.com/create-sitemap.sh`
7686

7787
```bash
7888
#!/bin/bash
7989

80-
SOURCE_URL="https://api.seatable.io/reference/introduction"
81-
OUTPUT_FILE_NAME="sitemap.xml"
90+
SOURCE_URL="https://api.seatable.com/reference/introduction"
91+
OUTPUT_FILE_NAME="/var/www/api.seatable.com/sitemap.xml"
8292

8393
echo "Generate a new sitemap for ${SOURCE_URL}"
8494
curl ${SOURCE_URL} | grep -o 'href="/reference/[^"]*">' | cut -c7- | rev | cut -c3- | rev > ./found_links.txt
85-
sort ./found_links.txt | uniq > found_links_cleaned.txt
95+
sort /tmp/found_links.txt | uniq > /tmp/found_links_cleaned.txt
8696

8797
# Create the XML header
8898
echo '<?xml version="1.0" encoding="UTF-8"?>' > ${OUTPUT_FILE_NAME}
@@ -92,7 +102,7 @@ echo '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' >> ${OUTPUT_
92102
while IFS= read -r line; do
93103
line=$(echo "$line" | sed 's/^\///') # Remove leading /
94104
echo " <url>" >> ${OUTPUT_FILE_NAME}
95-
echo " <loc>https://api.seatable.io/$line</loc>" >> ${OUTPUT_FILE_NAME}
105+
echo " <loc>https://api.seatable.com/$line</loc>" >> ${OUTPUT_FILE_NAME}
96106
echo " <changefreq>daily</changefreq>" >> ${OUTPUT_FILE_NAME}
97107
echo " <priority>0.3</priority>" >> ${OUTPUT_FILE_NAME}
98108
echo " </url>" >> ${OUTPUT_FILE_NAME}
@@ -101,6 +111,6 @@ done < found_links_cleaned.txt
101111
# Close the XML
102112
echo '</urlset>' >> ${OUTPUT_FILE_NAME}
103113

104-
rm ./found_links.txt
105-
rm ./found_links_cleaned.txt
114+
rm /tmp/found_links.txt
115+
rm /tmp/found_links_cleaned.txt
106116
```

intro/authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ Treat your tokens like passwords, so be sure to keep them secure! Do not share y
8484

8585
Account-Operations differentiate between User, Team Admin and System Admin. These are the three possible roles a user can have within SeaTable. Each user always has the User permission. The Team Admin or System Admin role must also be assigned to a user, and Team Admins only exist if teams/organizations are enabled in SeaTable. This is the case with <https://cloud.seatable.io>, but is typically not the case with self-hosted SeaTable instances.
8686

87-
More details on SeaTable's team/organization structure and admin management can be found at <https://seatable.io/docs/>.
87+
More details on SeaTable's team/organization structure and admin management can be found at <https://help.seatable.com>.

intro/changelog.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ slug: changelog
1212
}
1313
</style>
1414

15-
Listed below are all the changes to the SeaTable API. Each date corresponds to a new version of SeaTable Server Enterprise Edition. If you’re looking for changes beyond the API, see the SeaTable [Changelog](https://seatable.io/docs/changelog) or check out the [SeaTable Blog](https://seatable.io/blog) for detailed release notes.
15+
Listed below are all the changes to the SeaTable API. Each date corresponds to a new version of SeaTable Server Enterprise Edition. If you’re looking for changes beyond the API, see the SeaTable [Changelog](https://seatable.com/changelog) or check out the [SeaTable Blog](https://seatable.io/blog) for detailed release notes.
1616

1717
## Version 5.2 (25.02.2025)
1818

1919
> ❗ Important Update: API Endpoint Changes
2020
>
21-
> In version 5.2, the `/dtable-server` and `/dtable-db` endpoints will be deprecated and then removed in version 6.0. 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.
21+
> 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.
2222
2323
> 📘 New requests
2424
>
@@ -36,7 +36,7 @@ Listed below are all the changes to the SeaTable API. Each date corresponds to a
3636
3737
## Version 5.1 (08.11.2024)
3838

39-
[View API Documentation for v5.1](https://api.seatable.io/v5.1)
39+
[View API Documentation for v5.1](https://api.seatable.com/v5.1)
4040

4141
> 📘 New requests
4242
>
@@ -53,7 +53,7 @@ Listed below are all the changes to the SeaTable API. Each date corresponds to a
5353
5454
## Version 5.0 (15.07.2024)
5555

56-
The SeaTable API Reference for version 5.0 is no longer accessible here. However, you can find it on [Github](https://github.com/seatable/openapi/tree/v5.0).
56+
[View API Documentation for v5.0](https://api.seatable.com/v5.0)
5757

5858
We recommend using the new `/api-gateway/` endpoints. These endpoints are faster because they check if the base has remained unchanged since the last request, allowing for quicker responses.
5959

@@ -68,7 +68,7 @@ We recommend using the new `/api-gateway/` endpoints. These endpoints are faster
6868
> - [List Rows](/reference/listrowsdeprecated): All column values are now consistently returned. If a value is not defined, `null` is returned instead of omitting the value.
6969
> - [Query SeaTable with SQL](/reference/querysql): Now supports `parameters` to protect against SQL injection.
7070
71-
For more details about the changes, please refer to [this post on the SeaTable Forum](https://forum.seatable.io/t/important-changes-to-api-and-seatable-cloud-with-version-5-0/4887).
71+
For more details about the changes, please refer to [this post on the SeaTable Forum](https://forum.seatable.com/t/important-changes-to-api-and-seatable-cloud-with-version-5-0/4887).
7272

7373
## Version 4.4 (15.05.2024)
7474

intro/help.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ slug: help
1414

1515
## Problems with an API request?
1616

17-
We make every effort to keep this API documentation complete and error-free. If you still have a problem with one of the API requests, please open a ticket in our [support forum](https://forum.seatable.io).
17+
We make every effort to keep this API documentation complete and error-free. If you still have a problem with one of the API requests, please open a ticket in our [support forum](https://forum.seatable.com).
1818

1919
In order to help you quickly, please add the following information in your ticket:
2020

@@ -29,7 +29,7 @@ In order to help you quickly, please add the following information in your ticke
2929

3030
## Developer Manual
3131

32-
Please have a look at the [SeaTable Developer Manual](https://developer.seatable.io). There you can find more information about custom API clients or code examples.
32+
Please have a look at the [SeaTable Developer Manual](https://developer.seatable.com). There you can find more information about custom API clients or code examples.
3333

3434
## Expert support
3535

0 commit comments

Comments
 (0)