v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-131650101.2 KB
projects

Completes the specified prefix with keyword suggestions. Intended for use by a job search auto-complete search box.

get/v4/{+tenant}:completeQuery

Path parameters

tenantstring required

Required. Resource name of tenant the completion is performed within. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

Query parameters

companystring

If provided, restricts completion to specified company. The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

languageCodesstring[]

The list of languages of the query. This is the BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see Tags for Identifying Languages. The maximum number of allowed characters is 255.

pageSizeinteger

Required. Completion result count. The maximum allowed page size is 10.

querystring

Required. The query used to generate suggestions. The maximum number of allowed characters is 255.

scope'COMPLETION_SCOPE_UNSPECIFIED' | 'TENANT' | 'PUBLIC'

The scope of the completion. The defaults is CompletionScope.PUBLIC.

type'COMPLETION_TYPE_UNSPECIFIED' | 'JOB_TITLE' | 'COMPANY_NAME' | 'COMBINED'

The completion topic. The default is CompletionType.COMBINED.

Response

Successful response