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

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

Link to this section Summary

Link to this section Functions

Link to this function

actions_for(conn, resource_uri)

View Source

Specs

actions_for(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

commit_action(conn, resource_uri)

View Source

Specs

commit_action(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

create(conn, resource_uri)

View Source

Specs

create(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

creation_fields(conn, resource_uri)

View Source

Specs

creation_fields(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

delete(conn, resource_uri)

View Source

Specs

delete(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

export(conn, resource_uri)

View Source

Specs

export(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

field(conn, resource_uri, field_name)

View Source

Specs

field(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()
Link to this function

field_filters(conn, resource_uri)

View Source

Specs

field_filters(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

filters_for(conn, resource_uri)

View Source

Specs

filters_for(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

index(conn, resource_uri)

View Source

Specs

index(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

relatable(conn, resource_uri, relationship)

View Source

Specs

relatable(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()
Link to this function

reorder(conn, resource_uri)

View Source

Specs

reorder(Plug.Conn.t(), binary()) :: Plug.Conn.t()
Link to this function

show(conn, resource_uri, resource_id)

View Source

Specs

show(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()
Link to this function

update(conn, resource_uri, resource_id)

View Source

Specs

update(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()
Link to this function

update_fields(conn, resource_uri, resource_id)

View Source

Specs

update_fields(Plug.Conn.t(), binary(), binary()) :: Plug.Conn.t()