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.
| Code | Description |
|---|---|
| 400 | The request was unacceptable, often due to missing a required parameter. |
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
}
}
]
}
| Param name | Description |
|---|---|
|
page optional |
Validations:
|
|
per_page optional |
Validations:
|
|
serial_number optional |
Validations:
|
|
rfid_value optional |
Validations:
|