Sugar Network/Resources: Difference between revisions
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
|} | |} | ||
'''Resource. | '''Resource.author''' | ||
A | A list of authors working on the corresponding resource. List items are dictionaries with the following keys: | ||
* | * ''guid''<br>Author's guid in the Sugar Network; might be omitted if particular author is not registered in the Sugar Network; | ||
* ''name''<br>Full author's name; | |||
* ''role''<br>An integer which is a bit-wise ORed value of the following constants: | |||
** ''1'', author is registered in the Sugar Network (and ''guid'' key is set); | |||
** ''2'', author is the original author of the corresponding resource; if it is not set, user is only a maintainer, e.g., an uploader of a book which has its original authors. | |||
'''Resource.layers''' | '''Resource.layers''' | ||