View Source ExTeal.Api.ResourceResponder (ExTeal v0.27.0)

Hands requests of a certain type to the appropriate resource, and returns the resources response as serialized json

Summary

Functions

Link to this function

actions_for(conn, resource_uri)

View Source
@spec actions_for(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

commit_action(conn, resource_uri)

View Source
@spec commit_action(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

create(conn, resource_uri)

View Source
@spec create(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

creation_fields(conn, resource_uri)

View Source
@spec creation_fields(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

delete(conn, resource_uri)

View Source
@spec delete(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

export(conn, resource_uri)

View Source
@spec export(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

field(conn, resource_uri, field_name)

View Source
@spec field(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()
Link to this function

field_filters(conn, resource_uri)

View Source
@spec field_filters(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

filters_for(conn, resource_uri)

View Source
@spec filters_for(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

index(conn, resource_uri)

View Source
@spec index(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

relatable(conn, resource_uri, relationship)

View Source
@spec relatable(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()
Link to this function

reorder(conn, resource_uri)

View Source
@spec reorder(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

show(conn, resource_uri, resource_id)

View Source
@spec show(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()
Link to this function

update(conn, resource_uri, resource_id)

View Source
@spec update(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()
Link to this function

update_fields(conn, resource_uri, resource_id)

View Source
@spec update_fields(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()