cdm-dataportal / modules / cdm_dataportal / cdm_api / webservice_uris.php @ b5e773ef
History | View | Annotate | Download (2.79 KB)
1 |
<?php
|
---|---|
2 |
|
3 |
define('CDM_WS_PORTAL_MEDIA', 'portal/media'); |
4 |
|
5 |
define('CDM_WS_MEDIA_METADATA', 'media/$0/metadata'); |
6 |
|
7 |
define('CDM_WS_NAME', 'name'); |
8 |
|
9 |
define('CDM_WS_NAME_TYPEDESIGNATIONS', 'name/$0/typeDesignations'); |
10 |
|
11 |
define('CDM_WS_PORTAL_TAXON_NAMETYPEDESIGNATIONS', 'portal/taxon/$0/nameTypeDesignations'); |
12 |
|
13 |
define('CDM_WS_PORTAL_TAXON_DESCRIPTIONS', 'portal/taxon/$0/descriptions'); |
14 |
|
15 |
define('CDM_WS_PORTAL_NAME_DESCRIPTIONS', 'portal/name/$0/descriptions'); |
16 |
|
17 |
define('CDM_WS_REFERENCE', 'reference'); |
18 |
|
19 |
define('CDM_WS_NOMENCLATURAL_REFERENCE_CITATION', 'reference/$0/nomenclaturalCitation'); |
20 |
|
21 |
define('CDM_WS_REFERENCE_AUTHORTEAM', 'reference/$0/authorTeam'); |
22 |
|
23 |
define('CDM_WS_PORTAL_TAXON_FIND', 'portal/taxon/find'); |
24 |
|
25 |
define('CDM_WS_PORTAL_TAXON', 'portal/taxon'); |
26 |
|
27 |
define('CDM_WS_NAME_NAMECAHE', 'name/$0/nameCache'); |
28 |
|
29 |
define('CDM_WS_PORTAL_TAXON_SYNONYMY', 'portal/taxon/$0/synonymy'); |
30 |
|
31 |
define('CDM_WS_PORTAL_TAXON_RELATIONS', 'portal/taxon/$0/taxonRelationships'); |
32 |
|
33 |
define('CDM_WS_PORTAL_TAXON_NAMERELATIONS', 'portal/taxon/$0/nameRelationships'); |
34 |
|
35 |
define('CDM_WS_DESCRIPTIONELEMENT', 'descriptionelement/$0'); |
36 |
|
37 |
|
38 |
/**
|
39 |
* @parameters $0 : the taxon uuid
|
40 |
*
|
41 |
* @returns the taxon which is the accepted synonym for the taxon given as
|
42 |
* parameter taxonUuid. If the taxon specified by taxonUuid is itself the
|
43 |
* accepted taxon, this one will be returned.
|
44 |
*/
|
45 |
define('CDM_WS_PORTAL_TAXON_ACCEPTED', 'portal/taxon/$0/accepted'); |
46 |
|
47 |
define('CDM_WS_PORTAL_TAXON_MEDIA', 'portal/taxon/$0/media/$1/$2'); |
48 |
define('CDM_WS_PORTAL_TAXON_SUBTREE_MEDIA', 'portal/taxon/$0/subtree/media/$1/$2'); |
49 |
|
50 |
/**
|
51 |
*
|
52 |
* Gets the root nodes of the taxonomic concept tree for the concept
|
53 |
* reference specified by the secUuid parameter.
|
54 |
*
|
55 |
* stub: treenode_root
|
56 |
*/
|
57 |
define('CDM_WS_PORTAL_TAXONOMY', 'portal/taxontree/'); |
58 |
|
59 |
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES', 'portal/taxontree/$0/childNodes/'); |
60 |
|
61 |
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES_AT_RANK', 'portal/taxontree/$0/childNodesAt/$1/'); |
62 |
|
63 |
define('CDM_WS_PORTAL_TAXONOMY_CHILDNODES_OF_TAXON', 'portal/taxontree/$0/childNodesOf/$1/'); |
64 |
|
65 |
define('CDM_WS_PORTAL_TAXONOMY_PATH_FROM', 'portal/taxontree/$0/pathFrom/$1'); |
66 |
|
67 |
define('CDM_WS_PORTAL_TAXONOMY_PATH_FROM_TO_RANK', 'portal/taxontree/$0/pathFrom/$1/toRank/$2'); |
68 |
|
69 |
|
70 |
define('CDM_WS_PORTAL_TAXONOMY_MEDIA', 'portal/taxontree/$0/$1'); |
71 |
|
72 |
define('CDM_WS_TERMVOCABULARY', 'term/$0'); |
73 |
|
74 |
define('CDM_WS_TERM_COMPARE', 'term/$0/compareTo/$1'); |
75 |
|
76 |
define('CDM_WS_TDWG_LEVEL', 'term/tdwg/$0'); |
77 |
|
78 |
/**
|
79 |
* returns FeatureTrees that are stored in this community store
|
80 |
*
|
81 |
*/
|
82 |
define('CDM_WS_FEATURETREE', 'featuretree/$0'); |
83 |
|
84 |
//define('CDM_WS_FEATURETREE_CHILDREN', 'featuretree/$0/children');
|
85 |
|
86 |
define('CDM_WS_FEATURETREES', 'featuretree'); |
87 |
|
88 |
define('CDM_WS_GEOSERVICE_DISTRIBUTIONMAP', 'geo/map/distribution/$0'); |