[Pulp-dev] example json to upload a tag?

Tom McKay thomasmckay at redhat.com
Wed Jan 24 21:24:48 UTC 2018


Thanks @mansari and @asmacado for help on IRC. I'll try adjusting my
example based on pulp-admin

$ pulp-admin -vv -u admin -p admin docker repo tag --repo-id
0192af48-1ade-4670-89e0-68b3d48954e6 --tag-name tictac --digest
sha256:3613615a487168b34094c16c58766a0762299c84e84429d4ab873388903e1491

{
    "override_config": {},
    "unit_type_id": "docker_tag",
    "upload_id": "92162b9b-d9d5-438d-b41f-48e928bb5298",
    "unit_key": {
        "repo_id": "0192af48-1ade-4670-89e0-68b3d48954e6",
        "name": "tictac"
    },
    "unit_metadata": {
        "name": "tictac",
        "digest":
"sha256:3613615a487168b34094c16c58766a0762299c84e84429d4ab873388903e1491"
    }
}


On Wed, Jan 24, 2018 at 3:43 PM, Tom McKay <thomasmckay at redhat.com> wrote:

> Can someone paste me an example json of creating a tag through API
> import_upload?  I'm struggling to figure out how to tag an uploaded skopeo
> tar.
>
> https://docs.pulpproject.org/en/2.15/dev-guide/integration/
> rest-api/content/upload.html?highlight=import_upload#
> import-into-a-repository
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20180124/551898d5/attachment.htm>


More information about the Pulp-dev mailing list