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
// @Param body body map[string]string true "Request body"
347
+
// @Param id path string true "Upload ID"
348
+
// @Param body body map[string]types.UploadColumnMapping true "Request body"
349
349
funcimporterSetColumnMapping(c*gin.Context) {
350
350
id:=c.Param("id")
351
351
iflen(id) ==0 {
352
352
c.AbortWithStatusJSON(http.StatusBadRequest, types.Res{Err: "No upload ID provided"})
353
353
return
354
354
}
355
355
356
-
// Non-schemaless: Upload column ID -> Template column ID
357
-
// Schemaless: Upload column ID -> User-provided key (i.e. first_name) (only from the request, this will be updated to IDs after the template is generated)
// Non-schemaless: Upload column ID -> Template column ID
364
+
// Schemaless: Upload column ID -> User-provided key (i.e. first_name) (only from the request, this will be updated to IDs after the template is generated)
Copy file name to clipboardExpand all lines: docs/api-reference/get-import-rows.mdx
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,31 @@ title: "Get Import Rows"
3
3
openapi: "GET /import/{id}/rows"
4
4
---
5
5
6
-
Retrieve the rows of an import as JSON. This endpoint supports pagination by using a limit/offset. If the limit and offset are not provided, it will return the first 1000 rows of the import.
6
+
Retrieve the rows of an import as JSON. This endpoint supports pagination by using a limit/offset. If the limit and offset are not provided, it will return the first 1,000 rows of the import.
7
7
8
8
To use the limit/offset, start by setting the offset to 0 and the limit to 100 to get the first 100 rows of data. To get the next 100 rows, set the offset to 100 while keeping the limit the same. Continue increasing the offset by 100 until no more rows are returned.
0 commit comments