Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support downloading a single artifact file #432

Closed
Milestone
@JonathonReinhart

Description

@JonathonReinhart

GitLab 10.0 added an API route todownload a single artifact file:

GET /projects/:id/jobs/:job_id/artifacts/*artifact_path

Example request:

curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" \    "https://gitlab.example.com/api/v4/projects/1/jobs/5/artifacts/some/release/file.pdf"

python-gitlabdoes not appear to support this.

I imagine something like this:

job.get_artifact('some/release/file.pdf',streamed=True,action=whatever)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp