api_service: Bulk API V2
compatibility_target: v63.0
entry_points:
  - label: Shared Integration API Index
    url: https://developer.salesforce.com/devcenter/integration-apis
  - label: Bulk API 2.0 Overview
    url: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/bulk_api_2_0.htm
  - label: Bulk API 2.0 Quickstart
    url: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/get_started_bulk_api_2.htm
  - label: Bulk API 2.0 Headers Intro
    url: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/bulk_api_2_0_headers_intro.htm
categories:
  - category: Auth
    endpoints:
      - name: Issue Client Credentials Token
        method: POST
        path: /services/oauth2/token
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/get_started_bulk_api_2.htm
        coverage: covered
        test_file: auth/post_services_oauth2_token_test.go
      - name: Reject Missing Bulk Authorization Header
        method: GET
        path: /services/data/v63.0/jobs/query/{jobId}
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/bulk_api_2_0_headers_intro.htm
        coverage: covered
        test_file: auth/get_jobs_query_job_id_without_authorization_test.go
  - category: Query
    endpoints:
      - name: Create Query Job
        method: POST
        path: /services/data/v63.0/jobs/query
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/query_create_job.htm
        coverage: covered
        test_file: query/post_jobs_query_test.go
      - name: Get Query Job
        method: GET
        path: /services/data/v63.0/jobs/query/{jobId}
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/query_get_one_job.htm
        coverage: covered
        test_file: query/get_jobs_query_job_id_test.go
      - name: Get Query Job Results
        method: GET
        path: /services/data/v63.0/jobs/query/{jobId}/results
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/query_get_job_results.htm
        coverage: covered
        test_file: query/get_jobs_query_job_id_results_test.go
  - category: Ingest
    endpoints:
      - name: Create Ingest Job
        method: POST
        path: /services/data/v63.0/jobs/ingest
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/create_job.htm
        coverage: covered
        test_file: ingest/post_jobs_ingest_test.go
      - name: Get Ingest Job
        method: GET
        path: /services/data/v63.0/jobs/ingest/{jobId}
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/get_job_info.htm
        coverage: covered
        test_file: ingest/get_jobs_ingest_job_id_test.go
      - name: Close Ingest Job
        method: PATCH
        path: /services/data/v63.0/jobs/ingest/{jobId}
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/close_job.htm
        coverage: covered
        test_file: ingest/patch_jobs_ingest_job_id_test.go
      - name: Upload Ingest Job Data
        method: PUT
        path: /services/data/v63.0/jobs/ingest/{jobId}/batches
        doc: https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/upload_job_data.htm
        coverage: covered
        test_file: ingest/put_jobs_ingest_job_id_batches_test.go
