Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (35 sloc) 0.885 kB
%% the rsc_export() format, as returned by m_rsc:export/2
[
{id, 112233}, % Local ID
%% Globally unique resource URI
{uri, <<"http://www.example.com/id/112233">>},
{rsc,
%% Resource properties, e.g.:
[{title, <<"Foo">>},
...
]
},
{medium,
%% Medium properties, if the item has an embedded medium record.
},
{category,
%% Category properties, if the item is a category.
},
{group,
%% Group access properties (if item is a group)
},
{edges,
%% Edges from this item to other items
[
% Every edge can contain:
[ {id, 32432423} % local edge id
{object_id, 223344}, % local object id
{object_uri, <<"http://...">>},
{object_title, <<"...">>},
{predicate_id, 22}, % local predicate id
{predicate_uri, <<"http://...">>},
{predicate_title, <<"...">>},
]
]
}
]
Jump to Line
Something went wrong with that request. Please try again.