curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#ONENOTE_SEARCH_PAGES' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "ONENOTE_SEARCH_PAGES",
"parameters": {
"type": "users",
"userId": "<string>",
"groupId": "<string>",
"siteId": "<string>",
"pagesFilterFormula": {
"operator": "OR",
"conditions": [
{
"operator": "AND",
"conditions": [
{
"field": "id",
"operator": "$stringExactlyMatches",
"value": "<string>"
}
]
}
]
},
"paginationParameters": {
"skip": 123,
"limit": 123
}
}
}
'curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#ONENOTE_SEARCH_PAGES' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "ONENOTE_SEARCH_PAGES",
"parameters": {
"type": "users",
"userId": "<string>",
"groupId": "<string>",
"siteId": "<string>",
"pagesFilterFormula": {
"operator": "OR",
"conditions": [
{
"operator": "AND",
"conditions": [
{
"field": "id",
"operator": "$stringExactlyMatches",
"value": "<string>"
}
]
}
]
},
"paginationParameters": {
"skip": 123,
"limit": 123
}
}
}
'Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
Type : Select the Type of your operation.
users, groups, sites, me User ID : Specify the ID of the User to Search Pages. (example: "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") This field appears only when 'type' = 'users')
Group ID : Specify the ID of the Group to Search Pages. (example: "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") This field appears only when 'type' = 'groups')
Site ID : Specify the ID of the Site to Search Pages. (example: "1-22db9939679d4eada2698a4e983f7a63!245-45b54f25-123d-4db3-a286-b82791117671") This field appears only when 'type' = 'sites')
A filter in disjunctive normal form: OR of AND groups of single conditions
Show child attributes
Top-level operator must be OR (DNF enforced)
OR Each item is an AND group (a conjunction of single conditions)
Show child attributes
Each group is an AND of single conditions
AND List of single conditions (AND together)
Show child attributes
id, title, createdDateTime, lastModifiedDateTime, level, order, self, contentUrl $stringExactlyMatches, $stringDoesNotExactlyMatch, $stringContains, $stringDoesNotEndWith, $stringEndsWith, $stringStartsWith, $dateTimeAfter, $dateTimeBefore, $dateTimeEquals, $booleanFalse, $booleanTrue Value to compare against
Pagination Parameters
Show child attributes
Skip($skip) for skip the number of items to return
Limit($top) to limit the number of items to return. Using this parameter will not return a nextPageCursor, which means it does not indicate whether there are more records to fetch. By default, oneNote API returns 20 items.
Success
Was this page helpful?