https://<jira_base_url>/rest/api/2/search?maxResults=10&expand=names
In above REST API URL what search?maxResults=10 indicates?
`search` is endpoint for to search for issues in Jira
`maxResults=10` is parameter that denotes number of results API will return.
You can look at this link for more details,
https://docs.atlassian.com/software/jira/docs/api/REST/8.3.1/#api/2/search
Thank you