diff --git a/API.md b/API.md index 3e139da3..1257c14c 100644 --- a/API.md +++ b/API.md @@ -64,6 +64,7 @@ 3. [Resources](#resources) - [User](#user) + - [Micro user](#micro-user) - [Tag category](#tag-category) - [Tag](#tag) - [Post](#post) @@ -1427,6 +1428,11 @@ A single user. - ``: the URL to the avatar. +## Micro user +**Description** + +A [user resource](#user) stripped down to `name` and `avatarUrl` fields. + ## Tag category **Description** @@ -1584,7 +1590,7 @@ One file together with its metadata posted to the site. to the user by the web client. - ``: a list of post annotations, serialized as list of [note resources](#note). -- ``: who created the post, serialized as [user resource](#user). +- ``: who created the post, serialized as [micro user resource](#micro-user). - ``: the collective score (+1/-1 rating) of the given post. - ``: the score (+1/-1 rating) of the given post by the authenticated user. @@ -1595,7 +1601,7 @@ One file together with its metadata posted to the site. - ``: how many times has the post been featured. - ``: the last time the post was featured, formatted as per RFC 3339. -- ``: list of users, serialized as [user resources](#user). +- ``: list of users, serialized as [micro user resources](#micro-user). - ``: whether the post uses custom thumbnail. - ``: subsidiary to ``, used to tell exact content format; useful for `