mirror of
https://github.com/kennethreitz-archive/atom.git
synced 2026-06-05 07:16:13 +00:00
49 lines
707 B
Plaintext
49 lines
707 B
Plaintext
Details on implementation
|
|
|
|
|
|
|
|
|
|
/content/:uuid
|
|
--------------
|
|
|
|
slug = string
|
|
text = markdown
|
|
draft = bool
|
|
categories = ['kr/photos', 'kr/music']
|
|
title = string
|
|
tags= ['leica', 'review']
|
|
collections = []
|
|
|
|
|
|
/collections/:name
|
|
------------------
|
|
|
|
(kr, photo, music)
|
|
|
|
slug = string
|
|
|
|
/categories/:uuid
|
|
----------------
|
|
|
|
(expressions, exposures, experiments)
|
|
|
|
slug = string
|
|
parent = category_uuid
|
|
collection = collection_name
|
|
|
|
TODO: reconsider cagetories
|
|
what would a query for expressions of photo look like?
|
|
/kr?tagged=photo&tagged= --->
|
|
/content/?q=collections:kr AND tags:photo AND tags:photo
|
|
|
|
|
|
URL
|
|
----
|
|
|
|
/content/:uuid
|
|
/:collection?max=30
|
|
/:collection?tagged=leica
|
|
/:collection/:category
|
|
/curate/
|
|
|