This API has two different kinds of endpoint URIs, as this method supports a variety of use cases.
The Metadata URI is used for most interactions, as it accepts the job configuration directly.
The Upload URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts.
HTTP request
Upload URI, for media upload requests: POST https://bigquery.googleapis.com/upload/bigquery/v2/projects/{projectId}/jobs
Metadata URI, for metadata-only requests: POST https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/jobs
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-20 UTC."],[[["This API endpoint initiates a new asynchronous job, offering two distinct URI types: Metadata and Upload."],["The Metadata URI handles standard interactions by accepting the job configuration directly, while the Upload URI is specifically for simultaneous transmission of both job configuration and a data stream."],["The request utilizes either the Metadata URI (`POST https://bigquery.googleapis.com/bigquery/v2/projects/{projectId}/jobs`) or the Upload URI (`POST https://bigquery.googleapis.com/upload/bigquery/v2/projects/{projectId}/jobs`)."],["Both the request and response bodies utilize the `Job` resource."],["Authorization requires one of several specified OAuth scopes, including `https://www.googleapis.com/auth/bigquery` or `https://www.googleapis.com/auth/cloud-platform`."]]],[]]