jobs

Authorize artifacts upload

Authorizes uploading artifacts for a specified job.

post/api/v4/jobs/{id}/artifacts/authorize

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idinteger required

Job's ID

Request body

tokenstring

Job's authentication token

filesizeinteger

Size of artifact file

artifact_type'archive' | 'metadata' | 'trace' | 'junit' | 'sast' | 'dependency_scanning' | 'container_scanning' | 'dast' | 'codequality' | 'license_scanning' | 'performance' | 'metrics' | 'metrics_referee' | 'network_referee' | 'lsif' | 'dotenv' | 'cobertura' | 'terraform' | 'accessibility' | 'cluster_applications' | 'secret_detection' | 'requirements' | 'coverage_fuzzing' | 'browser_performance' | 'load_performance' | 'api_fuzzing' | 'cluster_image_scanning' | 'cyclonedx' | 'requirements_v2' | 'annotations' | 'repository_xray' | 'jacoco' | 'sarif'

The type of artifact

Response

Upload allowed

Changes

No recorded changes to this operation across all 5 revisions of this API.