Work.types: Difference between revisions
Jump to navigation
Jump to search
w>Jguillo Created page with 'Returns the list of work types = Info = * '''Component name:''' work.types * '''Signature:''' No signature required * '''Timestamp:''' Ztime is not required = Parameters = * '…' |
w>Jguillo No edit summary |
||
Line 26: | Line 26: | ||
RESPONSE: | RESPONSE: | ||
<pre> | |||
<?xml version="1.0" encoding="UTF-8"?> | |||
<worktypes> | |||
<worktype> | |||
<code>model3D</code> | |||
<name>3D Models</name> | |||
</worktype> | |||
<worktype> | |||
<code>animation</code> | |||
<name>Animation</name> | |||
</worktype> | |||
<worktype> | |||
<code>architecture</code> | |||
<name>Architectural and engineering designs and plans</name> | |||
</worktype> | |||
<worktype> | |||
<code>article</code> | |||
<name>Article</name> | |||
</worktype> | |||
<worktype> | |||
<code>artistic</code> | |||
<name>Artistic: Other</name> | |||
</worktype> | |||
<worktype> | |||
<code>audio</code> | |||
<name>Audio: Other</name> | |||
</worktype> | |||
<worktype> | |||
<code>drama</code> | |||
<name>Choreography and drama</name> | |||
</worktype> | |||
<worktype> | |||
<code>cinema</code> | |||
<name>Cinematography</name> | |||
</worktype> | |||
<worktype> | |||
<code>comic</code> | |||
<name>Comic</name> | |||
</worktype> | |||
<worktype> | |||
<code>drawing</code> | |||
<name>Drawing, Painting</name> | |||
</worktype> | |||
<worktype> | |||
<code>education</code> | |||
<name>Education, Informative</name> | |||
</worktype> | |||
<worktype> | |||
<code>multimedia</code> | |||
<name>Electronic pages and Multimedia</name> | |||
</worktype> | |||
<worktype> | |||
<code>literature</code> | |||
<name>Literary: Other</name> | |||
</worktype> | |||
<worktype> | |||
<code>music</code> | |||
<name>Music</name> | |||
</worktype> | |||
<worktype> | |||
<code>narrative</code> | |||
<name>Narrative, Essay</name> | |||
</worktype> | |||
<worktype> | |||
<code>photo</code> | |||
<name>Photography</name> | |||
</worktype> | |||
<worktype> | |||
<code>podcast</code> | |||
<name>Podcast</name> | |||
</worktype> | |||
<worktype> | |||
<code>project</code> | |||
<name>Project: Other</name> | |||
</worktype> | |||
<worktype> | |||
<code>model</code> | |||
<name>Scale Model</name> | |||
</worktype> | |||
<worktype> | |||
<code>sculpture</code> | |||
<name>Sculpture</name> | |||
</worktype> | |||
<worktype> | |||
<code>software</code> | |||
<name>Software and Database designs</name> | |||
</worktype> | |||
<worktype> | |||
<code>technical</code> | |||
<name>Technical</name> | |||
</worktype> | |||
<worktype> | |||
<code>video</code> | |||
<name>Video: Other</name> | |||
</worktype> | |||
</worktypes> | |||
</pre> | |||
[[Category:API component]] | [[Category:API component]] |
Revision as of 08:26, 5 May 2010
Returns the list of work types
Info
- Component name: work.types
- Signature: No signature required
- Timestamp: Ztime is not required
Parameters
- locale: Locale for work type names
* Required parameter
Returns
- worktypes
- worktype
- code: Work type code
- name: Work type name
- worktype
Sample
REQUEST:
https://api.safecreative.org/v2/ ?component=work.types &locale=en
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?> <worktypes> <worktype> <code>model3D</code> <name>3D Models</name> </worktype> <worktype> <code>animation</code> <name>Animation</name> </worktype> <worktype> <code>architecture</code> <name>Architectural and engineering designs and plans</name> </worktype> <worktype> <code>article</code> <name>Article</name> </worktype> <worktype> <code>artistic</code> <name>Artistic: Other</name> </worktype> <worktype> <code>audio</code> <name>Audio: Other</name> </worktype> <worktype> <code>drama</code> <name>Choreography and drama</name> </worktype> <worktype> <code>cinema</code> <name>Cinematography</name> </worktype> <worktype> <code>comic</code> <name>Comic</name> </worktype> <worktype> <code>drawing</code> <name>Drawing, Painting</name> </worktype> <worktype> <code>education</code> <name>Education, Informative</name> </worktype> <worktype> <code>multimedia</code> <name>Electronic pages and Multimedia</name> </worktype> <worktype> <code>literature</code> <name>Literary: Other</name> </worktype> <worktype> <code>music</code> <name>Music</name> </worktype> <worktype> <code>narrative</code> <name>Narrative, Essay</name> </worktype> <worktype> <code>photo</code> <name>Photography</name> </worktype> <worktype> <code>podcast</code> <name>Podcast</name> </worktype> <worktype> <code>project</code> <name>Project: Other</name> </worktype> <worktype> <code>model</code> <name>Scale Model</name> </worktype> <worktype> <code>sculpture</code> <name>Sculpture</name> </worktype> <worktype> <code>software</code> <name>Software and Database designs</name> </worktype> <worktype> <code>technical</code> <name>Technical</name> </worktype> <worktype> <code>video</code> <name>Video: Other</name> </worktype> </worktypes>