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 = * '…' |
m 4 revisions imported |
||
(3 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
* '''Signature:''' No signature required | * '''Signature:''' No signature required | ||
* '''Timestamp:''' Ztime is not required | * '''Timestamp:''' Ztime is not required | ||
* '''API trust level''': Public | |||
= Parameters = | = Parameters = | ||
Line 17: | Line 18: | ||
*** '''name''': Work type name | *** '''name''': Work type name | ||
= | = Example = | ||
REQUEST: | REQUEST: | ||
Line 26: | Line 27: | ||
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]] |
Latest revision as of 08:07, 7 May 2021
Returns the list of work types
Info
- Component name: work.types
- Signature: No signature required
- Timestamp: Ztime is not required
- API trust level: Public
Parameters
- locale: Locale for work type names
* Required parameter
Returns
- worktypes
- worktype
- code: Work type code
- name: Work type name
- worktype
Example
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>