pyfarm.agent.http.api.software module

Check Software Endpoint

This endpoint is used to instruct the agent to check whether a given version of a software is installed and usable locally.

class pyfarm.agent.http.api.software.CheckSoftware[source]

Bases: pyfarm.agent.http.api.base.APIResource

Requests the agent to check whether a given software version is installed locally.

The agent will asynchronously update its software information on the master.

POST /api/v1/check_software HTTP/1.1

Request

POST /api/v1/check_software HTTP/1.1
Accept: application/json

{
    "software": "Blender",
    "version": "2.72"
}

Response

HTTP/1.1 200 ACCEPTED
Content-Type: application/json
SCHEMAS = {'POST': <Schema({'version': Any([<type 'str'>, <type 'unicode'>]), 'software': Any([<type 'str'>, <type 'unicode'>])}, extra=PREVENT_EXTRA, required=False) object>}
isLeaf = False
testing = False
post(**kwargs)[source]