-
Notifications
You must be signed in to change notification settings - Fork 0
Reference API Collections
Collections are personal research sets — named groups of artifacts that a user has curated. They are the only part of the API that supports write operations.
GET /collections
Returns all collections.
Response
{
"items": [
{ "id": 1, "name": "Ur III Administrative", "description": "...", "tablet_count": 42 }
]
}GET /collections/random
Returns a random sample of collections. Useful for discovery UI.
Query parameters
| Parameter | Type | Description |
|---|---|---|
limit |
integer | Number of collections to return (default: 3) |
GET /collections/{collection_id}
Full metadata for a single collection.
GET /collections/{collection_id}/tablets
Paginated list of artifacts in a collection.
Query parameters
| Parameter | Type | Description |
|---|---|---|
page |
integer | Page number, 1-based (default: 1) |
per_page |
integer | Results per page (default: 24) |
POST /collections
Request body
{ "name": "My Collection", "description": "Optional description" }Response: the created collection object.
PUT /collections/{collection_id}
Request body
{ "name": "Renamed", "description": "Updated description" }Returns 404 if the collection does not exist.
DELETE /collections/{collection_id}
Response: { "ok": true }
POST /collections/{collection_id}/tablets
Request body
{ "p_numbers": ["P227657", "P123456"] }Response: { "added": 2 } — the count of rows inserted (duplicates are ignored).
DELETE /collections/{collection_id}/tablets/{p_number}
Response: { "ok": true }
Source: github.com/wittkensis/glintstone · Issues · Edit this wiki
Start here
Getting Started
Overview
Data Model
- Data Sources
- Data Quality
- Data Issues
- Import Pipeline Guide
- ML Integration
- Citation Pipeline Summary
Reference — Data Model
Reference — API
Reference — MCP
Opportunities
Personas
Project
Research