Skip to content

Latest commit

 

History

History
67 lines (56 loc) · 2.71 KB

File metadata and controls

67 lines (56 loc) · 2.71 KB

Qc Type Resource

Resource URL http://mytorrentserver/rundb/api/v1/qctype/
Schema URL http://mytorrentserver/rundb/api/v1/qctype/schema/

Resource Fields

field help text default nullable readonly blank unique type
description Unicode string data. Ex: "Hello World" false false true false string
-------------------- -------------------------------------- ------- -------- -------- ----- ------ -------
minThreshold Integer data. Ex: 2673 0 false false false false integer
-------------------- -------------------------------------- ------- -------- -------- ----- ------ -------
maxThreshold Integer data. Ex: 2673 100 false false false false integer
-------------------- -------------------------------------- ------- -------- -------- ----- ------ -------
defaultThreshold Integer data. Ex: 2673 0 false false false false integer
-------------------- -------------------------------------- ------- -------- -------- ----- ------ -------
qcName Unicode string data. Ex: "Hello World" n/a false false false true string

--------------------id

--------------------------------------Integer data. Ex: 2673


--------false

--------false

-----true

------true

-------integer

-------------------- -------------------------------------- ------- -------- -------- ----- ------ -------
resource_uri Unicode string data. Ex: "Hello World" n/a false true false false string

Example Response

{
    "meta": {
        "previous": null, 
        "total_count": 3, 
        "offset": 0, 
        "limit": 1, 
        "next": "/rundb/api/v1/qctype/?offset=1&limit=1&format=json"
    }, 
    "objects": [
        {
            "description": "", 
            "minThreshold": 0, 
            "maxThreshold": 100, 
            "defaultThreshold": 30, 
            "qcName": "Bead Loading (%)", 
            "id": 1, 
            "resource_uri": "/rundb/api/v1/qctype/1/"
        }
    ]
}

Allowed HTTP methods

  • get
  • post
  • put
  • delete
  • patch