Resource URL: /platform/<<version=1>>/job/types

    Overview: This resource applies the standard collection pattern to job
              types.

     Methods: GET

********************************************************************************

Method GET: List job types.

       URL: GET /platform/<<version=1>>/job/types

Query arguments:
     sort=<string> The field that will be used for sorting.
show_all=<boolean> Whether to show all job types, including hidden ones.
                   Defaults to false.
        dir=<enum> Where <enum> is one of ASC, DESC.  The direction of the sort.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "total": {
          "minimum": 0, 
          "type": "integer", 
          "description": "Total number of items available.", 
          "maximum": 4294967295
        }, 
        "types": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "properties": {
              "priority": {
                "required": true, 
                "minimum": 1, 
                "type": "integer", 
                "description": "Default priority of this job type; lower numbers preempt higher numbers.", 
                "maximum": 10
              }, 
              "description": {
                "required": true, 
                "type": "string", 
                "description": "Brief description of the job type."
              }, 
              "schedule": {
                "required": true, 
                "type": [
                  "string", 
                  "null"
                ], 
                "description": "The schedule on which this job type is queued, if any."
              }, 
              "enabled": {
                "required": true, 
                "type": "boolean", 
                "description": "Whether the job type is enabled and able to run."
              }, 
              "exclusion_set": {
                "required": true, 
                "type": "string", 
                "description": "The set(s) of mutually-exclusive job types to which this job belongs.  No job in this set may run with any other job in this set.  Obsolete; this value will always be an empty string, as exclusion sets are no longer a job type property."
              }, 
              "policy": {
                "required": true, 
                "type": "string", 
                "description": "Default impact policy of this job type."
              }, 
              "hidden": {
                "required": true, 
                "type": "boolean", 
                "description": "Whether this job type is normally visible in the UI."
              }, 
              "allow_multiple_instances": {
                "required": true, 
                "type": "boolean", 
                "description": "Whether multiple instances of this job type may run simultaneously."
              }, 
              "id": {
                "required": true, 
                "type": "string", 
                "description": "Job type ID."
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }
      }
    }
  ]
}
