{ appName : String
, resource : Urbit.Graph.Resource
}
A metadata resource
Metadata config
Variation in Permissions
ReaderComments
: Allow readers to comment, regardless of whether they can
write. (notebook, collections)MemberMetadata
: Allow members to add channels (groups)HostFeed
: Only host can post to group feedAdminFeed
: Only admins and host can post to group feedNoVariation
: No variationadd : { session : Urbit.Session, group : Urbit.Graph.Resource, resource : MetadataResource, metadata : { title : String, description : String, color : String, dateCreated : Time.Posix, creator : Urbit.Encoding.Atom.Atom, config : Config, picture : String, preview : Basics.Bool, hidden : Basics.Bool, vip : Vip } } -> Urbit.OutMsg
Add metadata.
appName
is usually set to "groups"
for modifying group metadata, and
"graph"
for modifying metadata of an individual graphcolor
is a hex color code without the "#" (i.e. "4d0a3b"
)remove : { session : Urbit.Session, group : Urbit.Graph.Resource, resource : MetadataResource } -> Urbit.OutMsg
Remove metadata.