Returns GitFax items matching the criteria you provide. To search the records for a particlar serial number, pass ?serial_number=X. Note that there may be multiple matches for any given serial number, and you can paginate through results by passing the ?page= option.

Supported Formats

json

Errors

400 The request was unacceptable, often due to missing a required parameter.

Examples

curl -X GET -H "Authorization: XXXXX" "https://api.gitfax.com/items?serial_number=AAA1A34"

{
  "pagination": {
    "per_page": 25,
    "total_pages": 1,
    "total_objects": 1
  },
  "items": [
    {
      "id": 16,
      "trait_values": {
        "head_inlay": {
          value: "PRS Bird"
        },
        "fingerboard_material": {
          "value": "Ebony",
          "description": "Diospyros ebenum",
          "metadata": {
            "Source": "Africa"
          }
        }
      },
      "history": [
        {
          "changes": {
            "head_inlay": {
              "old": "Gretsch Horseshoe",
              "new": "PRS Bird"
            }
          },
          "created_at": "2016-12-07T08:03:57.732Z",
          "description": ""
        }
      ],
       "brand": {
         "id": 2,
         "name": "Fender",
         "approved": true,
         "type": "guitar"
       },
       "model": {
         "id": 239,
         "name": "Stratocaster",
         "approved": true,
         "brand_id": 2
       }
    }
  ]
}
      

Params

Param name Description
page
optional

Value:

Must be Integer.

per_page
optional

Value:

Must be Integer.

serial_number
optional

Value:

Must be String

rfid_value
optional

Value:

Must be String