Response containing a list of ContentRepository Fragments
name | data type | constraints | description |
---|---|---|---|
items | array of ContentRepositoryFragmentModel | ContentRepository Fragments in the list | |
messages | array of Message | Messages contained in the response (which should be shown to the user) | |
hasMoreItems | boolean | required boolean | True if more items are available to get (if paging was used) |
responseInfo | ResponseInfo | ||
numItems | number | required int | Get total number of items available |
perms | map of array of Permission | User permissions on the returned items, if applicable and requested |
Example
{ "items" : [ { "globalId" : "0737.82ae915c-059c-11f0-ae44-482ae36fb1c5", "id" : 12345, "name" : "..." }, { "globalId" : "0737.34f95a21-0304-11f0-ae44-482ae36fb1c5", "id" : 12345, "name" : "..." } ], "messages" : [ { }, { } ], "hasMoreItems" : true, "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." }, "numItems" : 12345, "perms" : { "property1" : [ "publish", "viewform" ], "property2" : [ "create", "view" ] } }