AgentDbWeb.Controllers.DocumentController (agent_db v0.1.0)

Copy Markdown View Source

Documents over HTTP.

Renders what the store answers and nothing more: a URI that is not there is a 404, a request the store cannot serve is a 422 with the reason it gave, and anything else is a 500 for the transport to log rather than a store detail handed to a client.

Summary

Functions

create(conn, map)

delete(conn, map)

index(conn, params)

show(conn, map)

update(conn, map)