Skip to content

Commit 228b055

Browse files
authored
Merge pull request #50 from seatable/5.3-changes
Changes for SeaTable 5.3
2 parents 511b972 + 01e316e commit 228b055

15 files changed

+41
-530
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

intro/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Listed below are all the changes to the SeaTable API. Each date corresponds to a
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
>

intro/introduction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ Note down the name of the tables and the name of the columns. You will need thes
111111

112112
### Step 4: Write some data to your base
113113

114-
The request to [Add a row](https://api.seatable.com/reference/addrowdeprecated) to a base, requires the following information. You have to know ...
114+
The request to [Append Rows](https://api.seatable.io/reference/appendrows) to a base, requires the following information. You have to know ...
115115

116116
- the `Base-Token` for authentication -> ok
117117
- the `base_uuid` to identify the base -> no problem
118118
- the `table_name` -> you should know this from the last request
119-
- and you have to define the row object, meaning that you have to tell the API what values you want to write to the table.
119+
- and you have to define the row object(s), meaning that you have to tell the API what values you want to write to the table.
120120

121-
At first it looks difficult to define the row object, but in fact it is quite easy. The row object consists of key:value pairs. The key is the name of the column and the value is that what you want to write to the base. So if you want to create a line with **John Doe**, then the row object looks like this:
121+
At first it looks difficult to define the row objects, but in fact it is quite easy. The row objects consist of key:value pairs. The key is the name of the column and the value is that what you want to write to the base. So if you want to create a row with **John Doe**, then the row object looks like this:
122122

123123
```json Row object, writing some values to the columns with the name First name and Last name.
124124
{

intro/limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Meaning that if you reach the rate limit for one base, you still could make requ
2626
2727
> ❗ Important Update: API Endpoint Changes
2828
>
29-
> 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.
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.
3030
3131
### Retrieve current rate limit usage
3232

intro/models.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,7 @@ SeaTable offers some column types that are **filled automatically**. It is not p
190190

191191
### Handling of default values
192192

193-
If you use the old [Append Rows](https://api.seatable.com/reference/appendrowsdeprecated) endpoint, the **default values** of the text, number and single select column types **won't be filled** by the API request automatically. If you leave these fields blank, they'll also be blank after the new row is appended, which is different than the behavior on the web UI.
194-
195-
If you use the new [Append Rows](https://api.seatable.com/reference/appendrows) endpoint, you can set the `apply_default` body parameter to `true`, which ensures that any default values are automatically applied.
193+
If you use the [Append Rows](https://api.seatable.io/reference/appendrows) endpoint, you can set the `apply_default` body parameter to `true`, which ensures that any default values are automatically applied.
196194

197195
---
198196

tests/__snapshots__/test_base_operations/test_appendRows[appendRowsDeprecated].json

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/__snapshots__/test_base_operations/test_createTable[createTableDeprecated].json

Lines changed: 0 additions & 39 deletions
This file was deleted.

tests/__snapshots__/test_base_operations/test_createTable[createTable].json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"groups": [],
2727
"hidden_columns": [],
2828
"is_locked": false,
29-
"link_rows": {},
3029
"name": "Default View",
3130
"private_for": null,
3231
"row_height": "default",

tests/__snapshots__/test_base_operations/test_getRow[getRowDeprecated].json

Lines changed: 0 additions & 28 deletions
This file was deleted.

tests/__snapshots__/test_base_operations/test_listRows[listRowsDeprecated].json

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)