GET
/
table
/
{tableId}
/
aggregation
/
calendar-daily-collection
curl --request GET \
  --url 'https://app.teable.io/api/table/%7BtableId%7D/aggregation/calendar-daily-collection?viewId=viwXXXXXXX&filter=SOME_STRING_VALUE&search=SOME_ARRAY_VALUE&ignoreViewQuery=SOME_STRING_VALUE&startDate=SOME_STRING_VALUE&endDate=SOME_STRING_VALUE&startDateFieldId=SOME_STRING_VALUE&endDateFieldId=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "countMap": {},
  "records": [
    {
      "id": "<string>",
      "name": "<string>",
      "fields": {},
      "autoNumber": 123,
      "createdTime": "<string>",
      "lastModifiedTime": "<string>",
      "createdBy": "<string>",
      "lastModifiedBy": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tableId
string
required

Query Parameters

viewId
string

Set the view you want to fetch, default is first view. result will filter and sort by view options.

filter
string

A filter object used to filter results. It allows complex query conditions based on fields, operators, and values.

Search for records that match the specified field and value

ignoreViewQuery

When a viewId is specified, configure this to true will ignore the view's filter, sort, etc

startDate
string
required
endDate
string
required
startDateFieldId
string
required
endDateFieldId
string
required

Response

200 - application/json
Calendar daily collection for the view
countMap
object
required
records
object[]
required