Overview
The Items API provides endpoints for managing football memorabilia in your collection. Items include jerseys, shorts, outerwear, tracksuits, pants, and other collectibles. Base URL:/api/items/
Authentication: Token authentication required for all endpoints.
Interactive API Documentation
Full interactive API documentation for item endpoints is available at
/api/docs/ when running the FootyCollect server. The Swagger UI interface allows you to explore and test all endpoints with real-time responses.OpenAPI Schema
The complete OpenAPI schema for item endpoints is available at:Item Types
FootyCollect supports the following item types:- Jersey - Football shirts/jerseys
- Shorts - Football shorts
- Outerwear - Hoodies, jackets, windbreakers, crewnecks
- Tracksuit - Training tracksuits
- Pants - Training pants
- Other - Pins, hats, caps, socks, and other memorabilia
Common Fields
All items share these base fields from the BaseItem model (seefootycollect/collection/models.py:180-364):
RESTful Conventions
Item endpoints follow standard RESTful conventions:GET /api/items/- List all itemsPOST /api/items/- Create a new itemGET /api/items/{id}/- Retrieve a specific itemPUT /api/items/{id}/- Full update of an itemPATCH /api/items/{id}/- Partial update of an itemDELETE /api/items/{id}/- Delete an item
Sample Request
Sample Response
Jersey-Specific Fields
Jerseys have additional fields (seefootycollect/collection/models.py:379-506):
Learn More
OpenAPI Documentation
Access the full interactive API documentation with request/response examples and the ability to test endpoints directly.
OpenAPI Schema
Download the complete OpenAPI specification for integration with API clients and code generation tools.