Copyright © 2010 Arjan Scherpenisse
Authors: Arjan Scherpenisse (arjan@scherpenisse.net).
create_empty/2 | Create an empty, non-authoritative resource, with the given uri. |
create_empty/3 | |
import/2 | Import given resource. |
create_empty(Uri::string() | binary(), Context::z:context()) -> {ok, m_rsc:resource_id()} | {error, duplicate_uri | term()}
Create an empty, non-authoritative resource, with the given uri.
create_empty(Uri::string() | binary(), Props::m_rsc:props_all(), Context::z:context()) -> {ok, m_rsc:resource_id()} | {error, duplicate_uri | term()}
import(RscImport::map() | list(), Context::z:context()) -> {ok, m_rsc:resource_id()} | {error, atom()}
Import given resource. resource must already exist and be non-authoritative. URIs must match.
Generated by EDoc