Current section
Files
Jump to
Current section
Files
lib/docs/v1.databases.database_id.query.post.json
{
"desc": "Gets a list of Pages contained in the database, filtered and ordered according to the filter conditions and sort criteria provided in the request. The response may contain fewer than page_size of results.",
"errors": {
"400": "Returns a 400 if the request is incorrectly formatted.",
"404": "Returns a 404 HTTP response if the database doesn't exist, or if the integration doesn't have access to the database.",
"429": "Returns a 429 HTTP response if the request exceeds the request limits."
},
"args": {
"database_id": {
"path_params" : true,
"desc" : "Identifier for a Notion database."
},
"filter": {
"required" : false,
"type" : "json",
"desc" : "When supplied, limits which pages are returned based on the filter conditions."
},
"sorts": {
"required" : false,
"type" : "array",
"desc" : "When supplied, orders the results based on the provided sort criteria."
},
"start_cursor": {
"required" : false,
"type" : "string",
"desc" : "When supplied, returns a page of results starting after the cursor provided. If not supplied, this endpoint will return the first page of results."
},
"page_size": {
"required" : false,
"type" : "string",
"desc" : "The number of items from the full list desired in the response. Maximum: 100"
}
}
}