Skip to main content
GET
/
models
Lista todos os modelos
curl --request GET \
  --url https://homolog.clubfix.com.br/webservice/models \
  --header 'Accept: <accept>' \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 9,
      "name": "iPhone 5s 16GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/9"
      }
    },
    {
      "id": 10,
      "name": "iPhone 6s 16GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/10"
      }
    },
    {
      "id": 11,
      "name": "iPhone 6s 32GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/11"
      }
    },
    {
      "id": 12,
      "name": "iPhone 6s 64GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/12"
      }
    },
    {
      "id": 13,
      "name": "iPhone 6s 128GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/13"
      }
    },
    {
      "id": 14,
      "name": "iPhone 6s Plus 16GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/14"
      }
    },
    {
      "id": 15,
      "name": "iPhone 6s Plus 64GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/15"
      }
    },
    {
      "id": 16,
      "name": "iPhone 6s Plus 128GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/16"
      }
    },
    {
      "id": 17,
      "name": "Iphone SE 16GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/17"
      }
    },
    {
      "id": 18,
      "name": "Iphone SE 64GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/18"
      }
    },
    {
      "id": 19,
      "name": "iPhone 7 32GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/19"
      }
    },
    {
      "id": 20,
      "name": "iPhone 7 128GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/20"
      }
    },
    {
      "id": 21,
      "name": "iPhone 7 256GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/21"
      }
    },
    {
      "id": 22,
      "name": "iPhone 7 PLUS 32GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/22"
      }
    },
    {
      "id": 23,
      "name": "iPhone 7 PLUS 128GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/23"
      }
    },
    {
      "id": 24,
      "name": "iPhone 7 PLUS 256GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/24"
      }
    },
    {
      "id": 25,
      "name": "iPhone 7 128GB RED",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/25"
      }
    },
    {
      "id": 26,
      "name": "iPhone 7 256GB RED",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/26"
      }
    },
    {
      "id": 27,
      "name": "iPhone 7 PLUS 128GB RED",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/27"
      }
    },
    {
      "id": 28,
      "name": "IPHONE 8 64GB ",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/28"
      }
    },
    {
      "id": 29,
      "name": "IPHONE 8 256GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/29"
      }
    },
    {
      "id": 30,
      "name": "IPHONE 8 PL 64GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/30"
      }
    },
    {
      "id": 31,
      "name": "IPHONE 8 PL 256GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/31"
      }
    },
    {
      "id": 32,
      "name": "iPhone 5s  16GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/32"
      }
    },
    {
      "id": 33,
      "name": "iPhone 5s 32GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/33"
      }
    },
    {
      "id": 34,
      "name": "iPhone 5s 64GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/34"
      }
    },
    {
      "id": 35,
      "name": "iPhone SE 32GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/35"
      }
    },
    {
      "id": 36,
      "name": "iPhone SE 64GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/36"
      }
    },
    {
      "id": 37,
      "name": "iPhone 6 16GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/37"
      }
    },
    {
      "id": 38,
      "name": "iPhone 6 32GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/38"
      }
    },
    {
      "id": 39,
      "name": "iPhone 64GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/39"
      }
    },
    {
      "id": 40,
      "name": "iPhone 128GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/40"
      }
    },
    {
      "id": 41,
      "name": "iPhone 6s 16GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/41"
      }
    },
    {
      "id": 42,
      "name": "iPhone 6s 64GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/42"
      }
    },
    {
      "id": 43,
      "name": "iPhone 6s 128GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/43"
      }
    },
    {
      "id": 44,
      "name": "iPhone 6s  256GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/44"
      }
    },
    {
      "id": 45,
      "name": "iPhone 6s Plus 16GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/45"
      }
    },
    {
      "id": 49,
      "name": "iPhone 7  32GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/49"
      }
    },
    {
      "id": 50,
      "name": "iPhone 7 128GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/50"
      }
    },
    {
      "id": 51,
      "name": "iPhone 7 256GB",
      "brand": {
        "id": 2,
        "name": "Apple",
        "meta": {
          "link": "https://homolog.clubfix.com.br/webservice/brands/2"
        }
      },
      "meta": {
        "link": "https://homolog.clubfix.com.br/webservice/models/51"
      }
    }
  ],
  "links": {
    "first": "https://homolog.clubfix.com.br/webservice/models?include=brand&per_page=100&filter%5Bname%5D=iphone&filter%5Bbrand%5D=2&page=1",
    "last": "https://homolog.clubfix.com.br/webservice/models?include=brand&per_page=100&filter%5Bname%5D=iphone&filter%5Bbrand%5D=2&page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "links": [
      {
        "url": null,
        "label": "&laquo; Anterior",
        "active": false
      },
      {
        "url": "https://homolog.clubfix.com.br/webservice/models?include=brand&per_page=100&filter%5Bname%5D=iphone&filter%5Bbrand%5D=2&page=1",
        "label": "1",
        "active": true
      },
      {
        "url": null,
        "label": "Próxima &raquo;",
        "active": false
      }
    ],
    "path": "https://homolog.clubfix.com.br/webservice/models",
    "per_page": 100,
    "to": 40,
    "total": 40
  }
}
Authorization
string
required
Token de autenticação do tipo Bearer obtido através do endpoint de login.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string
required

Query Parameters

include
string
page
string
per_page
string
filter[name]
string
filter[brand]
string

Response

200 - application/json

Filtrando modelos pelo nome e pela sua marca.

data
object[]
meta
object