per_page
parameter. GitHub generates a url-encoded page
token using a cursor value for where the next page begins. For more information on cursor pagination, see "Offset and Cursor Pagination explained."per_page
parameter provides pagination for a list of IdP groups the authenticated user can access in an organization. For example, if the user octocat
wants to see two groups per page in octo-org
via cURL, it would look like this:curl --location --request GET 'https://api.github.com/orgs//team-sync/groups'
{
"groups": [
{
"group_description": "A group of Developers working on AzureAD SAML SSO",
"group_id": "111a1a11-aaa1-1aaa-11a1-a1a1a1a1a1aa",
"group_name": "saml-azuread-test"
},
{
"group_description": "Another group of Developers working on AzureAD SAML SSO",
"group_id": "2bb2bb2b-bb22-22bb-2bb2-bb2bbb2bb2b2",
"group_name": "saml-azuread-test2"
}
]
}