Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 40e2f31081093569df699eb11a858fc8 > files > 30

python-copr-doc-1.94-1.mga7.noarch.rpm

Client version 2
================

.. warning::
    Client version 2 is obsolete, please use Client version 3 instead.


New package copr.ClientV2 supports APIv2 and should  eventually replace older one.
New API and Client_v2 provides more simple and uniform approach for communication with the Copr service.




Client mostly reflects resource based API nature. Client object offers range of methods to query from service.
Response objects contains requested information and also provides helper methods to execute new requests in the context
of retrieved objects.


.. toctree::
    :maxdepth: 1

    client_v2/initialization.rst
    client_v2/resources_usage.rst
    client_v2/errors.rst

Resources info
--------------

.. toctree::
    :maxdepth: 1

    client_v2/resource_info/project.rst
    client_v2/resource_info/project_chroot.rst
    client_v2/resource_info/build.rst
    client_v2/resource_info/build_task.rst
    client_v2/resource_info/mock_chroot.rst

Autodoc
-------

.. toctree::

    client_v2/general.rst
    client_v2/handlers.rst
    client_v2/resources.rst
    client_v2/entities.rst