Query doi
action_stats()
¶
Returns action statistics in JSON format depending on the request parameters. The return will be a list with a dict representing the QueryDOIStat as each element.
Returns:
| Type | Description |
|---|---|
|
a JSON stringified list of dicts |
Source code in ckanext/query_dois/routes/query_doi.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | |
doi_stats()
¶
Returns statistics in JSON format depending on the request parameters. The return will be a list with a dict representing the QueryDOI as each element.
This endpoint currently only supports filtering on the resource_id.
Returns:
| Type | Description |
|---|---|
|
a JSON stringified list of dicts |
Source code in ckanext/query_dois/routes/query_doi.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | |
landing_page(data_centre, identifier)
¶
Renders the landing page for the given DOI.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data_centre
|
the data centre prefix |
required | |
identifier
|
the DOI identifier |
required |
Returns:
| Type | Description |
|---|---|
|
the rendered landing page |
Source code in ckanext/query_dois/routes/query_doi.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | |