This is an old revision of the document!
To create a new resource, use the command core/create_resource:
svc=core/create_resource¶ms={"creatorId":<long>, "name":<text>, "dataFlags":<uint>}
Name | Description |
---|---|
creatorId | ID of a user who will be assigned a creator for a new resource |
name | name of a new resource (at least 4 characters) |
dataFlags | data flags for the response (see Data format: Resources) |
{ "item":{ /* resource created */ ... }, "flags":<uint> /* applied data flags */ }
You can find the format of “item” in the chapter Data format: Resources.
|